Changes between Version 5 and Version 6 of Es:Help/Concepts/Object
- Timestamp:
- 2011-02-22T10:53:26+01:00 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Es:Help/Concepts/Object
v5 v6 17 17 18 18 == Etiquetas == 19 A '''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:20 * `name`=`Main road` as signed to a '''way'''. This tagindicates that the name of the way is `Main road`.21 * `amenity`=`restaurant` as signed to a'''node'''. This tagindicates that the'''node''' represents arestaurantin the real-world.22 * `route`=`bus` as signed toa '''relation'''. This tagindicates that the relation represents a bus route.19 Una '''etiqueta''' es un par nombre/valor que se asigna a un objeto. Las etiquetas se utilizan para describir un objeto en detalle. Si escribimos `foo`=`bar` nos referimos a ''La etiqueta con clave foo se le asigna el valor de bar''. He aquí algunos ejemplos: 20 * `name`=`Main road` asignado a una '''vía'''. Esta etiqueta indica que el nombre de la vía es `Main road`. 21 * `amenity`=`restaurant` asignado a un '''nodo'''. Esta etiqueta indica que el '''nodo''' representa un restaurante en el mundo real. 22 * `route`=`bus` asignado a una '''relación'''. Esta etiqueta indica que la relación representa una ruta de autobús. 23 23 24 Tags can be combined. An object can carry as many tags as necessary. Here's a more complex example: 24 Las etiquetas pueden combinarse. Un objeto puede llevar tantas etiquetas como sean necesarias. Aquí está un ejemplo más complejo: 25 25 26 {{{ 26 27 highway=living_street … … 31 32 oneway=yes 32 33 }}} 33 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.34 34 35 You 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.35 Asignado a una vía, este conjunto de '''etiquetas''' indican, que la '''vía''' representa un living street con el nombre ''Main road'' (el nombre alemán es ''Hauptstrasse''). La velocidad está limitada a 30km/h y los vehículos pesados (camiones) no están permitidos. Por otra parte, es una calle de sentido único. 36 36 37 In the [[Image(source:/trunk/images/dialogs/propertiesdialog.png)]] [wiki:Help/Dialog/Properties Properties/Memberships Dialog] you can assign tags to an object, remove tags from an object, or edit assigned tags. 37 Usted es libre de asignar a un objeto cualquier etiqueta que considere necesaria. Sin embargo, hay una lista de las llamadas [http://wiki.openstreetmap.org/wiki/ES:Map_Features funciones del mapa], es decir, una lista canónica de '''etiquetas''' con un significado bien definido que a menudo son utilizadas por creadores de mapas. Siempre que sea posible se recomienda atenerse a estas etiquetas, porque los porque renderizadores de mapa, los motores de enrutamiento, y otras piezas de software confían en ellos. 38 38 39 == Object ids == 40 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. 39 En las [[Image(source:/trunk/images/dialogs/propertiesdialog.png)]] [wiki:Es:Help/Dialog/Properties Diálogo de Propiedades/Miembros] puede asignar etiquetas a un objeto, quitar las etiquetas de un objeto, o editar las etiquetas asignadas. 40 41 == Identificadores de objetos == 42 El servidor de OSM asigna a cada objeto un número único, el '''object ID''' o '''OSM ID'''. Un nuevo objeto no tiene un ID (su ID es 0) hasta que se carga por primera vez en el servidor de OSM. 41 43 42 44 * TODO: how to enable displaying of object ids … … 44 46 * TODO: browse an object with a specific id on the server 45 47 46 == Object versions==47 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'''.48 == Versiones de Objeto == 49 Cada objeto tiene una '''versión'''. La '''versión''' se incrementa cada vez que el objeto es cargado en el servidor y el servidor de OSM no sólo almacena la versión más reciente de un objeto, pero es el '''historial''' completo. 48 50 49 In the[[Image(source:/trunk/images/dialogs/history.png)]] [wiki:/Help/Dialog/History History Dialog] you can load the '''history''' of an object and launch the [wiki:/Help/Dialog/HistoryBrowser History Browser]. The History Browser will show you the '''versions''' of a particular object.51 En el [[Image(source:/trunk/images/dialogs/history.png)]] [wiki:Es:Help/Dialog/History Diálogo Historial] puede cargar el '''historial''' de un objeto y iniciar el [wiki:Es:Help/Dialog/HistoryBrowser Explorador de Historial]. El Explorador de Historial le mostrará las '''versiones''' de un objeto en particular. 50 52 51 Alternatively, [[Image(source:/trunk/images/about.png)]]''Tools->Object history'' redirect you to a page on the [http://www.openstreetmap.org OSM website] which displays the object history too. 52 53 Alternativamente, [[Image(source:/trunk/images/about.png)]]''Vista->Historial del Objeto'' redirige a una página en el [http://www.openstreetmap.org sitio web de OSM] que muestra el historial del objeto también. 53 54 ---- 54 55 Volver a [wiki:Es:Help Ayuda principal]
