GraphHopper.com | Forum | GitHub | Maps | Blog

Decode encoded points in path


#1

Hi there. I’m trying to find decoder for encoded points.

You’ll need a special handling for the decoding of this string on the client-side. We provide open source code code in Java and JavaScript, see the clients section

https://graphhopper.com/api/1/docs/routing/


#2

The official clients do this for you:


If you need the source to implement this for other languages like python - have a look e.g. here: https://github.com/graphhopper/graphhopper/blob/master/web-api/src/main/java/com/graphhopper/http/WebHelper.java#L52
or here: https://github.com/graphhopper/directions-api-js-client/blob/master/src/GHUtil.js#L27


#3

Thanks for quick response.

We’re building an app containing navigator feature and planning to use your routing API.


#4

Btw: also have a look into the recently developed SDK that’s a big helper at least for developing navigation applications on Android https://github.com/graphhopper/graphhopper-navigation-android


#5

Thanks, I’ll definitely check it out.