Proposed features/Site Perimeter

From OpenStreetMap Wiki
Jump to: navigation, search
Site Perimeter
Status: Draft (under way)
Proposed by: Jojo4u
Tagging: type=site
Applies to: Relation
Definition: A role for Relation:site bringing areas to the relation.
Drafted on: 2015-08-12


When a subset of the features of site relation are within an area, a Closed way closed way or Relation multipolygon around them can added to the relation as member with perimeter.

The area should be threated as being tagged according to the main tag of the site relation.

There are three conditions:

  1. The main tag of the site relation must be suitable for use as an Area area.
  2. The perimeter way can be tagged as a typical Closed way closed way (e.g. barrier=fence) or be without tags, but must not be tagged as Area area itself (e.g. landuse=*).
  3. Elements within the perimeter should not be additionally added to the relation as implementations can perform an is-in-polygon test to determine what elements belong to the site.

For example a university with spread buildings a central campus might be represented by an perimeter, as amenity=university is suitable for use as an Area area.


A site relation should NOT be used in cases where the elements are inside one or more areas where the perimeter can be tagged with an appropriate Area area tag. But often some elements of a site are inside one or more areas, while other elements are not. This proposal tries bring the both worlds site relations and areas together.


Relation University: DHBW Stuttgart


Way or Node Role Recurrence? Discussion
Closed way perimeter zero or one Closed way or untagged multipolygon encircling a subset of the site. Elements within should not be added to the relation.

Applies to

Relations of type site.


Should be rendered as if it was an area on it's own according to the main tag.

Features/Pages affected

New role for type site.