Hi,
Is there a way to determine field types of a layer (string, number, ...),
using mapscript?
Thanks, Berend
-
Berend Veldkamp
http://www.grontmij.com http://www.grontmij.com
--
View this message in context:
http://n2.nabble.com/Field-type-tp4435623p4435623.html
Sent from the
Berend,
The fields are represented as strings in MapServer so the field types cannot
normally be obtained in MapScript. In case of a shapefile layer you could
probably create a shapefileObj and use getDBF to obtain a DBInfo object and
use DBInfo.getFieldType to retrieve the type of a specific