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

I have been trying to export the administrative boundaries for Poland at the LAU-2 level. In Polish, the level is referred to as a gmina and I can see each one if I search in OSM for gmina <name> (eg. gmina dopiewo). From this, I know that this level is present in OSM. However, I have not been able to download this information using XAPI, JOSM or extracting the info using osmosis. Can someone point me in the right direction to getting this out of OSM so that I can use it in other programs (such as qgis)? Please don't point me to other sources (SALB, GADM, etc.) as the info is not present at this level - only the next level up. Thanks for the help. Paul

asked 24 May '13, 15:11

pawelh's gravatar image

pawelh
36112
accept rate: 0%


Use Overpass API with the expression

(
  relation
    ["boundary"="administrative"]
    ["admin_level"="7"]

  ({{bbox}}) /* this is auto-completed with the
              current map view coordinates. */

);
/*added by auto repair*/
(._;>;);
/*end of auto repair*/
out;

See http://overpass-turbo.eu/s/dO .

permanent link

answered 24 May '13, 19:27

gormo's gravatar image

gormo
2.9k32660
accept rate: 13%

edited 24 May '13, 19:27

You'll have to run the query manually, the auto-run feature of overpass-turbo seems broken. just click "OK" on the error message, click inside the textbox with the query and press ctrl-enter.

(25 May '13, 08:34) gormo
-1

You are not the first one asking this question.

Please type keywords like "extract boundaries" or "export borders" or similar in the searchbox of this FAQ site, and you will get a number of hints about your aim.

permanent link

answered 25 May '13, 20:10

stephan75's gravatar image

stephan75
12.6k556210
accept rate: 6%

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:

×315
×37
×26

question asked: 24 May '13, 15:11

question was seen: 15,142 times

last updated: 25 May '13, 20:10

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