[mapserver-users] WFS Intersect with gml:box
Yewondwossen Assefa
yassefa at dmsolutions.ca
Tue Mar 29 13:33:08 PDT 2011
Hi,
I did check that and It was not working for me either. It is now fixed
in trunk and also in the 5.6.x branch.
I have added a bug <http://trac.osgeo.org/mapserver/ticket/3789>[1] on
it, so if you have the chance to build from source, please give it a try
and update the bug.
best regards,
[1]: http://trac.osgeo.org/mapserver/ticket/3789
On 29/03/2011 1:18 PM, Joaquín Rodriguez-Guerra Urcelay wrote:
> Hello list,
>
> I am using a desktop GIS applicatin (uDig) to connect mapserver and display some wfs layers and I am having some trouble when uDig tries to filter features by bounding box.
>
> uDig sends a intersects spatial filter to obtain features in a bounding box:
>
> 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=" ">-100.0,-45.0 100.0,45.0</gml:coordinates>
> </gml:Box>
> </Intersects>
> </Filter>
>
> But it is not working :(
>
> <ServiceExceptionReport version="1.2.0" xsi:schemaLocation="http://www.opengis.net/ogc http://schemas.opengis.net/wfs/1.0.0/OGC-exception.xsd">
> <ServiceException code="InvalidParameterValue" locator="filter">
> msWFSGetFeature(): WFS server error. Invalid or Unsupported FILTER in GetFeature :<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=" ">-100.0,-45.0 100.0,45.0</gml:coordinates></gml:Box></Intersects></Filter>
> </ServiceException>
> </ServiceExceptionReport>
>
> I have checked that the BBOX filter works perfectly ( I just replaced Intersects with BBOX in the above url)
>
> 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=" ">-100.0,-45.0 100.0,45.0</gml:coordinates>
> </gml:Box>
> </BBOX>
> </Filter>
>
> But I cant make the INTERSECTS operation work. I would really appreciate if someone could point me to any examples of the INTERSECT operation used together with gml:box or Box.
> I have seen some examples of intersects used with gml:polygon, but it should work too with box, right??
>
> Thanks for reading!
>
> Joaquín
> ______________________
> 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 at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
--
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst
Email: yassefa at dmsolutions.ca
http://www.dmsolutions.ca/
Phone: (613) 565-5056 (ext 14)
Fax: (613) 565-0925
----------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110329/61e3df72/attachment.htm>
More information about the MapServer-users
mailing list