| 5 | | JOSM helps you to enter data about real-world objects in the OSM geo-database. Despite the overwhelming 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,top)]] **nodes**, [[Image(source:trunk/images/data/way.png,middle)]] **ways** and [[Image(source:trunk/images/data/relation.png,middle)]] **relations**. |
| | 5 | JOSM helps you to enter data about real-world objects in the OSM geo-database. Despite the overwhelming 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,top,nolink)]] **nodes**, [[Image(source:trunk/images/data/way.png,middle,nolink)]] **ways** and [[Image(source:trunk/images/data/relation.png,middle)]] **relations**. |
| 16 | | [[Image(source:trunk/images/data/way.png,20,middle,margin-right=15,margin-bottom=5)]] 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. |
| | 16 | [[Image(source:trunk/images/data/way.png,20,middle,margin-right=15,margin-bottom=5,nolink)]] 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. |
| 19 | | [[Image(source:trunk/images/data/closedway.png,20,middle,margin-right=15,margin-bottom=5)]] 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 | [[Image(source:trunk/images/data/closedway.png,20,middle,margin-right=15,margin-bottom=5,nolink)]] If a **way** is closed, i.e. if the last node is the same as the first node, it is also called an **area**. |
| 22 | | [[Image(source:trunk/images/data/relation.png,20,middle,margin-right=15,margin-bottom=5)]] 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 `platform` for platforms related to according stop positions. |
| | 22 | |
| | 23 | ==== Simple explanation ==== |
| | 24 | [[Image(source:trunk/images/data/relation.png,20,middle,margin-right=15,margin-bottom=5,nolink)]] A **relation** is an sequence of other nodes and ways. |
| | 25 | Every relation can have their own "tags". |
| | 26 | Relations can be used as members in other relations (nested or hierarchical structures). |
| | 27 | Each object participating in a **relation** can be assigned a **role**, for instance `stop` for a bus stop in the bus route, or `platform` for platforms related to according stop positions. |
| | 28 | |
| | 29 | |
| | 30 | There [http://wiki.openstreetmap.org/wiki/Types_of_relation many types of relations], but most popular are |
| | 31 | |
| | 32 | ===== type=multipolygon ===== |
| | 33 | |
| | 34 | A water object (natural=water), a building (building=*) or administrative boundary (admin_level tag). |
| | 35 | |
| | 36 | (stub) |
| | 37 | |
| | 38 | ===== type=route ===== |
| | 39 | |
| | 40 | Used to describe bus routes and train routes along other transportation services. |
| | 41 | (stub) |