Super-relation

From OpenStreetMap Wiki
(Redirected from Super-Relation)
Jump to navigation Jump to search

A super-relation is a relation that contains other relations. Relations have initially been created to contain nodes, ways or areas and combinations thereof.

A super-relation is referred to as a 'parent' in Osmosis. The hierarchical structure of super- and sub-relations is also called a 'nested relation'.

Usage

Nested relations are virtually undocumented and rarely used but still there is an effort to process them.

An example of a super-relation is the EuroVelo Route 15 - Rhin bicycle way relation 2171555. It contains four members for each of the countries it passes plus one connection between countries. Each member is itself a super-relation and has many bicycle route relations as members each for a small part of this very long bicycle route.

See also