While "key=X" and "X=type_of_X" is a common way of tagging properties
of features, there is not a standard way of tagging features that are
located within a larger feature.

There are at least 4 ways of doing this:

1) "key=X" -> "X=name_of_smaller_feature", where X is the term for the
larger feature.
Example: "allotments=plot" is used to define a specific plot within an
area of "landuse=allotments"

2) "key=X" -> "key=X_Y"
Example 1: "amenity=parking" is used for a parking lot, and
"amenity=parking_space" is used for the space to park one vehicle
within a parking lot

3) "key=yes" -> "key:namespace=yes"
Example: "building=yes" and "building:part=yes" is used to define
parts of buildings with different characteristics, eg a different
number of levels or different type of roof.

4) "key1=X" -> "key2=Y"
Two unrelated keys are used with two unrelated values.
Example: "man_made=works" should usually be within a "landuse=industrial" area

On 5/22/19, marc marc <marc_marc_...@hotmail.com> wrote:
> Hello,
>
> Le 21.05.19 à 03:25, Tod Fitch a écrit :
>  > If there is someplace I can read up on this “logic of tag linking”?
>
> this logic is massively used and yet I had a hard time finding a link
> whose content is limited to a line and an example
>
> https://wiki.openstreetmap.org/wiki/Any_tags_you_like#Syntactic_conventions_for_new_tags
>
> There's a common pattern of *iterative refinement* in use in many
> tagging schemes, which has the advantage that the scheme can grow over
> time to be more and more descriptive whilst still being
> backwards-compatible: highway=crossing crossing=uncontrolled
>
> it would probably be useful to better document it
>
> Regards,
> Marc
> _______________________________________________
> Tagging mailing list
> Tagging@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/tagging
>

_______________________________________________
Tagging mailing list
Tagging@openstreetmap.org
https://lists.openstreetmap.org/listinfo/tagging

Reply via email to