You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, get_node_ids can be called with the optional mapping_distance parameter, but set_pois does not use this parameter at https://github.com/UDST/pandana/blob/dev/pandana/network.py#L680. This results in very far-away POI nodes always being mapped to the closest point in the network.
Mostly this is an issue in cities with waterways or islands. All the POIs on the other side of the waterway or islands will be mapped to closest network point, no matter how far away from the network they are.
Therefore, would be nice to be able to specify mapping_distance when setting POIs, so POIs that are too far will be discarded from the POI set.
Currently, this results in spurious zero distances to lots of POIs at the outermost nodes in e.g. a cape, since all the POIs in any islands will be mapped to this point:
Network data (optional)
Any network that has POIs far from network nodes.
The text was updated successfully, but these errors were encountered:
Rikuoja
changed the title
Allow specifying mapping distance for POIS
Allow specifying mapping distance for POIs
Aug 30, 2021
Description of the bug
Currently,
get_node_ids
can be called with the optionalmapping_distance
parameter, butset_pois
does not use this parameter at https://github.com/UDST/pandana/blob/dev/pandana/network.py#L680. This results in very far-away POI nodes always being mapped to the closest point in the network.Mostly this is an issue in cities with waterways or islands. All the POIs on the other side of the waterway or islands will be mapped to closest network point, no matter how far away from the network they are.
Therefore, would be nice to be able to specify
mapping_distance
when setting POIs, so POIs that are too far will be discarded from the POI set.Currently, this results in spurious zero distances to lots of POIs at the outermost nodes in e.g. a cape, since all the POIs in any islands will be mapped to this point:

Network data (optional)
Any network that has POIs far from network nodes.
The text was updated successfully, but these errors were encountered: