[GraphHopper] Route instructions without street names

Peter graphhopper at gmx.de
Fri Oct 24 17:03:08 UTC 2014


Emux,

I assume you are using the Java API (or did you meant the web API?) then
you call instruction.getName for the street name and instruction.getSign
for the sign etc

Where you get every instruction via:
instruction = ghResponse.getInstructions().get(index);

Does this answer your question :) ?

Peter.


On 24.10.2014 18:54, Emux wrote:
> Hi Peter,
>
> Right now GraphHopper's route instructions are taken from the
> translation txt files inside the library (package
> com.graphhopper.util), enriched with the street names.
> That's the way I use them for simple viewing purposes.
>
> But I need also the instructions without the street names, so I have
> implemented my own set.
> I'm just wondering if this is possible from the API.
>
> -- 
> Emux
> Cruiser <http://wiki.openstreetmap.org/wiki/Cruiser> - Atlas
> <http://wiki.openstreetmap.org/wiki/Atlas_%28navigation_application%29>
>
>
> _______________________________________________
> GraphHopper mailing list
> GraphHopper at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/graphhopper

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20141024/2e8716d1/attachment.html>


More information about the GraphHopper mailing list