[OSM-newbies] Which projection on osm2pgsql?
Mulone
mulone at rome.com
Mon Mar 15 12:17:55 GMT 2010
Hi guys,
I have an issue trying to import OSM data on PostGIS.
I download an xml file from the CloudMade site.
I use this script to import the file into postgis (on Windows):
./osm2pgsql -U userId -W -H myhost -d maps -p myprefix -S default.style -c
-l data.osm.bz2
This works, but when I visualise the spatial data on uDIG the projection is
wrong. The vertical axis is much shorter than it is on regular online maps
(e.g. openstreetmap.org, google maps, etc).
So I read that the OSM data is stored in mercator, and I tried to run the
same script with -m option:
./osm2pgsql -U userId -W -H myhost -d maps -p myprefix -S default.style -c
-m data.osm.bz2
The command works but then I can't visualise any data in uDig.
How can I load OSM data at the right projection?
Cheers,
Mulone
-----
Mulone
PhD student
--
View this message in context: http://n2.nabble.com/Which-projection-on-osm2pgsql-tp4736516p4736516.html
Sent from the Newbies mailing list archive at Nabble.com.
More information about the newbies
mailing list