[mapserver-users] Mapserver OSM data render problem

Marek Wawoczny gmbh at gazeta.pl
Wed Jan 6 04:33:51 EST 2010


2010/1/5 Rahkonen Jukka <Jukka.Rahkonen at mmmtike.fi>:
> What options did you use when importing data with osm2pgsql?  The mapfile is set to use projection epsg:4326 and that requires the use of some switch with osm2pgsql, perhaps it is -l. README.txt of ogr2pgsql tells about osm2pgsql projections:
>
> Try either by importing data again by using a swith suitable for epsg:4326 or by editing your mapfile to use epsg:900913 instead of epsg:4326.

Hello,

Thank you! It's working now :) Default projection for osm2pgsql is
epsg:900913 (it was changed some time ago) - maybe it's a good idea to
update tutorial and mapnik-utils?

Best regards!
Marek


More information about the mapserver-users mailing list