[OSM-newbies] Working with shp

Pablo Vega ezquieta at gmail.com
Fri Aug 29 14:45:19 BST 2008


Hello again.
I asked the other day some issues about disconnected editing, but now I
would like to explain better what I want to do, to see if anybody walked
this path before me.

I would like to work correcting topological error in the cartography, in
order to improve the possibilities of using opentreetmap for routing
applications. This is something I would like to for the city on Milano.
A very comfortable way of achieving this is using commercial software, such
as ArcGIS, that has many options for editing, and specially for topological
edits.
But obviously there are some problems dervided, both importing and
exporting.

En exporting from OSM:
- We can export as XML, and there are scripts to export to SHP, but so far I
could not find any that would preserve all the tag information.
- We can download directly from Plante.osm, but not all tags are present
(only type, name, oneway for streets)

So, once I make the geometric corrections on a shp, I wanto to import back
to OSM, and now my questions are:

- How do I do it? Who did this before? Is it about using a script to export
it to .osm and the upload it from JOSM
- If I send vectos that had only the geometry modified, the UPDATE is of the
whole row? I mean, If I have a shp only with the geometry and send it, do I
overwrite the tags of the old vector?

And this is more or less it.

Thank you.

Prima di tutto presentarmi. Mi chiamo Pablo, sono spagnolo e lavoro in
Italia in produzione cartografica per le Nazione Unite. Sono molto
interessato in questo progetto e penso che posso condividere le mie
conoscenze al servizio di OpenStreetMap.
In fatti, sto lavorando con un amico nel mio tempo libero in un progetto
relazionato con il routing per i mezzi pubblici. Abbiamo deciso di
cominciare con Milano, e per questo vogliamo fare alcuni cambi nella
cartografia attuale. Soprattuto sarebbe una questione di correggere la
topologia attuale. Ovviamente, OSM non e pensato per mantenere la topologia
delle strade, e quindi ci sono alcuni errori (concretamente, in torno a 1800
errori). Questo e molto facile di risolvere utilizzando software
professionale come ArcGIS. Il problema e la esportazione e importazione di
data.
Primo problema, esportare da OSM:
-Si può esportare come XML, e dopo ci sono script per esportare a SHP, ma il
problema 'e che non ho trovato ancora nessuna che esporti tutti i tag
-Si può scaricare il planet.osm in formato shp, ma ci sono soltanto alcuni
tag (type, name, oneway)

Quindi, una volta fatte le edizione topologiche, vorrebbemo importare a
openstreetmap un altra volta. I problemi sono:

-Come si fa? Qui lo ha fatto prima? Sarebbe utilizzare un script per
esportare e dopo caricarlo su JOSM e inviarlo?
-Nel shapefile ci saranno tutte le strade. Se inviamo tutte, faremmo un
UPDATE di tutte le strade, o soltanto quelle che sono state modificate?
-Se inviamo strade che hanno avuto la sua geometria modificata, ma non i
tag, i tag vengono modificati? Voglio dire che, se utilizziamo quello di
planet.osm, mancano i tag, allora, quelli taga mancanti son cancellati?

E Più e meno e questo che volevo chiedere. Conoscere esperienze di altri
abbiano fatto una cosa simile.

Grazie

-- 
Pablo Vega
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/newbies/attachments/20080829/96818684/attachment.html>


More information about the newbies mailing list