[Mapserver-users] Problem with getShape in Mapscript 4.0

braulioen at ono.com braulioen at ono.com
Mon Jul 14 03:58:22 PDT 2003


Hi,

   I'm trying to read the attributes of an shape object and not it with
himself. The reading I make it according to the documentation:


	$shape=$shapefile->getShape($i);
	$name = $shape->values["name"];

   But $name is empty. Nevertheless, with $shape->bounds, if that I 
can read its extension. Where it can be the problem?

Thanks.
Braulio.




More information about the MapServer-users mailing list