[mapserver-users] get connectiontyp via mapscript

Sven Schroeter schroeter at netgis.de
Thu Mar 5 04:33:27 PST 2009


Hi all,

I try to get the connectiontyp via mapscript, this works:

$layer = $map->getLayerByName($qlayer);
$contyp = $layer->connectiontype;

I get back a "1" for shapefiles and a "6" for Postgis-layers.

Where can I find the other types?

Thanks
Sven




More information about the MapServer-users mailing list