WFS GetFeature request calls LayerClose on all layers?

Bart van den Eijnden BEN at SYNCERA-ITSOLUTIONS.NL
Mon Oct 24 07:16:41 EDT 2005


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:featureMember>
      <stragisweb:acn>
        <gml:boundedBy>
        	<gml:Box srsName="EPSG:28992">
        		<gml:coordinates>96537.000000,464064.000000 96537.000000,464064.000000</gml:coordinates>
        	</gml:Box>
        </gml:boundedBy>
        <stragisweb:msGeometry>
        <gml:Point srsName="EPSG:28992">
          <gml:coordinates>96537.000000,464064.000000</gml:coordinates>
        </gml:Point>
        </stragisweb:msGeometry>
        <stragisweb:PSTK>2353TH</stragisweb:PSTK>
        <stragisweb:STRAAT_OFF>Statendaalder</stragisweb:STRAAT_OFF>
        <stragisweb:STRAATNAAM>STATENDAALDER</stragisweb:STRAATNAAM>
        <stragisweb:STRAAT_NEN>Statendaalder</stragisweb:STRAAT_NEN>
        <stragisweb:HUISNUMMER>1</stragisweb:HUISNUMMER>
        <stragisweb:TOEVOEGING></stragisweb:TOEVOEGING>
        <stragiMon Oct 24 13:05:22 2005 - msPOSTGISLayerClose(): Query error. msPOSTGISLayerClose called but unimplemented!(mapserver not compiled with postgis support)
sweb:WOONPLAATS>LEIDERDORP</stragisweb:WOONPLAATS>
        <stragisweb:PLAATS_NEN>LEIDERDORP</stragisweb:PLAATS_NEN>
        <stragisweb:GEMEENTE>LEIDERDORP</stragisweb:GEMEENTE>
        <stragisweb:BVLK_ID>30FZ2002196</stragisweb:BVLK_ID>
        <stragisweb:X>96537</stragisweb:X>
        <stragisweb:Y>464064</stragisweb:Y>
        <stragisweb:KWALITEIT>1</stragisweb:KWALITEIT>
      </stragisweb:acn>
    </gml:featureMember>
</wfs:FeatureCollection>

Best regards,
Bart

Bart van den Eijnden
Syncera IT Solutions
Postbus 270
2600 AG  DELFT

tel.nr.: 015-7512436
email: BEN at Syncera-ITSolutions.nl



More information about the mapserver-dev mailing list