[mapserver-users] map setRotation extent

Daniele Debernardi daniele at geosar.ch
Mon Nov 7 07:22:29 PST 2011


Hi,
i'm using php map-server trunk version and i have a strange situation 
when i call
setRotation on the MapObj.
The map get rotated correctly but in the mapObj->extent i get back
minx and miny = 0 and maxx = the width of the map in pixel and maxy = 
the height of the map in pixel,
same values of the mapObj->width and mapObj->height
without the rotation i get the normal extent (example: minx=721700 
miny=117700 maxx=730000 maxy=122000)
projection is correctly configured 
(proj=somerc,lat_0=46.95240555555556,lon_0=0,x_0=0,y_0=0,ellps=bessel,pm=bern,units=m,no_defs)

is a bug or i'm doing something wrong?

in the past versions there wasn't this problem, but i have to use the 
trunk version because i need the new style and label attributes.

thx for help



More information about the MapServer-users mailing list