<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML con formato previo Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.HTMLconformatoprevioCar
        {mso-style-name:"HTML con formato previo Car";
        mso-style-priority:99;
        mso-style-link:"HTML con formato previo";
        font-family:Consolas;
        color:black;}
span.EstiloCorreo19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=ES link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thanks </span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>Yewondwossen,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>I am going to try to build from source (I have never donde it before) and update the bug </span><span lang=EN-US style='font-size:10.0pt;font-family:Wingdings;color:windowtext'>J</span><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>Best regards,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>Joaquín</span><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>De:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> Yewondwossen Assefa [mailto:yassefa@dmsolutions.ca] <br><b>Enviado el:</b> martes, 29 de marzo de 2011 22:33<br><b>Para:</b> Joaquín Rodriguez-Guerra Urcelay<br><b>CC:</b> mapserver-users@lists.osgeo.org<br><b>Asunto:</b> Re: [mapserver-users] WFS Intersect with gml:box<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Hi,<br><br>&nbsp;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.<br>I have added a <a href="http://trac.osgeo.org/mapserver/ticket/3789">bug </a>[1] on it, so if you have the chance to build from source, please give it a try and update the bug.<br><br>best regards,<br><br><br>[1]: <a href="http://trac.osgeo.org/mapserver/ticket/3789">http://trac.osgeo.org/mapserver/ticket/3789</a><br><br>On 29/03/2011 1:18 PM, Joaquín Rodriguez-Guerra Urcelay wrote: <o:p></o:p></p><pre>Hello list, <o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>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.<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>uDig sends a intersects spatial filter to obtain features in a bounding box:<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre><a href="http://localhost:8080/cgi-bin/mywfs?WIDTH=512&amp;SERVICE=WFS&amp;VERSION=1.0.0&amp;request=getfeature&amp;typename=PositionReal&amp;Filter=">http://localhost:8080/cgi-bin/mywfs?WIDTH=512&amp;SERVICE=WFS&amp;VERSION=1.0.0&amp;request=getfeature&amp;typename=PositionReal&amp;Filter=</a><o:p></o:p></pre><pre>&lt;Filter xmlns=<a href="http://www.opengis.net/ogc">&quot;http://www.opengis.net/ogc&quot;</a> xmlns:gml=<a href="http://www.opengis.net/gml">&quot;http://www.opengis.net/gml&quot;</a>&gt;&lt;Intersects&gt;&lt;PropertyName&gt;point&lt;/PropertyName&gt;<o:p></o:p></pre><pre>&lt;gml:Box srsName=&quot;WGS84(DD)&quot;&gt;&lt;gml:coordinates decimal=&quot;.&quot; cs=&quot;,&quot; ts=&quot; &quot;&gt;-100.0,-45.0 100.0,45.0&lt;/gml:coordinates&gt;<o:p></o:p></pre><pre>&lt;/gml:Box&gt;<o:p></o:p></pre><pre>&lt;/Intersects&gt;<o:p></o:p></pre><pre>&lt;/Filter&gt;<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>But it is not working :(<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>&lt;ServiceExceptionReport version=&quot;1.2.0&quot; xsi:schemaLocation=<a href="http://www.opengis.net/ogchttp:/schemas.opengis.net/wfs/1.0.0/OGC-exception.xsd">&quot;http://www.opengis.net/ogc http://schemas.opengis.net/wfs/1.0.0/OGC-exception.xsd&quot;</a>&gt;<o:p></o:p></pre><pre>&lt;ServiceException code=&quot;InvalidParameterValue&quot; locator=&quot;filter&quot;&gt;<o:p></o:p></pre><pre>msWFSGetFeature(): WFS server error. Invalid or Unsupported FILTER in GetFeature : &lt;Filter xmlns=<a href="http://www.opengis.net/ogc">&quot;http://www.opengis.net/ogc&quot;</a> xmlns:gml=<a href="http://www.opengis.net/gml">&quot;http://www.opengis.net/gml&quot;</a>&gt;&lt;Intersects&gt;&lt;PropertyName&gt;point&lt;/PropertyName&gt;&lt;gml:Box srsName=&quot;WGS84(DD)&quot;&gt;&lt;gml:coordinates decimal=&quot;.&quot; cs=&quot;,&quot; ts=&quot; &quot;&gt;-100.0,-45.0 100.0,45.0&lt;/gml:coordinates&gt;&lt;/gml:Box&gt;&lt;/Intersects&gt;&lt;/Filter&gt;<o:p></o:p></pre><pre>&lt;/ServiceException&gt;<o:p></o:p></pre><pre>&lt;/ServiceExceptionReport&gt;<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>I have checked that the BBOX filter works perfectly ( I just replaced Intersects with BBOX in the above url)<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre><a href="http://localhost:8080/cgi-bin/mywfs?WIDTH=512&amp;SERVICE=WFS&amp;VERSION=1.0.0&amp;request=getfeature&amp;typename=PositionReal&amp;Filter=">http://localhost:8080/cgi-bin/mywfs?WIDTH=512&amp;SERVICE=WFS&amp;VERSION=1.0.0&amp;request=getfeature&amp;typename=PositionReal&amp;Filter=</a><o:p></o:p></pre><pre>&lt;Filter xmlns=<a href="http://www.opengis.net/ogc">&quot;http://www.opengis.net/ogc&quot;</a> xmlns:gml=<a href="http://www.opengis.net/gml">&quot;http://www.opengis.net/gml&quot;</a>&gt;&lt;BBOX&gt;&lt;PropertyName&gt;point&lt;/PropertyName&gt;<o:p></o:p></pre><pre>&lt;gml:Box srsName=&quot;WGS84(DD)&quot;&gt;&lt;gml:coordinates decimal=&quot;.&quot; cs=&quot;,&quot; ts=&quot; &quot;&gt;-100.0,-45.0 100.0,45.0&lt;/gml:coordinates&gt;<o:p></o:p></pre><pre>&lt;/gml:Box&gt;<o:p></o:p></pre><pre>&lt;/BBOX&gt;<o:p></o:p></pre><pre>&lt;/Filter&gt;<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>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.<o:p></o:p></pre><pre> I have seen some examples of intersects used with gml:polygon, but it should work too with box, right??<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>Thanks for reading!<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>Joaquín<o:p></o:p></pre><pre>______________________<o:p></o:p></pre><pre>This message including any attachments may contain confidential <o:p></o:p></pre><pre>information, according to our Information Security Management System,<o:p></o:p></pre><pre> and intended solely for a specific individual to whom they are addressed.<o:p></o:p></pre><pre> Any unauthorised copy, disclosure or distribution of this message<o:p></o:p></pre><pre> is strictly forbidden. If you have received this transmission in error,<o:p></o:p></pre><pre> please notify the sender immediately and delete it.<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>______________________<o:p></o:p></pre><pre>Este mensaje, y en su caso, cualquier fichero anexo al mismo,<o:p></o:p></pre><pre> puede contener informacion clasificada por su emisor como confidencial<o:p></o:p></pre><pre> en el marco de su Sistema de Gestion de Seguridad de la <o:p></o:p></pre><pre>Informacion siendo para uso exclusivo del destinatario, quedando <o:p></o:p></pre><pre>prohibida su divulgacion copia o distribucion a terceros sin la <o:p></o:p></pre><pre>autorizacion expresa del remitente. Si Vd. ha recibido este mensaje <o:p></o:p></pre><pre> erroneamente, se ruega lo notifique al remitente y proceda a su borrado. <o:p></o:p></pre><pre>Gracias por su colaboracion.<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>______________________<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>_______________________________________________<o:p></o:p></pre><pre>mapserver-users mailing list<o:p></o:p></pre><pre><a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><o:p></o:p></pre><pre><a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><p class=MsoNormal><br><br><br><o:p></o:p></p><pre>-- <o:p></o:p></pre><pre>----------------------------------------------------------------<o:p></o:p></pre><pre>Assefa Yewondwossen           <o:p></o:p></pre><pre>Software Analyst   <o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>Email: <a href="mailto:yassefa@dmsolutions.ca">yassefa@dmsolutions.ca</a>    <o:p></o:p></pre><pre><a href="http://www.dmsolutions.ca/">http://www.dmsolutions.ca/</a><o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>Phone: (613) 565-5056 (ext 14)<o:p></o:p></pre><pre>Fax:   (613) 565-0925<o:p></o:p></pre><pre>----------------------------------------------------------------<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre></div><p>
<! English>
<font size=1 color=gray face=Arial><span style='font-size:
8.0pt;font-family:Arial;color:gray'><hr size=2 width='100%' align=center>
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.
</span></font>
<! Spanish>
<font size=1 color=gray face=Arial><span style='font-size:
8.0pt;font-family:Arial;color:gray'><hr size=2 width='100%' align=center>
Este mensaje, y en su caso, cualquier fichero anexo al mismo, puede contener
información clasificada por su emisor como confidencial en el marco de su
Sistema de Gestión de Seguridad de la Información siendo para uso 
exclusivo del destinatario, quedando prohibida su divulgación copia o 
distribución a terceros sin la autorización expresa del remitente. 
Si Vd. ha recibido este mensaje erróneamente, se ruega lo notifique al 
remitente y proceda a su borrado.
</span></font><font size=1 color=gray face=Arial><span lang=EN-GB
style='font-size:8.0pt;font-family:Arial;color:gray'>Gracias por su
colaboración.<o:p></o:p></span></font>
<! Portuguese>
<font size=1 color=gray face=Arial><span style='font-size:
8.0pt;font-family:Arial;color:gray'><hr size=2 width='100%' align=center>
Esta mensagem, incluindo qualquer ficheiro anexo, pode conter informação confidencial, 
de acordo com nosso Sistema de Gestão de Segurança da Informação, sendo para uso exclusivo 
do destinatário e estando proibida a sua divulgação, cópia ou distribuição a terceiros 
sem autorização expressa do remetente da mesma. Se recebeu esta mensagem por engano, 
por favor avise de imediato o remetente e apague-a.
</span></font><font size=1 color=gray face=Arial><span lang=EN-GB
style='font-size:8.0pt;font-family:Arial;color:gray'>Obrigado pela sua colaboração.
<o:p></o:p></span></font>

<hr size=2 width='100%' align=center></p>
</body></html>