This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Different Results on Public vs Local Overpass Server

0

I've installed an overpass server locally (following this guide) and everything is working, but very rarely there's differences between the public server and my local one. So far this has exclusively been queries involving areas, with some areas just not existing on my local server while they do exist on the public one.

As an example, the following query gives lots of results on https://overpass-turbo.eu/ with //overpass-api.de/api/ as the server, but running the same query on my local server gives nothing (because that area does not exist for me).

rel(area:3601994077);
out tags;

I don't know why this would be happening, any ideas on the cause / how to fix it?

asked 13 Jul '21, 14:49

nbreden's gravatar image

nbreden
266610
accept rate: 0%

edited 13 Jul '21, 15:24


One Answer:

1

The most recent changeset for that relation (21 days ago) indicates that it and some other relations had been in a broken state. Depending on the state of it at the time you downloaded the data, it may not have properly imported into your database. You could try updating your data to see if Overpass then creates the area as expected, now that the relation has been fixed.

answered 13 Jul '21, 16:59

alester's gravatar image

alester
6.6k266100
accept rate: 28%

I think this was the problem. I updated my data and some of the problem cases went away (not all of them though :/). Thanks!

(14 Jul '21, 13:55) nbreden

Source code available on GitHub .