[OSM-talk] How to import shapefile into OSM

Cristiano Giovando giovand at gmail.com
Wed Jan 30 17:15:58 GMT 2008


On Jan 30, 2008 6:54 AM, Niccolo Rigacci <osm at rigacci.org> wrote:
> Hello,
>
> as a result of the 1st Italian Mapping Party we have some geodata
> freed by the Municipality of Arezzo.
>
> The data is in ESRI shapefile format, any suggestion to convert
> it into OSM? We need to open it in JOSM before upload.
>
> I already managed to reproject into WGS84 and eventually convert
> into GPX, but in this way I lost the tags, e.g. highway names.
>
> It seems to me that the TIGER import scripts are too
> TIGER-centric.


Niccolo,


I replied on the Italian list, but I'll copy here.

I recently used an adapted version of Chris Schmidt's mass_to_osm.py
to import the first road layer for Merano. The script and the
output/input files can be downloaded here [1]. You need OGR and change
the script to reflect the shapefile schema.

It would be nice to have this integrated in JOSM or as a separate
application with a user friendly GUI.


C


[1] http://www.freegis-italia.org/index.php?option=com_docman&task=doc_download&gid=50&Itemid=65




More information about the talk mailing list