[mapserver-users] creating classes with mapscript again
Nicolau Werneck
nwerneck at yahoo.com.br
Wed Dec 26 11:37:46 PST 2001
and again and again and again ...
see, i'm trying to create a simple class but it
refuses to work!
$cla =
ms_newClassObj($map->getLayerByName("empresas"));
$cla->setexpression("/./");
$cla->symbol=0;
$cla->color=$map->addColor(0, 0, 0);
it's simply blank! the layer is OK, and i have
creates classes on it from inside the .map file!...
omitting the setexpression also doesn't work...
shouldn't it be equivalent to set all the features as
belonging to the class?
thanks...
++nicolau
_______________________________________________________________________________________________
Yahoo! GeoCities
Tenha seu lugar na Web. Construa hoje mesmo sua home page no Yahoo! GeoCities. É fácil e grátis!
http://br.geocities.yahoo.com/
More information about the MapServer-users
mailing list