Hello, I'm using a mapserver version 5.6.5 to do this scenario.
First I do a simple WFS this request [1] that ruturn 51 result [2] with the same geometry, that perfectly correct. Than I do a second request [3] with an intersects on a point who is in the previously return geometry. It returns [4] 51 result that correct , but not with the same attributes than before why ? Thank-you in advance for any response Stéphane Brunner [1] <wfs:GetFeature xmlns:wfs="http://www.opengis.net/wfs" service="WFS" version="1.0.0" maxFeatures="100" xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.0.0/WFS-transaction.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <wfs:Query typeName="feature:Liegenschaft_Query" xmlns:feature="http://mapserver.gis.umn.edu/mapserver"> <ogc:Filter xmlns:ogc="http://www.opengis.net/ogc"> <ogc:PropertyIsEqualTo> <ogc:PropertyName>nummer</ogc:PropertyName> <ogc:Literal>2120</ogc:Literal> </ogc:PropertyIsEqualTo> </ogc:Filter> </wfs:Query> </wfs:GetFeature> [2] <?xml version='1.0' encoding="UTF-8" ?> <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://c2cpc87.camptocamp.com/~sbrunner/mapserv?SERVICE=WFS&VERSION=1.0.0&REQUEST=DescribeFeatureType&TYPENAME=feature:Liegenschaft_Query&OUTPUTFORMAT=XMLSCHEMA"> <gml:boundedBy> <gml:Box srsName="epsg:21781"> <gml:coordinates>663488.649000,244506.687000 663575.087000,244593.655000</gml:coordinates> </gml:Box> </gml:boundedBy> <gml:featureMember> <ms:Liegenschaft_Query fid="Liegenschaft_Query.24036252"> <gml:boundedBy> <gml:Box srsName="epsg:21781"> <gml:coordinates>663488.649000,244506.687000 663575.087000,244593.655000</gml:coordinates> </gml:Box> </gml:boundedBy> <ms:geom> <gml:Polygon srsName="epsg:21781"> <gml:outerBoundaryIs> <gml:LinearRing> <gml:coordinates>663519.558000,244519.561000 663524.395000,244506.687000 663560.161000,244530.308000 663564.616000,244528.134000 663575.087000,244572.566000 663531.859000,244589.916000 663523.952000,244593.655000 663523.182000,244593.575000 663511.622000,244587.452000 663511.316000,244587.984000 663488.649000,244575.660000 663511.325000,244530.838000 663513.944000,244530.420000 663519.558000,244519.561000 </gml:coordinates> </gml:LinearRing> </gml:outerBoundaryIs> </gml:Polygon> </ms:geom> <ms:nummer>2120</ms:nummer> <ms:gemeinde>Wohlen</ms:gemeinde> <ms:gueltigkeit>rechtskraeftig</ms:gueltigkeit> <ms:flgrundb></ms:flgrundb> <ms:quote>1/1</ms:quote> <ms:eigentuemer>***, 1944</ms:eigentuemer> <ms:adresse_lang>***, 5610 Wohlen AG</ms:adresse_lang> </ms:Liegenschaft_Query> </gml:featureMember> .... [3] <wfs:GetFeature xmlns:wfs="http://www.opengis.net/wfs" service="WFS" version="1.0.0" maxFeatures="100" xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.0.0/WFS-transaction.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <wfs:Query typeName="feature:Liegenschaft_Query" xmlns:feature="http://mapserver.gis.umn.edu/mapserver"> <ogc:Filter xmlns:ogc="http://www.opengis.net/ogc"> <ogc:Intersects> <ogc:PropertyName>geom</ogc:PropertyName> <gml:Point xmlns:gml="http://www.opengis.net/gml" srsName="EPSG:21781"> <gml:coordinates decimal="." cs="," ts=" ">663521.368,244554.046</gml:coordinates> </gml:Point> </ogc:Intersects> </ogc:Filter> </wfs:Query> </wfs:GetFeature> [4] <?xml version='1.0' encoding="UTF-8" ?> <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://c2cpc87.camptocamp.com/~sbrunner/mapserv?SERVICE=WFS&VERSION=1.0.0&REQUEST=DescribeFeatureType&TYPENAME=feature:Liegenschaft_Query&OUTPUTFORMAT=XMLSCHEMA"> <gml:boundedBy> <gml:Box srsName="epsg:21781"> <gml:coordinates>663488.649000,244506.687000 663575.087000,244593.655000</gml:coordinates> </gml:Box> </gml:boundedBy> <gml:featureMember> <ms:Liegenschaft_Query fid="Liegenschaft_Query.24036252"> <gml:boundedBy> <gml:Box srsName="epsg:21781"> <gml:coordinates>663488.649000,244506.687000 663575.087000,244593.655000</gml:coordinates> </gml:Box> </gml:boundedBy> <ms:geom> <gml:Polygon srsName="epsg:21781"> <gml:outerBoundaryIs> <gml:LinearRing> <gml:coordinates>663519.558000,244519.561000 663524.395000,244506.687000 663560.161000,244530.308000 663564.616000,244528.134000 663575.087000,244572.566000 663531.859000,244589.916000 663523.952000,244593.655000 663523.182000,244593.575000 663511.622000,244587.452000 663511.316000,244587.984000 663488.649000,244575.660000 663511.325000,244530.838000 663513.944000,244530.420000 663519.558000,244519.561000 </gml:coordinates> </gml:LinearRing> </gml:outerBoundaryIs> </gml:Polygon> </ms:geom> <ms:nummer>2120</ms:nummer> <ms:gemeinde>Wohlen</ms:gemeinde> <ms:gueltigkeit>rechtskraeftig</ms:gueltigkeit> <ms:flgrundb>4427</ms:flgrundb> <ms:quote>1000/1000</ms:quote> <ms:eigentuemer>Stockwerkeigentümer Parz. 2120</ms:eigentuemer> <ms:adresse_lang>Rigistrasse, 5610 Wohlen AG</ms:adresse_lang> </ms:Liegenschaft_Query> </gml:featureMember> -- camptocamp.com mapfish.org _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users