Why not ask your question on the new OpenStreetMap Community Forum?

How to use a relation to specify that ways make a single administrative boundary of a country with admin_level 3?

asked 12 Sep '14, 06:56

MeghaShrestha's gravatar image

accept rate: 0%

edited 12 Sep '14, 08:59


What do you mean by "use" ? Create/edit the boundary ? Use in some application ?

I doubt that you would have to create such a boundary in OSM. I assume all boundaries of this admin level are already in OSM. Changing such a border might also be a problem, as you will change the border of the neighboring country, which might lead to disputes.

(12 Sep '14, 07:01) escada

Based on your recent edits, is http://www.openstreetmap.org/relation/184633#map=6/28.417/84.125 the one you are looking for?

(12 Sep '14, 07:18) EdLoach ♦

The spatial location of the boundary will not be changed. I just want to relate those ways that create the boundary and provide tags that depicts that the ways create a single boundary. How can I do that?

(12 Sep '14, 08:13) MeghaShrestha

As EdLoach indicates, that relation already exists. No need to create such a relation.

(12 Sep '14, 09:07) escada

I am sorry for the confusion. I dont want to map the country's boundary. I want to create a relation for ways that creates the administrative boundary for the 5 development regions of Nepal to show that they belong to a same boundary.

(12 Sep '14, 09:33) MeghaShrestha

You talk about regional administrative boundaries then (admin_level 3), not the country (admin_level 2). You should edit and modify your original question. You should also enhance the wiki about administrative boundaries in Nepal : http://wiki.openstreetmap.org/wiki/Tag:boundary%3Dadministrative

(12 Sep '14, 10:53) Pieren

To create sub-national boundaries, you have to create new relations of type "boundary=administrative" like for the country but with a higher admin_level (3 in your case). Then attach the ways in this relation. Note that some of the ways can be attached to more than one boundary relation when they are used for several levels (country borders are also regional borders).

(12 Sep '14, 10:57) Pieren
showing 5 of 7 show 2 more comments

The exact instructions depend on your editor (iD/JOSM/...). In general you need to create a relation "object". add the tags type=boundary, admin_level=X, name=Y to the relation add all the ways as children with the role outer.

I've only done this in JOSM.

permanent link

answered 12 Sep '14, 10:11

escada's gravatar image

accept rate: 21%

Your answer
toggle preview

Follow this question

By Email:

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



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:


question asked: 12 Sep '14, 06:56

question was seen: 4,359 times

last updated: 12 Sep '14, 10:57

powered by OSQA