[Mapserver-users] Problem with getShape in Mapscript 4.0

braulioen@ono.com braulioen@ono.com
Mon, 14 Jul 2003 12:58:22 +0200


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.

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