wiki:It:Introduction

Version 9 (modified by Pichetti Mario <mario.pichetti@…>, 12 years ago) ( diff )

--

Translation incomplete

Intruduzione a JOSM

Terminologia

Node: I "nodi" sono i punti.

Way: Un "via" è una linea di collegamento di più nodi. "via", quindi, è un termine generico che indica una serie di nodi uniti, non solo per le strade.

Relation: Una "relazione" è una sequenza ordinata di vie e nodi, un contenitore logico utilizzato per gli elementi del gruppo.

Area: Una "area" descrive un insieme di linee chiuse.

Tag: I Tag descrivono che cosa rappresenta ogni nodo o insieme di nodi. I Tag sono organizzati in "chiavi" e "valori". Le "chiavi" sono organizzate in categorie, come "Highway" "strada" o "Land Use" "uso del suolo" mentre i valori sono caratteristiche specifiche, quali "Primary Road" "strada principale" o "strada residenziale," e "Residential Street" "residenziale" o "Retail" "negozi".

Guardate qui Objects - The basic building blocks of OSM data and maps per ulteriori informazioni.

In una strada o pista o percorso se è presente una curva, si traccia la curva utilizzando un numero di nodi all'interno di una linea o brevi linee che la collegano. La strada ha un senso di marcia , che è indicato in parte tramite tag. Ad esempio, "oneway = yes" è una strada che va in una sola direzione. (Vedere Conventions in "Creating certain types of ways" nella parte inferiore di questa pagina per considerazioni speciali durante la creazione di una strada a senso unico). Per gli altri tag fare riferimento al senso di marcia sinistro o destro della via lungo la strada.

Iniziare con JOSM

JOSM è un programma Java ed è disponibile in un file. jar. Questo è il link con gli installer per i vari sistemi operativi http://josm.openstreetmap.de/wiki/It%3AWikiStart Se non sapete come iniziare, chiedete a qualcuno che ha familiarità con il vostro sistema. È inoltre possibile leggere install notes.

All'avvio JOSM, si presenta con un elenco sulle modifiche di JOSM. Date un'occhiata a questa pagina ogni tanto per essere informati su alcune delle novità più interessanti. Il passo successivo è quello di scaricare alcuni dati. Se avete un file GPX (scaricato dal vostro ricevitore GPS) per l'area di interesse, caricatelo in JOSM utilizzando (File/Apri...). JOSM visualizzerà l'area del file GPX. Successivamente, aggiungere dati per quella zona da openstreetmap.org. Per selezionare l'area per il download, cliccate prima su "Slippy Map" nella parte superiore dello schermo. Viene visualizzata una mappa del mondo. Per spostarsi sulla mappa e selezionare l'area specifica che si desidera scaricare, ci sono diversi strumenti: Fare clic con il pulsante destro del mouse per trascinare la mappa, utilizzare la rotellina del mouse per ingrandire e rimpicciolire e fare clic con il pulsante sinistro del mouse per definire un'area. Quindi, fare clic sulla freccia verde che indica in basso source:trunk/images/download.png per recuperare i dati da openstreetmap.org. Un'alternativa è scaricare punti GPX esistenti dal server di OSM. Per avviare questo processo è necessario conoscere le coordinate di latitudine e longitudine dell'area pertinente. Il modo più semplice per farlo è utilizzare "Slippy Map" nella finestra di dialogo Scarica della prima scheda. Read more on the download dialogue.

Editare con JOSM

JOSM è un editor offline, significa tutto ciò che fate non sarà visibile per chiunque altro fino a che non fate l'upload sul server. This makes it possible to experiment and repeatedly moving, tagging, adding and deleting elements without breaking anything. Subsequent actions on a single element will go into the database as a single modification when uploaded.

Adding a Node or a Way

The first step of actual editing is to add a node or way to the OSM data. You can add standalone nodes or you can add nodes to ways, especially where there is a junction between two ways or a significant change in direction of the way.

To add a node, highlight the "Node" button, either by clicking the 2nd button in the left menu bar, or by hitting the "A" key on the keyboard (the 2nd button should then be highlighted). Then, move the mouse cursor over where you want the node, over a way or over your GPS track (if you uploaded one) and left click wherever you want a node. A white dot (a selected node) should appear and a rubber-line span from that dot to the mouse cursor. If you create subsequent nodes, the earlier nodes will be shown as yellow dots.

A series of joined nodes forms a way.

Adding Tags

Ways or nodes on their own are not of much use unless they are tagged to say what they represent. The Map Features web page Map Features shows and explains all the current tags that could be used on a point or way.

The Properties Pane: The first step in adding tags is to be sure the Properties Pane is open on the right hand side of JOSM. The 8th button on the left (an icon with a wrench over a document) should be highlighted. If it is not highlighted, click the wrench button or hit "Alt+Shift+P." You will see the Properties Pane, which has three buttons: 1) a plus sign with "Add" next to it, 2) "Edit" and 3) "Delete."

To edit the properties of a node or way (such as adding a tag) in the Properties Panel, the way or node must be selected.

  1. Enter Select mode by clicking the first of the left-hand icons or hitting the "S" key.
  2. Highlight the way or point you wish to select. Click the "Add" button.
  3. A dialog box will appear, and you will be asked to select a key and a value for each tag. Type in the key/value pair that represents the tag you are creating. For example, for the key, you might type "highway," and for the value "secondary" (no quotes).
  4. Click OK. You have now tagged your way.

Uploading to OSM

If you are happy with all that you have done then you must upload your work to the OSM server. Click on the green up arrow source:trunk/images/upload.png.

JOSM will give you an overview of the elements that it is about to upload. You will be asked to provide a short text summary of your edits. This description will be saved with your data on the server and provides information, for example, for the Recent Changes list.

Click on "Upload changes" and your data will be uploaded, saved and visible to everyone else.

See Upload to OSM for further information on uploading.

Conventions in Creating Certain Types of Ways

A couple of other points about creating ways.

  1. Dual-carriage ways (divided roads such as motorways, interstate highways, etc.) should be drawn as two separate parallel ways, with each carriage way being a different direction.
  2. If a street is one-way (including the individual carriage ways of a dual-carriage way), that way should be drawn in the direction of travel.
  3. Key-and-value tagging is case sensitive. All keys should be entered in lower case.

Back to Main Help

Note: See TracWiki for help on using the wiki.