NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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?

asked 03 Sep '19, 16:39

JamesChevalier's gravatar image

JamesChevalier
1517713
accept rate: 25%


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.

permanent link

answered 07 Sep '19, 16:22

JamesChevalier's gravatar image

JamesChevalier
1517713
accept rate: 25%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×483
×362
×54

question asked: 03 Sep '19, 16:39

question was seen: 2,012 times

last updated: 07 Sep '19, 16:22

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum