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

IMU it is only when relations have members with role=subarea (eg:


considered as "Optional, disputed and redundant" in the wiki, that the child relations tab like


is filled and parent relations tab like


is filled if the relation is itself a member with role=subarea of a parent relation. Am I correct?

If so, as the use of this role is not recommended yet, we should expect no information in those tabs for administrative=boundary relations?

asked 15 Apr '20, 17:08

SeverinGeo's gravatar image

accept rate: 0%

Yes, you are correct. And it's true that you shouldn't expect any info in those tabs if the relation don't have any relations as members.

I guess the wiki should clarify this when it talks about the subarea role.

One clarification in general: a relation P will have X children relations if it has that same X number of relations as members, independently of the role type of each of those members (or even if those members have a void role). And each of those relations will have as a parent the relation P.

For example:

<?xml version='1.0' encoding='UTF-8'?> <osm version='0.6' generator='JOSM'>
<relation id='-1' action='modify' visible='true'>
    <tag k='type' v='typea' />
    <tag k='name' v='Child relation A' />
<relation id='-2' action='modify' visible='true'>
    <tag k='type' v='typeb' />
    <tag k='name' v='Child relation A' />
<relation id='-3' action='modify' visible='true'>
    <member type='relation' ref='-1' role='rolea' />
    <member type='relation' ref='-2' role='' />
    <tag k='type' v='typec' />
    <tag k='name' v='I am parent of the relations A and B' />

The last relation is parent of the first 2 relations. And each of those 2 relations have as parent the last relation.

permanent link

answered 16 Apr '20, 17:53

edvac's gravatar image

accept rate: 15%

edited 16 Apr '20, 17:56

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]( "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: 15 Apr '20, 17:08

question was seen: 1,192 times

last updated: 16 Apr '20, 17:56

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