Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Response as GeoJSON #1651
@manueltimita did you test this for leaflet or some different client?
@nilsnolde would you have time to try this for your use case? Before providing a new format in the public JSON API I would like to make sure it works for at least two different use cases (i.e. clients). I mean GeoJSON is standardized and everything but just to make sure it works...
I don't have a graphopper installation, but I did check the GeoJSON tests output against the standard and saw no problems. Here's an example of how to check for yourself if you need to:
Test 1: Run https://github.com/manueltimita/graphhopper/blob/response_as_geojson/web/src/test/java/com/graphhopper/http/isochrone/IsochroneResourceTest.java#L152-L172 and copy/paste the console output (
Test 2 (multiple buckets):
Here is what
If you like, and have an environment in which you can give me temporary access to a live endpoint that has this branch, I'm happy to run some more extensive tests.