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

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 ♦
44.7k13326701


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
3.0k42656
accept rate: 18%

edited 26 Dec '16, 11:11

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
×129
×32

question asked: 23 Dec '16, 10:12

question was seen: 2,704 times

last updated: 26 Dec '16, 11:11

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