pgRouting

Ticket #114 (closed bug report: fixed)

Opened 6 months ago

Last modified 6 months ago

driving_distance ignores directed parameter

Reported by: stefan Assigned to: anton
Priority: major Milestone:
Component: DrivingDistance Version:
Keywords: Cc:

Description

hi,

the driving_distance() function does not work correctly if called with the options directed = true, and has_reverse_cost = true, where as the shortest_path() function works correctly called with the same options

to me the reason seems to be, that in boost_drivedist.cpp a typedef adjacency_list < listS, vecS, *undirectedS*, Vertex, Edge > graph_t; is created whereas in boost_wrapper.cpp a typedef adjacency_list < listS, vecS, *directedS*, no_property, Vertex> graph_t; is created.

stefan

Change History

05/28/08 10:21:59 changed by anton

  • owner changed from somebody to anton.
  • status changed from new to assigned.

05/28/08 14:25:05 changed by anton

  • status changed from assigned to closed.
  • resolution set to fixed.

Thanks for the report. I changed properties to directedS. Please check.