Convertendo ESRI Shapefile para OSM

Inicialmente instale o pacote gdal-bin para obter o programa ogr2ogr:

$ sudo apt-get install gdal-bin

Converta para os mapas EPSG:4326 ou WGS84:

$ ogr2ogr -t_srs EPSG:4326 -s_srs "ESRI::SPSOROPCB.prj" "newSPSOROPCB.shp" "SPSOROPCB.shp"


$ ogr2ogr -t_srs WGS84 -s_srs "ESRI::SPSOROPCB.prj" "newSPSOROPCB.shp" "SPSOROPCB.shp"

Installe o suporte a ShapeFile no perl:

# cpan App::cpanminus

# cpan Geo::ShapeFile

Baixe o script :

$ wget

Converta o shapefile para OSM:


Para visualizar o resultado utilize o JOSM ou outro editor/visualizador para OSM.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s