Hi, in the past I was able to download only the administrative boundary relations/ways of a country/large area by using JOSM and add this Overpass request:

[timeout:180];
(
way["boundary"="administrative"];
node(w);
rel(bn)->.x;
way(bn);
rel(bw);
);
out meta;

but now it seems the server is always failing contacting the server and it ends up failing. Can anybody help me?

asked 23 Dec '16, 10:12

capiscuas's gravatar image

capiscuas
11112
accept rate: 0%

edited 24 Dec '16, 11:19

SimonPoole's gravatar image

SimonPoole ♦
38.2k13284608


Your code doesn't work for me either, but... For Denmark (the country north of Germany) the solution is now as simple as entering "boundary=administrative & type:relation in Danmark" in the first field in JOSM's "Download from Overpass API" view, click the "create query" button and then finally the "Download" button.

permanent link

answered 25 Dec '16, 02:03

Hjart's gravatar image

Hjart
2.8k42455
accept rate: 18%

edited 26 Dec '16, 11:11

Your answer
toggle preview

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:

×350
×100
×32

question asked: 23 Dec '16, 10:12

question was seen: 1,094 times

last updated: 26 Dec '16, 11:11

powered by OSQA