[mapserver-users] get connectiontyp via mapscript

Sven Schroeter schroeter at netgis.de
Thu Mar 5 07:33:27 EST 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