Look into DataFlagEncoder
, how you can read and save additional information. Especially the handleWayTags
and defineWayBits
methods. You can create your own flagEncoder to save these information. Also you can take them into account with your own weighting.
If you have any more questions, just write them down.
Also have a look here: Load custom weights from multiple external sources