Hello, I was finally able to build the source code, and I am not getting the error anymore :D (with Latest Release Branch, with trunk wfs was not working for me)
But I am not getting the result I was expecting. Maybe I am wrong, but I thought that bbox operation would return all geometries contained in the box, and intersect would return all geometries contained in the box and also those who are not contained completely, but a part of them. Is this right?? In the following example I have a point in (10,10), and bbox filter in (-11,-11, -9,-9) returns the point :) http://localhost:8080/cgi-bin/mywfs?WIDTH=512&SERVICE=WFS&VERSION=1.0.0&request=getfeature&typename=PositionReal&Filter= <Filter xmlns="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml"><BBOX><PropertyName>point</PropertyName> <gml:Box srsName="WGS84(DD)"><gml:coordinates decimal="." cs="," ts=" ">-11,-11 -9,-9</gml:coordinates> </gml:Box> </BBOX> </Filter> <?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://localhost:8080/cgi-bin/mywfs?SERVICE=WFS&VERSION=1.0.0&REQUEST=DescribeFeatureType&TYPENAME=PositionReal&OUTPUTFORMAT=XMLSCHEMA"> <gml:boundedBy> <gml:Box srsName="EPSG:4326"> <gml:coordinates>-10.000000,-10.000000 -10.000000,-10.000000</gml:coordinates> </gml:Box> </gml:boundedBy> <gml:featureMember> <ms:PositionReal fid="PositionReal.1"> <gml:boundedBy> <gml:Box srsName="EPSG:4326"> <gml:coordinates>-10.000000,-10.000000 -10.000000,-10.000000</gml:coordinates> </gml:Box> </gml:boundedBy> <ms:msGeometry> <gml:Point srsName="EPSG:4326"> <gml:coordinates>-10.000000,-10.000000</gml:coordinates> </gml:Point> </ms:msGeometry> <ms:id>1</ms:id> </ms:PositionReal> </gml:featureMember> </wfs:FeatureCollection> If I try the same query using intersect operation, I would expect the same result, but I obtain none http://localhost:8080/cgi-bin/mywfs?WIDTH=512&SERVICE=WFS&VERSION=1.0.0&request=getfeature&typename=PositionReal&Filter= <Filter xmlns="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml"><Intersects><PropertyName>point</PropertyName> <gml:Box srsName="WGS84(DD)"><gml:coordinates decimal="." cs="," ts=" ">-11,-11 -9,-9</gml:coordinates> </gml:Box> </Intersects> </Filter> <?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://localhost:8080/cgi-bin/mywfs?SERVICE=WFS&VERSION=1.0.0&REQUEST=DescribeFeatureType&TYPENAME=PositionReal&OUTPUTFORMAT=XMLSCHEMA"> <gml:boundedBy> <gml:Box srsName="EPSG:4326"> <gml:coordinates>-1.000000,-1.000000 -1.000000,-1.000000</gml:coordinates> </gml:Box> </gml:boundedBy> </wfs:FeatureCollection> Forgive me if the results are right, and I just did not understand the operators, I am kind of new Thank you for your help!! PD: It is a shame FGS self-extract installer may not be available anymore, it was fantastic! Joaquín ________________________________________ De: mapserver-users-boun...@lists.osgeo.org [mapserver-users-boun...@lists.osgeo.org] En nombre de Daniel Morissette [dmorisse...@mapgears.com] Enviado el: miércoles, 30 de marzo de 2011 19:57 Para: mapserver-users@lists.osgeo.org Asunto: Re: [mapserver-users] WFS Intersect with gml:box On 11-03-30 01:44 PM, Yewondwossen Assefa wrote: >> > I can not say one way or the other about fgs installer. You can ask on > the fgs mailing list or someone cam comment here. > Unfortunately FGS has fallen down the list of priorities in the last year or so. One of the reasons is that we put more efforts in native packages (e.g. UbuntuGIS, DebianGIS, etc.) and also the fact that we no longer have clients using it and supporting its maintenance. I think there is still a need for FGS in some cases, and we still use it internally for development, but we'd need a new champion to take care of official releases. -- Daniel Morissette http://www.mapgears.com/ Provider of Professional MapServer Support since 2000 _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users ______________________ This message including any attachments may contain confidential information, according to our Information Security Management System, and intended solely for a specific individual to whom they are addressed. Any unauthorised copy, disclosure or distribution of this message is strictly forbidden. If you have received this transmission in error, please notify the sender immediately and delete it. ______________________ Este mensaje, y en su caso, cualquier fichero anexo al mismo, puede contener informacion clasificada por su emisor como confidencial en el marco de su Sistema de Gestion de Seguridad de la Informacion siendo para uso exclusivo del destinatario, quedando prohibida su divulgacion copia o distribucion a terceros sin la autorizacion expresa del remitente. Si Vd. ha recibido este mensaje erroneamente, se ruega lo notifique al remitente y proceda a su borrado. Gracias por su colaboracion. ______________________ _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users