[Gfoss] Upload di dati OSM in POSTGIS (su Windows 7)

Ciao a tutti,

volevo chiedere quale soluzione posso utilizzare per caricare dati OSM su POSTGIS (su Windows 7)

Ho visto che per osm2pgsql su Windows sul wiki (rif. http://wiki.openstreetmap.org/wiki/Osm2pgsql#Windows), è riportato quanto segue

This version does not appear to handle all objects properly (64-bit problem), checking git not all 32-bit variables for IDs had been caught when this was compiled

e quindi, a meno di ricompilare (che però vorrei evitare se possibile …), mi sembra una strada chiusa.

Ci sono alternative valide? Osmosis? Qualcosa di più “semplice”?

Buona giornata e grazie mille anticipatamente.

Cesare Gerbino

http://cesaregerbino.wordpress.com/
http://www.facebook.com/cesare.gerbino
http://www.facebook.com/pages/Cesare-Gerbino-GIS-Blog/246234455498174?ref=hl
https://twitter.com/CesareGerbino
http://www.linkedin.com/pub/cesare-gerbino/56/494/77b

2014-03-13 8:56 GMT+01:00 cesare gerbino <cesaregerbino@gmail.com>:

Ciao a tutti,

volevo chiedere quale soluzione posso utilizzare per caricare dati OSM su
POSTGIS (su Windows 7)

Ho visto che per osm2pgsql su Windows sul wiki (rif.
http://wiki.openstreetmap.org/wiki/Osm2pgsql#Windows), è riportato quanto
segue

This version does not appear to handle all objects properly (64-bit
problem), checking git not all 32-bit variables for IDs had been caught when
this was compiled

e quindi, a meno di ricompilare (che però vorrei evitare se possibile ...),
mi sembra una strada chiusa.

Ci sono alternative valide? Osmosis? Qualcosa di più "semplice"?

Buona giornata e grazie mille anticipatamente.

ciao Cesare

Un'altra strada e' usare il driver OSM di GDAL:
http://www.gdal.org/ogr/drv_osm.html

ricordati di installare PostGIS htstore se vuoi filtrare sui tag.

ciao
p

--
Paolo Corti
Geospatial software developer
web: http://www.paolocorti.net
twitter: @capooti
skype: capooti