question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Geojson erroneous (very wide isochrone) with a French city

See original GitHub issue

Hello,

I’m thoroughly trying out your API to use the pro version in our project.

When requesting a 1800s isochrone in Rennes (lon:-1.681632::lat:48.113844), France with the geojson formatter the returned result is incorrect.

The request returns between 33 000 and 65 000 lines of geojson (randomly) - an isochrone including a sixth of France and most of the Atlantic Ocean.

Here’s the request:

https://service.route360.net/france/v1/polygon?cfg=%7B%22sources%22%3A%5B%7B%22lat%22%3A48.109784%2C%22lng%22%3A-1.679091%2C%22id%22%3A%22%22%2C%22tm%22%3A%7B%22car%22%3A%7B%7D%7D%7D%5D%2C%22elevation%22%3Atrue%2C%22polygon%22%3A%7B%22serializer%22%3A%22geojson%22%2C%22values%22%3A%5B1800%5D%7D%7D&key=YOUR_KEY

In the result payload, the suspicious area:

    "properties": {
           "area": 1667162164.307389,
           "time": 1800
         }

A pic of the result imported into QGIS: bug_rennes_route360

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
hollburgcommented, Jun 15, 2016

Ok. Thanks for pointing this out @kofronpi . The GeoJSON feature is very new and obviously hasn’t been tested enough. I’ll look into this asap.

1reaction
gerbsencommented, Jun 14, 2016

oh wow. that’s probably not all reachable. 😃 we look into it! fyi the lat/lngs from the URL and Rennes are not identical. Which are the wrong ones? Does this also happen with the normal json result or only with geojson?

@hollburg could you have a look

Read more comments on GitHub >

github_iconTop Results From Across the Web

GeoJSON is not properly formatted · Issue #23 · route360/r360-js
GeoJSON returned by the server is invalid and does not pass lint tests on ... Geojson erroneous (very wide isochrone) with a French...
Read more >
Isochrones Map (Travel Time Map), Isodistances Map and ...
An isochrone is defined as a line drawn on a map connecting points at which something occurs or arrives at the same time....
Read more >
Looking for GeoJSON describing French departments?
Someone exported French cities, departments and regions data as geojson, from the official National Geographic Institute (IGN).
Read more >
GraphHopper Directions API: Documentation
With the GraphHopper Directions API you can integrate A-to-B route planning, turn-by-turn navigation, route optimization, isochrone calculations and other ...
Read more >
mapboxapi: R Interface to 'Mapbox' Web Services
Description Includes support for 'Mapbox' Navigation APIs, including directions, isochrones, and route optimization; the Search API for forward ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found