[mapserver-dev] MS_FOLLOW
Stephen Woodbridge
woodbri at swoodbridge.com
Wed Feb 17 09:34:43 EST 2010
What does the LAYER block look like in the mapfile?
Are you using Truetype fonts?
-Steve W
Robert Pivalone wrote:
> Hi,
>
> I have some troubles with PHP Mapscript (MapServer 5.4.2) and MS_FOLLOW.
>
>
>
> I would like to set the "ANGLE" property of a LabelObj with the value
> "FOLLOW".
>
>
>
> With the following code :
> $oMap = ms_newMapObj($szMapFile);
> $oLayer = $oMap->getLayerByName("layer3"); // type LINE
> $oClass = $oLayer->getClass(0);
> $oLabel = $oClass->label;
> $oLabel->set('autoangle', MS_FOLLOW);
> $oMap->save($szMapFile);
>
>
>
> In the mapfile, when "ANGLE" property was ANGLE 33 or ANGLE [angle] or
> ANGLE AUTO, "ANGLE" property doesn't change. Have you got any idea ?
>
> Many thanks.
>
> Robert
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-dev
More information about the mapserver-dev
mailing list