WFS GetFeature request calls LayerClose on all layers?

Steve Lime steve.lime at DNR.STATE.MN.US
Mon Oct 24 20:07:33 EDT 2005

Hmmmm... That's not coming from the GML writer itself. I just checked the source and the layer is only opened if it has a result set. Must be coming from the query portion of WFS support. Assefa? (Of course he may well send back to me with the base query support, but this has not been an issue elsewhere.)

So, you've got a mapfile with PostGIS layers defined by not PostGIS support?


>>> Bart van den Eijnden <BEN at SYNCERA-ITSOLUTIONS.NL> 10/24/05 6:16 AM >>>
Hi list,

I am trying a GetFeature request for 1 layer/typename which is a shapefile. In my MAP file there are other layers, also PostGIS layers. My CGI version is not compiled with PostGIS support, Mapscript is.

This resulted in the following invalid XML (an error message in the GML), see end of this e-mail.

Why is layerclose called on all layers when only 1 layer (the typename queried) would need to be opened?

        	<gml:Box srsName="EPSG:28992">
        		<gml:coordinates>96537.000000,464064.000000 96537.000000,464064.000000</gml:coordinates>
        <gml:Point srsName="EPSG:28992">
        <stragiMon Oct 24 13:05:22 2005 - msPOSTGISLayerClose(): Query error. msPOSTGISLayerClose called but unimplemented!(mapserver not compiled with postgis support)

Best regards,

Bart van den Eijnden
Syncera IT Solutions
Postbus 270
2600 AG  DELFT 015-7512436
email: BEN at

More information about the mapserver-dev mailing list