[mapserver-users] setRotation problem
wyan at ciimar.up.pt
wyan at ciimar.up.pt
Fri Jun 3 07:07:28 PDT 2011
HI,
I wanna use the mapserver's rotation fuction with php script,
but when i used this function the map view rectangle rotated strangely,
I cannot find the rotation regular rules,
enclosed with my simplised php code,
attachments are pics of the results.
appriciate it if you can tell me what's the problems.
regards
william
codes are following
<?php
dl('php_mapscript.dll');
$map=ms_newMapObj("C:/OSGeo4W/apache/htdocs/xxxx.map");
//$roate=$map->setRotation(90);
$roate=$map->setRotation(0.00000001);
//************** here you see, even with a small angle, the
map could not rotated as expection
//echo $roate;
$image=$map->draw();
$image_url=$image->saveWebImage();
?>
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
-----
附件 (链接将在 2012年01月01日 过期)
https://webmail.ciimar.up.pt/imp/attachment.php?u=wyan&t=1307110048&f=before.bmp
https://webmail.ciimar.up.pt/imp/attachment.php?u=wyan&t=1307110048&f=after.bmp
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the MapServer-users
mailing list