I’m in the US and want to build an app that helps trans users find routes that minimize the risk of violence. Can ORS help me implement any of these strategies?
prioritizing roads that usually have more traffic over roads that are less popular
prioritizing interstates or state highways over locally maintained roads
prioritizing routes that pass through points within a certain radius of big cities
prioritizing routes based on how they pass through some kind of heatmap, like county voting data
Or, is there a way I can get a few reasonable candidate routes and enough info about each to look up each segment’s OSM data and do the rest of the work on my own?
I’ve read the directions documentation and played around with the frontend on maps.openrouteservice.org, but I wasn’t able to find any options that would help. Sorry if I missed something or if this is info I should have been able to find on my own.
With the current version of ORS this would not be possible out of the box. However, you may extend the ORS backend, which is open source. Here are some hints about what would be needed:
Basically you would need to create a new RoutingProfile derived from one of the foot profiles (I guess you were talking about pedestrians).
prioritizing roads that usually have more traffic over roads that are less popular
Some data to classify the popularity of roads would be needed here.
prioritizing interstates or state highways over locally maintained roads
Maybe this could be derived from some attributes in the OSM-data, such as the road classification in the highway-tag.
prioritizing routes that pass through points within a certain radius of big cities
This would require a new feature of ORS.
prioritizing routes based on how they pass through some kind of heatmap, like county voting data
Here one might use approaches similar to elevation, which is considered when the routing graph is exported from OSM.