php - setexpression

Dieter Lehmann lehmann at fh-nuertingen.de
Tue Jan 16 04:23:00 EST 2001


Hi there,
this do not work....


$poClass = $poLayer->getClass(0);
$poClass->setExpression ("8125048");

this is the error-message:
Fatal error: MapServer Error in getSymbol(): (8125048):(63)



it's running when I set it up in the map file like this:

CLASS 
       NAME test
       EXPRESSION "8125048"
       COLOR 0 128 0 
END # end of class object

I'am able to change with mapscript the colors of this class, but I can't change
the expression.

I'm using LINUX, and the latest nightly-build sources. (with php3).

Any ideas?

Dieter

-- 
___________________________________

Dieter Lehmann 
University of applied Sciences
Schelmenwasen 4-8
D-72622 Nuertingen, Germany
lehmann at fh-nuertingen.de
Phone: +49 (0) 7022 404 Ext. 192 or Ext. 152
Fax: +49 (0) 7022 404 Ext. 166



More information about the mapserver-users mailing list