Relation:site: Difference between revisions
Minh Nguyen (talk | contribs) mNo edit summary |
Added section about problems with this type of relation |
||
| Line 3: | Line 3: | ||
|description=A site relation is used to group several objects together. |
|description=A site relation is used to group several objects together. |
||
|combination=* {{Tag|name}} |
|combination=* {{Tag|name}} |
||
|status= |
|status= |
||
|statuslink=Relations/Proposed/Site |
|statuslink=Relations/Proposed/Site |
||
}} |
}} |
||
| Line 22: | Line 22: | ||
Then the members are added without having to specify a role. |
Then the members are added without having to specify a role. |
||
Members may include nodes or ways. |
|||
== Problems == |
|||
Sometimes other relations, especially [[multipolygon]] relations, have been added as members of a site relation. This can be difficult for database users to interpret, so it should be avoided. |
|||
Site relations are not yet commonly interpreted or used by database users such as map rendering or routing applications. |
|||
== See also == |
== See also == |
||
Revision as of 14:22, 13 November 2019
| Description |
|---|
| A site relation is used to group several objects together. |
| Useful combination |
|
| Status: in use |
| Tools for this tag |
A site relation is used to group several man-made objects which belong together but cannot be adequately described by an area/multipolygon. The group as a whole should have a common name and other characteristics.
This relation is not to be used in cases where the elements are inside one or more areas where the perimeter can be tagged with an appropriate
area tag. For example the tag amenity=school describes the perimeter of the school grounds, for schools with multiple sites the multipolygon relation should be used. For an university with buildings scattered throughout the city a multipolygon amenity=university with the buildings as role should be used.
outer
The features should have a close geographic relationship, usually within the same town. For example do not use this relation to group all restaurants of a fast-food chain. Use a a combination of name=*/operator=*/network=*/brand=* to group loosely coupled and/or widely distributed features - relations are not categories!
See the proposal page for more context and examples.
How to Map
Create a relation and add type=site. In addition, the relation must have a main tag defining whatever feature the site relation describes. E.g. amenity=university, site=parking, power=plant, ...
To the characteristics all necessary tags are added:
name=*- etc.
Then the members are added without having to specify a role.
Members may include nodes or ways.
Problems
Sometimes other relations, especially multipolygon relations, have been added as members of a site relation. This can be difficult for database users to interpret, so it should be avoided.
Site relations are not yet commonly interpreted or used by database users such as map rendering or routing applications.
See also
type=multipolygon- Relations/Proposed/Site - the main proposal page for this feature
- Proposed features/Site Perimeter - a sub-proposal for members with a 'perimeter' role
