Changes between Version 13 and Version 14 of Help/Concepts/Object


Ignore:
Timestamp:
2011-07-21T02:23:23+02:00 (14 years ago)
Author:
skyper
Comment:

some layout improvements

Legend:

Unmodified
Added
Removed
Modified
  • Help/Concepts/Object

    v13 v14  
    1010
    1111== Nodes, ways, and relations == #NodesWaysRelations
    12 === Nodes === #Nodes
     12=== Nodes ===
    1313[[Image(source:trunk/images/data/node.png)]] A '''node'''  is an individual point with a defined position.
    1414
    15 === Ways === #Ways
    16 [[Image(source:trunk/images/data/way.png)]] A '''way''' is a sequence of nodes. Despite its name a '''way''' doesn't represent ways in the real-world only. An OSM '''way''' is also used to represent a river, the boundaries of a country, or even a building. If a '''way''' is closed, i.e. if the last node is the same as  the first node, it is also called an '''area'''.
     15=== Ways ===
     16[[Image(source:trunk/images/data/way.png)]] A '''way''' is a sequence of nodes. Despite its name a [[Image(source:trunk/images/data/way.png)]] '''way''' doesn't represent ways in the real-world only. An OSM [[Image(source:trunk/images/data/way.png)]] '''way''' is also used to represent a river, the boundaries of a country, or even a building.
    1717
    18 === Relations === #Relations
    19 [[Image(source:trunk/images/data/relation.png)]] A '''relation''' is an sequence of other objects, for instance a sequence of '''ways''' (representing road segments) and '''nodes''' (representing bus stops) which represent a bus route. Each object participating in a '''relation''' can be assigned a '''role''', for instance `stop` for a bus stop in the bus route, or `forward` for a road segment which is part of the bus route from the start to the terminal station.
     18==== Closed Ways (Areas) ==== #ClosedWays
     19If a [[Image(source:trunk/images/data/closedway.png)]] **way** is closed, i.e. if the last [[Image(source:trunk/images/data/node.png)]] **node** is the same as  the first [[Image(source:trunk/images/data/node.png)]] **node**, it is also called an [[Image(source:trunk/images/data/closedway.png)]] **area**.
     20
     21=== Relations ===
     22[[Image(source:trunk/images/data/relation.png)]] A '''relation''' is an sequence of other objects, for instance a sequence of [[Image(source:trunk/images/data/way.png)]] '''ways''' (representing road segments) and [[Image(source:trunk/images/data/node.png)]] '''nodes''' (representing bus stops) which represent a bus route. Each object participating in a [[Image(source:trunk/images/data/relation.png)]] '''relation''' can be assigned a '''role''', for instance `stop` for a bus stop in the bus route, or `forward` for a road segment which is part of the bus route from the start to the terminal station.
    2023
    2124== Tags ==
    2225A '''tag''' is a name/value pair assigned to an object. Tags are used to describe an object in detail. If we write `foo`=`bar` we mean ''The tag with key foo is assigned the value bar''. Here are some examples:
    23   * `name`=`Main road` assigned to a '''way'''. This tag indicates that the name of the way is `Main road`.
    24   * `amenity`=`restaurant` assigned to a '''node'''. This tag indicates that the '''node''' represents a restaurant in the real-world.
    25   * `route`=`bus` assigned to a '''relation'''. This tag indicates that the relation represents a bus route.
     26* `name`=`Main road` assigned to a '''way'''. This tag indicates that the name of the way is `Main road`.
     27* `amenity`=`restaurant` assigned to a '''node'''. This tag indicates that the '''node''' represents a restaurant in the real-world.
     28* `route`=`bus` assigned to a '''relation'''. This tag indicates that the relation represents a bus route.
    2629
    2730Tags can be combined. An object can carry as many tags as necessary. Here's a more complex example:
     
    3437oneway=yes
    3538}}}
    36 Assigned to a way, this set of '''tags''' indicate, that the '''way''' represents a living street with name ''Main road'' (the German name be ''Hauptstrasse''). Speed is limited to 30km/h and heavy goods vehicles (hgv) are not allowed. Furthermore, it's a one way street.
     39Assigned to a [[Image(source:trunk/images/data/way.png)]] **way**, this set of '''tags''' indicate, that the [[Image(source:trunk/images/data/way.png)]] '''way''' represents a living street with name ''Main road'' (the German name be ''Hauptstrasse''). Speed is limited to 30km/h and heavy goods vehicles (hgv) are not allowed. Furthermore, it's a one way street.
    3740
    3841You are free to assign an object whatever tag you feel necessary. However, there is a list of so called [http://wiki.openstreetmap.org/wiki/Map_Features Map Features], i.e. a canonical list of '''tags''' with a well-defined meaning which are often used by mappers. Whenever possible you are adviced to stick to these tags because map renderers, routing engines, and other pieces of software rely on them.
     
    4346The OSM server assigns each object a unique number, the '''object ID''' or '''OSM ID'''. A new object doesn't have an ID (it's ID is 0) until it is uploaded the first time to the OSM server.
    4447
    45 Under '''[[Image(source:trunk/images/preference.png)]] [Action/Preferences Preferences] -> [[Image(source:trunk/images/preferences/display.png,20)]] [Preferences/Display Display Settings] -> Look and Feel''' it is possible to en- or disable the display of objects ids in the toggle dialogs.
     48Under **[[Image(source:trunk/images/preference.png)]] [Action/Preferences Preferences] -> [[Image(source:trunk/images/preferences/display.png,20)]] [Preferences/Display Display Settings] -> Look and Feel** it is possible to en- or disable the display of objects ids in the toggle dialogs.
    4649
    47 With '''[Menu/File File] -> [[Image(source:trunk/images/downloadprimitive.png)]] [Action/DownloadObject Download object ...]''' (''{{{Ctrl+Shift+O}}}'') it is possible to download '''objects''' by Ids.
     50With **[Menu/File File] -> [[Image(source:trunk/images/downloadprimitive.png)]] [Action/DownloadObject Download object ...]** (''{{{Ctrl+Shift+O}}}'') it is possible to download '''objects''' by Ids.
    4851
    49 '''View -> [[Image(source:trunk/images/about.png)]] [Action/InfoAboutElements Info about Element]''' (''{{{Ctrl+I}}}'') opens the '''objects' pages''' of selected objects on the [http://www.openstreetmap.org OSM website] in your web browser.
     52**View -> [[Image(source:trunk/images/about.png)]] [Action/InfoAboutElements Info about Element]** (''{{{Ctrl+I}}}'') opens the '''objects' pages''' of selected objects on the [http://www.openstreetmap.org OSM website] in your web browser.
    5053
    5154Alternatively, you can browse the objects directly by entering following address in your web browser:
     
    5861In the [[Image(source:trunk/images/dialogs/history.png)]] [Dialog/History History Dialog] you can load the '''history''' of an object and launch the [Dialog/History#Workingwiththehistorybrowser History Browser]. The History Browser will show you the '''versions''' of a particular object.
    5962
    60 Alternatively, '''''View -> [[Image(source:trunk/images/about.png)]] [Action/ObjectHistory Object history]''''' opens a page on the [http://www.openstreetmap.org OSM website] in your web browser which displays the object history, too.
     63Alternatively, **''View -> [[Image(source:trunk/images/about.png)]] [Action/ObjectHistory Object history]''** opens a page on the [http://www.openstreetmap.org OSM website] in your web browser which displays the object history, too.
    6164
    6265----