Rotate Map with Mapserv

rich.fromm nospam420 at YAHOO.COM
Fri Dec 7 20:52:03 EST 2007


Rodrigo Haas-2 wrote:
> 
> The angle rotate works in mapserver 4.10.3 version?
> In CGI mode and mapscript?
> 

My only personal experience is with mapserver 5.0.0, so I can't speak for
sure.

Also, the docs at:
http://mapserver.gis.umn.edu/docs/reference/mapfile/mapObj
do not make it entirely clear to which version of mapserver they refer to. 
However, having found several instances of 5.0 features that are NOT
accurately represented in the docs, I would guess that they more accurately
represent 4.10.  Also, I do not see anything about ANGLE being added as of
5.0 according to:
http://trac.osgeo.org/mapserver/browser/tags/rel-5-0-0/mapserver/MIGRATION_GUIDE.TXT
So I would guess that it would work.  But you probably ought to just try.

As I already mentioned, the docs claim it only works in mapscript, but my
personal experience is that I have gotten it to work in CGI.  However, if
you go to the wiki page mentioned previously:
http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?MapRotation
It seems that there is a caveat there, that the rotation is not preserved in
browse mode (I think that's what the opposite of map mode is called, sorry
if I have the name wrong).  I use map mode, so that doesn't matter to me. 
Ymmv.

Hope that helps,
- Rich

-- 
View this message in context: http://www.nabble.com/Rotate-Map-with-Mapserv-tf4953219.html#a14224362
Sent from the Mapserver - User mailing list archive at Nabble.com.



More information about the mapserver-users mailing list