[Mapserver-users] #features for layer in php/mapscript?
Vincent Schut
schut at sarvision.com
Mon Apr 28 07:54:52 PDT 2003
Sorry, I should add some system info: linux, more or less latest GDAL/GD2/FT2,
php 4.3.1, mapserver3.7dev from 1 or 2 weeks ago.
Hi all,
is there a way to determine the number of features (polygons, lines...) of a
layerObj in php/mapscript?
I'm playing around with the $layer->getshape() function, but I have to provide
it a shapeindex which appears to be a feature index. However, I can't find a
way to determine the max shapeindex for a particular layer (without
seperately opening the dbf file). Am I overlooking something?
--
______________________________________
Vincent Schut (schut at sarvision.com)
Sarvision B.V.
Wageningen, The Netherlands
www.sarvision.com
More information about the MapServer-users
mailing list