Ticket #205 (new bug report)

Opened 6 months ago

driving distance wrapper is not correctly formed

Reported by: woodbri Owned by: somebody
Priority: major Milestone:
Component: DrivingDistance Version:
Keywords: Cc:

Description

the distance argument is the max cost cut-off from the Dijkstra's search, but it is also being used to create the BBOX() for selecting which edges to construct the graph with. This is wrong! Cost is not related to or in the same units as the vertex coordinates.

The simplest fix for this would be to pass two arguments to the driving distance function:

distance === maximum cost cut-off for the search buffer === maximum spatial units to expand the source x,y by.

Note: See TracTickets for help on using tickets.