[Mapserver-users] change symbol with mapscipt??

Haiyan Liu hliu@jdbarnes.com
Wed, 14 Apr 2004 09:34:03 -0400


Hi Armin

How about trying getStyle() from the classObj and then use styleObj's
member function setStyle()?

-Haiyan



On Wed, 2004-04-14 at 09:02, ArminWaespy@web.de wrote:
> hello,
> i tried to change  the SYMBOL with mapscript/php like 
> 
>  if ($HTTP_GET_VARS["geo"] and $HTTP_GET_VARS["relief_schummerung"])
>   {
> 		$aLayer = $map->getlayerbyname(geo);
> 		$myClass = $aLayer->getClass(30);
> 		$myClass->set("SYMBOL", sch_gneis);									
>   }
> 
> but it doesn't work.
> there's an error:
> 
> Fatal error: Property 'SYMBOL' does not exist in this object.
> 
> anyone an idea to change the symbol with mapscript/php??
> 
> thanks
> armin
> _____________________________________________________________________
> Der WEB.DE Virenschutz schuetzt Ihr Postfach vor dem Wurm Netsky.A-P!
> Kostenfrei fuer alle FreeMail Nutzer. http://f.web.de/?mc=021157
> 
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users@lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users

_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users