[Proj] Middle Europe projection setup problem

Tamas Janovics tamas.janovics at dopti.hu
Wed Feb 23 06:10:14 EST 2011


Hello!

I use Mapnik with openlayers and postgis database. I have an osm map
from hungary and another hungary map in the postgis/postgresql
database.
When I visualize the maps in my browser i get the following
maps/pictures. See below:
Hungary OSM map:http://img14.imageshack.us/img14/4318/hungaryosm.png
My other Hungary map:http://img7.imageshack.us/img7/2817/hungaryroad.png

My problem is that the projection isn't good enough, because Hungary is 
"thicker" or "higher". My map (not the osm map) is in WGS84 projection, 
and I use this in my mapfile:

<Map srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs"

...

<Layer srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">


I think that the view center of my map is by the 0.0 (lat) and 0.0 (lon) 
coordinates, that's why my maps are "thinner" than on other maps.
Is that really my problem? What should i change in my settings?

Thank you for your help!
Tamas J
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/proj/attachments/20110223/06c174d0/attachment.htm 


More information about the Proj mailing list