Hi, I'm trying to get WFS working with 6.0.0 Beta RC2.
If i use MapServer 5.6.5 a wfs post request returns the features. If I use MapServer 6.0.0 the same post request responses with ...<gml:null>missing</gml:null>. The BBOX coordinates, the mapfile projection and layer is in EPSG:3763. In the WEB METADATA Block is set 'wfs_srs' 'EPSG:3763' There is no reprojection needed. Is there something I have to consider, when using MapServer Version 6.0.0 and WFS. Arnd POST <wfs:GetFeature xmlns:wfs="http://www.opengis.net/wfs" service="WFS" version="1.0.0" maxFeatures="100"> <wfs:Query typeName="default"> <ogc:Filter xmlns:ogc="http://www.opengis.net/ogc"> <ogc:BBOX> <ogc:PropertyName>msgeometry</ogc:PropertyName> <gml:Box xmlns:gml="http://www.opengis.net/gml" srsName="EPSG:3763"> <gml:coordinates decimal="." cs="," ts=" ">-535786.68671593,-509560.89777426 559489.72019154,364218.61581997</gml:coordinates> </gml:Box> </ogc:BBOX> </ogc:Filter> </wfs:Query> </wfs:GetFeature> RESPONSE MapServer 5.6.5 <?xml version='1.0' encoding="ISO-8859-1" ?> <wfs:FeatureCollection xmlns:ms="http://mapserver.gis.umn.edu/mapserver" xmlns:wfs="http://www.opengis.net/wfs" xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd http://mapserver.gis.umn.edu/mapserver http://dir/mapserv.exe?map=mapfile&Service=WFS&SERVICE=WFS&VERSI ON=1.0.0&REQUEST=DescribeFeatureType&TYPENAME=default&OUTPUTFORM AT=XMLSCHEMA"> <gml:boundedBy> <gml:Box srsName="EPSG:3763"> <gml:coordinates>-21537.507741,-91486.277029 44944.469424,-56235.046915</gml:coordinates> </gml:Box> </gml:boundedBy> <gml:featureMember> <ms:default> <gml:boundedBy> <gml:Box srsName="EPSG:3763"> <gml:coordinates>-21441.941044,-67958.139907 -11234.384166,-56235.046915</gml:coordinates> </gml:Box> </gml:boundedBy> <ms:msGeometry> <gml:Polygon srsName="EPSG:3763"> <gml:outerBoundaryIs> <gml:LinearRing> <gml:coordinates>-21441.941044,-56235.046915 -11234.384166,-56256.314719 -16838.013555,-67958.139907 -21441.941044,-56235.046915 </gml:coordinates> </gml:LinearRing> </gml:outerBoundaryIs> </gml:Polygon> </ms:msGeometry> <ms:name>No 1</ms:name> <ms:descriptio>AREA</ms:descriptio> </ms:default> </gml:featureMember> ... RESPONSE MapServer 6.0.0 <?xml version='1.0' encoding="ISO-8859-1" ?> <wfs:FeatureCollection xmlns:ms="http://mapserver.gis.umn.edu/mapserver" xmlns:wfs="http://www.opengis.net/wfs" xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd http://mapserver.gis.umn.edu/mapserver http://dir/mapserv.exe?map=mapfile&Service=WFS&SERVICE=WFS&VERSI ON=1.0.0&REQUEST=DescribeFeatureType&TYPENAME=default&OUTPUTFORM AT=XMLSCHEMA"> <gml:boundedBy> <gml:null>missing</gml:null> </gml:boundedBy> </wfs:FeatureCollection> LOG Entry [Mon May 09 22:11:54 2011].666000 CGI Request 1 on process 3968 [Mon May 09 22:11:54 2011].666000 msQueryByFilter(): Search returned no results. No matching record(s) found. [Mon May 09 22:11:54 2011].713000 msProjectRect(): some points failed to reproject, doing internal sampling. [Mon May 09 22:11:54 2011].713000 mapserv request processing time (msLoadMap not incl.): 0.047s [Mon May 09 22:11:54 2011].713000 msFreeMap(): freeing map at 0184A9E8. _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
