Changes between Version 113 and Version 114 of Help/Concepts/Object
- Timestamp:
- 2020-07-12T16:33:47+02:00 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Help/Concepts/Object
v113 v114 8 8 [[PageOutline(2-10,Table of Contents)]] 9 9 10 10 11 == Nodes, ways, and relations == #NodesWaysRelations 11 12 12 13 === Tags (also an OSM data primitive) === #Tags 13 14 14 Tags provide meaning to the objects. Without them, any other object would be useless and meaningless. Each of ''three other data primitives'' '''can have multiple tags'''.15 Tags provide meaning to the objects. Without them, any other object would be useless and meaningless. Each of ''three other data primitives'' **can have multiple tags**. 15 16 16 [=#presets Often tags used in combinations; '''usually these combinations can be found] in [wikitr:/Presets presets]'''. But it may be true that tags you need to use are not in presets and you need to know them first.17 [=#presets Often tags used in combinations; **usually these combinations can be found] in [wikitr:/Presets presets]**. But it may be true that tags you need to use are not in presets and you need to know them first. 17 18 18 19 Simplest example is [osmwiki:Key:drinking_water drinking_water=yes] - it is present globally and can be applied to every object that provides water. Other example is [osmwiki:Key:leaf_cycle leaf_cycle]=* of trees, it will have less coverage globally (as trees do not grow just everywhere). … … 42 43 43 44 ==== Segment ====#Segment 44 Is '''a fragment between two consequent points of the way'''([https://en.wikipedia.org/wiki/Line_segment "line segment" from ordinary geometry]). This is not a part of OSM data model, but users often distinguish because of tools than operate on segment level (rather than on complete way); please, distinguish a segment(s) from complete "way"s.45 Is **a fragment between two consequent points of the way** ([https://en.wikipedia.org/wiki/Line_segment "line segment" from ordinary geometry]). This is not a part of OSM data model, but users often distinguish because of tools than operate on segment level (rather than on complete way); please, distinguish a segment(s) from complete "way"s. 45 46 46 47 **Note**: Rendering of segments in [wikitr:/Help/MapView MapView] can be set in Display Preferences under [wikitr:/Help/Preferences/Display#OSMData OSM Data]. … … 56 57 If some object can be represented with single ''node'' or ''way'' and ''multiple tags supported by software'', then there is no need in relations. But there are some rare cases where it is theoretically and practically impossible ''only with nodes, ways and tags'' (ex. turn restrictions, will be covered below). 57 58 58 This means '''you can [#Tags1 skip this big "Relations" section], until you decide to add or edit a relation'''.59 This means **you can [#Tags1 skip this big "Relations" section], until you decide to add or edit a relation**. 59 60 60 ==== Simple explanation ==== 61 ==== Simple explanation ====#SimpleExplanation 61 62 [[JOSMImage(data/relation,24,middle,margin-right=15,margin-bottom=5,link=)]] A **relation**: 62 63 * is a sequence of other objects (nodes, ways and relations) … … 93 94 Can be used to describe turn restrictions according to signs and road marking. JOSM has a plugin to support this type of relations: [osmwiki:JOSM/Plugins/Turnrestrictions Turnrestrictions plugin],[osmwiki:Relation:restriction#Examples Examples] 94 95 96 95 97 == Tags ==#Tags1 96 98 More precisely, a **tag** is a name/value pair assigned to an object. If we write `foo`=`bar` we mean ''The tag with key foo is assigned the value bar''. Here are some examples: … … 114 116 115 117 In the [[JOSMImage(dialogs/propertiesdialog)]] [wikitr:/Help/Dialog/TagsMembership Tags/Membership panel] you can assign tags to an object, remove tags from an object, or edit assigned tags. 118 116 119 117 120 == Technical properties ==