2

Here's my query to collect all of the States within the US:

[out:json];
area['admin_level'='2']['name'='United States'];
(relation['admin_level'='4'](area););
out tags;

My Overpass server returns Baja California in the results for this query, even though this state is in Mexico. Overpass Turbo correctly excludes this from the results.

Similarly, my query to collect all of the cities within Indiana returns Chicago in the results (while the Overpass Turbo only includes East Chicago & New Chicago):

[timeout:900][out:json];
area['ISO3166-2'~'^US']['admin_level'='4']['name'='Indiana'];
(relation['admin_level'~'8'](area););
out tags;

I'm using the wiktorn/overpass-api Docker image that I started it with:

docker run \
  -e OVERPASS_META=yes \
  -e OVERPASS_MODE=clone \
  -e OVERPASS_DIFF_URL=https://planet.openstreetmap.org/replication/minute/ \
  -v /home/ubuntu/overpass_clone_db/:/db \
  -p 80:80 \
  -i -t \
  --name overpass_world \
  wiktorn/overpass-api

Is there something that I can do to correct these results?

5
  • 1
    This has really nothing to do with "Overpass Turbo", as it is a web frontend rather than the database backend. I tried different Overpass API instances. Unfortunately, I'm unable to reproduce your issue.
    – mmd
    Commented Sep 4, 2019 at 18:10
  • Also posted here: help.openstreetmap.org/questions/70615/…
    – mmd
    Commented Sep 4, 2019 at 18:12
  • 1
    You could try the Overpass API development mailing list here: listes.openstreetmap.fr/wws/arc/overpass
    – mmd
    Commented Sep 4, 2019 at 18:25
  • Thank you @mmd ... I'm in the process of building a non-docker Overpass API server for myself, to see how that server responds to queries. If it responds properly, I will continue using that instead of the Docker image & raise the issue to the wiktorn/overpass-api maintainer. Commented Sep 4, 2019 at 18:56
  • Yeah, this new non-docker instance of Overpass is returning correct queries. I'm rebuilding the docker image for another test to see if it was a one-off... Commented Sep 5, 2019 at 16:51

1 Answer 1

0

There was something wrong with my initial attempt at using the Docker image. I deleted my container and retried the process - everything worked great.

Also, installing Overpass directly onto a server worked great too.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.