<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
In looking at the geoserver documentation, it shows that a bounding box
filter would be sent by appending the following to the URL request:<br>
<br>
<tt><span class="code-comment">&amp;filter=&lt;ogc:Filter<o:p></o:p></span><br>
</tt><tt><span class="code-comment">xmlns:ogc=<a class="moz-txt-link-rfc2396E" href="http://ogc.org">"http://ogc.org"</a>
xmlns:gml=<a class="moz-txt-link-rfc2396E" href="http://www.opengis.net/gml">"http://www.opengis.net/gml"</a>&gt;<o:p></o:p></span><br>
</tt><tt><span class="code-comment">&lt;ogc:BBOX&gt;<o:p></o:p></span><br>
</tt><tt><span class="code-comment">&lt;ogc:PropertyName&gt;the_geom&lt;/ogc:PropertyName&gt;<o:p></o:p></span><br>
</tt><tt><span class="code-comment">&lt;gml:Box
srsName=<a class="moz-txt-link-rfc2396E" href="http://www.opengis.net/gml/srs/epsg.xml">"http://www.opengis.net/gml/srs/epsg.xml"</a>&gt;<o:p></o:p></span><br>
</tt><tt><span class="code-comment">&lt;gml:coordinates&gt;-73.99,40.76
-73.92,40.80&lt;/gml:coordinates&gt;<o:p></o:p></span><br>
</tt><tt><span class="code-comment">&lt;/gml:Box&gt;<o:p></o:p></span><br>
</tt><tt><span class="code-comment">&lt;/ogc:BBOX&gt;<o:p></o:p></span><br>
<span class="code-comment">&lt;/ogc:Filter&gt;<br>
</span></tt><br>
This is quite wordy and I was wondering if I could user the shorthand
version "&amp;BBOX=" instead of this detailed ogc:Filter string.<br>
David<br>
<br>
Christopher Schmidt wrote:
<blockquote cite="mid:20070911135002.GA25686@metacarta.com" type="cite">
  <pre wrap="">On Tue, Sep 11, 2007 at 08:10:04AM -0400, David Robison wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Is it possible to include BBOX filter as a shorthand parameter to a WFS call? For example, appending "&amp;BBOX--71,42,-70,43" to a WFS call?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
WFS layers include this automatically. Can you provide an example of
what's causing problems for you so we can better understand it?


  </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 

David R Robison
Open Roads Consulting, Inc.
708 S. Battlefield Blvd., Chesapeake, VA 23322
phone: (757) 546-3401
e-mail: <a class="moz-txt-link-abbreviated" href="mailto:drrobison@openroadsconsulting.com">drrobison@openroadsconsulting.com</a>
web: <a class="moz-txt-link-freetext" href="http://openroadsconsulting.com">http://openroadsconsulting.com</a>
blog: <a class="moz-txt-link-freetext" href="http://therobe.blogspot.com">http://therobe.blogspot.com</a>
book: <a class="moz-txt-link-freetext" href="http://www.xulonpress.com/book_detail.php?id=2579">http://www.xulonpress.com/book_detail.php?id=2579</a>

 </pre>
</body>
</html>