itinero / routing-api

An API based on Itinero.
MIT License
13 stars 16 forks source link

Identify the Notes #15

Open craniodev opened 6 years ago

craniodev commented 6 years ago

On a route how can I identify the Notes, like this? To route I used this:

var result = instance.Calculate(profileName, coordinates);

xivk commented 6 years ago

This is non-trivial but possible. You can build a routerdb that keeps node id's now. Once you have calculate a route you can get the original node id's per vertex.

I don't have a sample ready to go that does this and not a lot of time to build this but if you're up for it I could give you some more pointers on how to get started.

craniodev commented 6 years ago

I would like some more information on how to get started. thank you