Overpass Route Coordinates Wrong Order?

Hm, I haven’t done much work with Google Maps API so I can’t really comment.

Here’s what I did that worked:

  1. Run the query you’ve shared on https://overpass-turbo.eu/
  2. Used the “Export” button in top left and then copied the data as GeoJSON (first option from top in the dialog that appears)
  3. Pasted that GeoJSON into https://geojson.io/ to visualize it and got the following:

So it seems like data is there, it’s returned by Overpass correctly, and it’s a problem somewhere in your visualization layer.

As far as I can tell, it doesn’t show up twice in the Overpass JSON response. For an example you can search the JSON for way 30108650 (Way: ‪Eppinghofer Straße‬ (‪30108650‬) | OpenStreetMap) which is traversed by NE1 twice. The Overpass JSON response contains it only once, and so does the GeoJSON-format export.

1 Like