Changes between Version 6 and Version 7 of It:Help/Concepts/Object
- Timestamp:
- 2020-03-10T18:38:49+01:00 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
It:Help/Concepts/Object
v6 v7 4 4 = Objects - The basic building blocks of OSM data and maps = 5 5 6 JOSM ti aiuta ad inserire dati di oggetti reali nel geo-database di OSM. Despite the overhelming complexity of real-world objects you can map, JOSM provides only three kinds of objects as basic building blocks for maps: [[ Image(source:trunk/images/data/node.png)]] **[#Nodes nodes]**, [[Image(source:trunk/images/data/way.png)]] **[#Ways ways]** and [[Image(source:trunk/images/data/relation.png)]] **[#Relations relations]**.6 JOSM ti aiuta ad inserire dati di oggetti reali nel geo-database di OSM. Despite the overhelming complexity of real-world objects you can map, JOSM provides only three kinds of objects as basic building blocks for maps: [[JOSMImage(data/node)]] **[#Nodes nodes]**, [[JOSMImage(data/way)]] **[#Ways ways]** and [[JOSMImage(data/relation)]] **[#Relations relations]**. 7 7 8 8 You can assign **[#Tags 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. … … 10 10 == Nodes, ways, and relations == #NodesWaysRelations 11 11 === Nodes === 12 [[ Image(source:trunk/images/data/node.png,20)]] A **node** is an individual point with a defined position.12 [[JOSMImage(data/node,20)]] A **node** is an individual point with a defined position. 13 13 14 14 === Ways === 15 [[ Image(source:trunk/images/data/way.png,20)]] A **way** is a sequence of nodes. Despite its name a 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.15 [[JOSMImage(data/way,20)]] A **way** is a sequence of nodes. Despite its name a way doesn't represent ways in the real-world only. An OSM [[JOSMImage(data/way)]] **way** is also used to represent a river, the boundaries of a country, or even a building. 16 16 17 17 ==== Closed Ways (Areas) ==== #ClosedWays 18 [[ Image(source:trunk/images/data/closedway.png,20)]] If a **way** is closed, i.e. if the last node is the same as the first node, it is also called an **area**.18 [[JOSMImage(data/closedway,20)]] If a **way** is closed, i.e. if the last node is the same as the first node, it is also called an **area**. 19 19 20 20 === Relations === 21 [[ Image(source:trunk/images/data/relation.png,20)]] 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 and which is only used in forward direction.21 [[JOSMImage(data/relation,20)]] 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 and which is only used in forward direction. 22 22 23 23 == Tags == … … 42 42 You are free to assign an object whatever tag you feel necessary. However, there is a list of so called [https://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. 43 43 44 In the [[ Image(source:trunk/images/dialogs/propertiesdialog.svg,18,middle)]] [wiki:Help/Dialog/TagsMembership Tags/Membership Dialog] you can assign tags to an object, remove tags from an object, or edit assigned tags.44 In the [[JOSMImage(dialogs/propertiesdialog,18,middle)]] [wiki:Help/Dialog/TagsMembership Tags/Membership Dialog] you can assign tags to an object, remove tags from an object, or edit assigned tags. 45 45 46 46 == Object ids == 47 47 The 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. 48 * Under **''Preferences -> [[ Image(source:trunk/images/preferences/display.png,20)]] [wiki:Help/Preferences/Display Display Settings] -> Look and Feel''** it is possible to en- or disable the display of objects ids in the toggle dialogs.49 * With **''File -> [[ Image(source:trunk/images/downloadprimitive.png)]] [wiki:Help/Action/DownloadObject Download object ...]''** it is possible to download **objects** by Ids.50 * **''View -> [[ Image(source:trunk/images/info.png,18,bottom)]] [wiki:Help/Action/InfoAboutElements Advanced info]''** opens separated windows with informations about selected objects in text format.51 * **''View -> [[ Image(source:trunk/images/info.png,18,bottom)]] [wiki:Help/Action/InfoAboutElementsWeb Advanced info (web)]''** opens the **objects' pages** of selected objects on the [osm: OSM website] in your web browser.48 * Under **''Preferences -> [[JOSMImage(preferences/display,20)]] [wiki:Help/Preferences/Display Display Settings] -> Look and Feel''** it is possible to en- or disable the display of objects ids in the toggle dialogs. 49 * With **''File -> [[JOSMImage(downloadprimitive)]] [wiki:Help/Action/DownloadObject Download object ...]''** it is possible to download **objects** by Ids. 50 * **''View -> [[JOSMImage(info,18,bottom)]] [wiki:Help/Action/InfoAboutElements Advanced info]''** opens separated windows with informations about selected objects in text format. 51 * **''View -> [[JOSMImage(info,18,bottom)]] [wiki:Help/Action/InfoAboutElementsWeb Advanced info (web)]''** opens the **objects' pages** of selected objects on the [osm: OSM website] in your web browser. 52 52 53 53 Alternatively, you can browse the objects directly by entering following address in your web browser: … … 60 60 Each 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**. 61 61 62 * **''View -> [[ Image(source:trunk/images/dialogs/history.png,18,bottom)]] [wiki:Help/Action/ObjectHistory History]''** opens the History Browser. The History Browser will show you the **versions** of a particular object.63 * Alternatively, **''View -> [[ Image(source:trunk/images/dialogs/history.png,18,bottom)]] [wiki:Help/Action/ObjectHistoryWeb History (web)]''** opens a page on the [osm: OSM website] in your web browser which displays the object history, too.62 * **''View -> [[JOSMImage(dialogs/history,18,bottom)]] [wiki:Help/Action/ObjectHistory History]''** opens the History Browser. The History Browser will show you the **versions** of a particular object. 63 * Alternatively, **''View -> [[JOSMImage(dialogs/history,18,bottom)]] [wiki:Help/Action/ObjectHistoryWeb History (web)]''** opens a page on the [osm: OSM website] in your web browser which displays the object history, too. 64 64 65 65 ----
