This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

routing that avoids certain POIs

0

Does anyone know of an OSM-based routing service, where you can choose certain POIs from OSM as "things to avoid". I recently saw an "art project" with the last pedestrian route you can take through a larger city where you meet no security cameras. Would be cool to be able to do that kind of thing in a router.

asked 24 Oct '17, 09:07

joost%20schouppe's gravatar image

joost schouppe
3.4k245087
accept rate: 12%


One Answer:

2

Have a look at the crossing Dublin without passing by a pub puzzle for inspiration. The latest solution using graphhopper looks simple enough: use overpass to download a list of no-go POIs, generate new routing weights using that list, and ask for a route using those weights :)

answered 24 Oct '17, 10:27

Vincent%20de%20Phily's gravatar image

Vincent de P... ♦
17.3k18152249
accept rate: 19%

edited 24 Oct '17, 10:57

Source code available on GitHub .