Shapefile field problem
agillesp at VT.EDU
Thu Dec 2 09:58:27 EST 2004
A good amount of fields aren't showing up in MapServer for me. I use
the following PHP script to dump out all layers and their fields for
debugging. Does MapServer have problems with certain data types or
certain values in a row?
Thanks for any help.
for ($i = 0; $i < $map->numlayers; $i++)
$l = $map->getLayer($i);
if ($l->type == 2) // Shape files with data.
$s = $l->getShape(-1, 0);
$vals = $s->values;
while ($fld = current($vals))
More information about the mapserver-users