[GraphHopper] GraphHopper HTTP API gives the coordinates only in encrypted form
Peter
graphhopper at gmx.de
Wed Feb 25 07:27:24 UTC 2015
Hi Kate,
you should upgrade to 0.3 or later, why did you rely on this old
version? The git repo only has documentation for those versions:
https://github.com/graphhopper/graphhopper/blob/0.3/docs/web/api-doc.md
https://github.com/graphhopper/graphhopper/blob/master/docs/web/api-doc.md
Then it should be the parameter you are already using, still strange
that the change to encodedPolyline wasn't successful. Maybe you checkout
this old version you need from git and rebuild from scratch.
Regards,
Peter.
On 25.02.2015 07:24, Titova Ekaterina wrote:
> Hello!
> I have running GraphHopper (v.0.2) using jetty on my server for solve routing tasks. Request to the server gives the coordinates in encrypted form only. The key "points_encoded=false" in the request is ignored. Example query is "http://localhost:8080/api/route?point=53.409532%2C58.996582&point=53.618579%2C55.964355&locale=ru-RU&type=json&points_encoded=false".
> Please tell how to get coordinates as a lat lon format.
> I changed the file ghrequest.js in war archive using DJ Java Decompiler (the line "this.encodedPolyline = false;"), but this does not solve the problem.
>
More information about the GraphHopper
mailing list