[Mapserver-users] Problem with ShapeObj.
braulioen@ono.com
braulioen@ono.com
Fri, 20 Jun 2003 13:21:43 +0200
Hi at all,
I'm using PHP/Mapscript and I can't read the attributes of a shapefile
of polygons. I read a ShapeObj so and as she appears in the
documentation:
$shapefile = ms_newShapefileObj("C:\vector\mapa", -1); //-1 for read
$shape = $shapefile->getShape(3);
when I read its index I don't have problems
echo $shape->{index}; ------>>>>>> 3
but when I read the values of its attributes:
echo $shape->{numvalues}; ------>>>>>>> 0
and this polygon has two attributes, Why?
Thanks in advance.
Braulio M.
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users