10m instead of 5m in router nodes_for_point
This commit is contained in:
parent
64eaae1c9d
commit
0ccb68b95f
1 changed files with 1 additions and 1 deletions
|
@ -603,7 +603,7 @@ class RouterAltitudeArea:
|
|||
for node in self.nodes:
|
||||
node = all_nodes[node]
|
||||
line = LineString([(node.x, node.y), (point.x, point.y)])
|
||||
if line.length < 5 and not self.clear_geometry_prep.intersects(line):
|
||||
if line.length < 10 and not self.clear_geometry_prep.intersects(line):
|
||||
nodes[node.i] = (None, None)
|
||||
if not nodes:
|
||||
nearest_node = min(tuple(all_nodes[node] for node in self.nodes),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue