yes, this works wonderfully !<br><br>just wondering if this is a MapServer only feature of if it is part of some OGC standard ....<br><br><br><br><div class="gmail_quote">On Thu, Sep 16, 2010 at 4:00 PM, Lime, Steve D (DNR) <span dir="ltr"><<a href="mailto:Steve.Lime@state.mn.us">Steve.Lime@state.mn.us</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div bgcolor="white" link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">In addition, the standard CGI mode=nquery will do this for you
and you can craft WFS filters to do so as well.</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Steve</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<div>
<div style="border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; padding: 3pt 0in 0in;">
<p class="MsoNormal"><b><span style="font-size: 10pt; color: windowtext;">From:</span></b><span style="font-size: 10pt; color: windowtext;"> <a href="mailto:mapserver-users-bounces@lists.osgeo.org" target="_blank">mapserver-users-bounces@lists.osgeo.org</a>
[mailto:<a href="mailto:mapserver-users-bounces@lists.osgeo.org" target="_blank">mapserver-users-bounces@lists.osgeo.org</a>] <b>On Behalf Of </b>Josh
Hevenor<br>
<b>Sent:</b> Thursday, September 16, 2010 6:50 AM<br>
<b>To:</b> Sebastian E. Ovide<br>
<b>Cc:</b> <a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<b>Subject:</b> Re: [mapserver-users] get polygons that contains a point</span></p>
</div>
</div><div><div></div><div class="h5">
<p class="MsoNormal"> </p>
<p class="MsoNormal">Hi Sebastian<br>
Take a look at the queryByPoint function found here<br>
<a href="http://mapserver.org/mapscript/php/index.html#layerobj" target="_blank">http://mapserver.org/mapscript/php/index.html#layerobj</a>
<br>
<br>
Hope this helps,<br>
Josh<br>
<br>
On 9/16/2010 7:35 AM, Sebastian E. Ovide wrote: </p>
<p class="MsoNormal">Hi All<br>
<br>
I have a OGR Layer. Is there any service that I can use to retrieve all the
polygons from that layer that contain a given point ? So in the request I add
the coordinates and as response I get the polygons that own that point <br>
<br>
thanks<br>
<br clear="all">
<br>
-- <br>
Sebastian E. Ovide<br>
<br>
<br>
<br>
<br>
</p>
<pre> </pre><pre> </pre><pre>_______________________________________________</pre><pre>mapserver-users mailing list</pre><pre><a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a></pre>
<pre><a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a></pre><pre> </pre><pre> </pre><pre> </pre><pre>No virus found in this incoming message.</pre>
<pre>Checked by AVG - <a href="http://www.avg.com" target="_blank">www.avg.com</a> </pre><pre>Version: 8.5.441 / Virus Database: 271.1.1/3136 - Release Date: 09/15/10 06:34:00</pre><pre> </pre></div></div></div>
</div>
</blockquote></div><br><br clear="all"><br>-- <br>Sebastian E. Ovide<br><br><br><br><br>