Custom models with "tags" (like scenic)

hey there! So looking at Examples For Customizable Routing - GraphHopper Directions API and reading some of the code I’m trying to create a custom route that prefers scenic flagged highways (Key:scenic - OpenStreetMap Wiki) … is there a way to add “key/tag” finding for the json in custom tags?

Or is there a way to achieve the above (that I’m missing?) on regular java code? (an example would be awesome)



Take a look at how we added the track type encoded value here. Adding one for the scenic tag should be very similar.

ooh nice… ok, let me take a peek at it…

Powered by Discourse