Changes between Initial Version and Version 1 of Nl:Help/Concepts/Object


Ignore:
Timestamp:
2011-08-15T10:20:37+02:00 (15 years ago)
Author:
DiGro
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Nl:Help/Concepts/Object

    v1 v1  
     1[[TranslatedPages]]
     2
     3= Objecten - De basis bouwstenen van OSM-gegevens en kaarten =
     4
     5JOSM helpt u om gegevens met betrekking objecten uit de echte wereld in te voeren in de geo-database van OSM. Ondanks de overweldigende complexiteit van objecten in de echte wereld die u kunt mappen, Verschaft JOSM slechts drie soorten objecten als basis bouwstenen voor kaarten: '''nodes''', '''wegen''', en '''relaties'''.
     6
     7You can assign '''tags''' to objects. It's the assigned set of tags which makes a node representing a restaurant different from a node representing a church, or a way representing a residential road different from a ways representing a river, or a relation representing a bus route different from a relation representing a cycling route.
     8
     9[[TOC(inline)]]
     10
     11== Nodes, ways, and relations == #NodesWaysRelations
     12=== Nodes ===
     13[[Image(source:trunk/images/data/node.png)]] A '''node'''  is an individual point with a defined position.
     14
     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.
     17
     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.
     23
     24== Tags ==
     25A '''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:
     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.
     29
     30Tags can be combined. An object can carry as many tags as necessary. Here's a more complex example:
     31{{{
     32highway=living_street
     33name=Main road
     34name:de=Hauptstrasse
     35maxspeed=30
     36hgv=no
     37oneway=yes
     38}}}
     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.
     40
     41You 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.
     42
     43In the [[Image(source:trunk/images/dialogs/propertiesdialog.png)]] [Dialog/Properties Properties Dialog] you can assign tags to an object, remove tags from an object, or edit assigned tags.
     44
     45== Object ids ==
     46The 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.
     47
     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.
     49
     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.
     51
     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.
     53
     54Alternatively, you can browse the objects directly by entering following address in your web browser:
     55
     56{{{http://www.openstreetmap.org/browse/[node/way/relation]/[ID]}}}
     57
     58== Object versions ==
     59Each object has a '''version'''. The '''version''' is incremented whenever the object is uploaded to the server and the OSM server not only stores the most recent version of an object, but it's complete '''history'''.
     60
     61In 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.
     62
     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.
     64
     65----
     66Back to [wiki:/Help Main Help]