[OpenLayers-Users] WFS download entire layer possible?

Jimmy Aumard jimmy.aumard at gmail.com
Wed Oct 21 10:19:03 EDT 2009


Hi everyone,

I try to find a method to download an entire WFS layers but OpenLayers put
the bbox of current viewport.

<wfs:GetFeature xmlns:wfs="http://www.opengis.net/wfs" service="WFS"
version="1.1.0" xsi:schemaLocation="http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.1.0/wfs.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<wfs:Query typeName="feature:franchises" srsName="EPSG:900913"
xmlns:feature="http://www.openplans.org/topp"><ogc:Filter
xmlns:ogc="http://www.opengis.net/ogc">
<ogc:BBOX>
<ogc:PropertyName>the_geom</ogc:PropertyName>
<gml:Envelope xmlns:gml="http://www.opengis.net/gml" srsName="EPSG:900913">
<gml:lowerCorner>-3072157.040273 4777008.5190921</gml:lowerCorner>
<gml:upperCorner>3805952.5117085 7120262.0577829</gml:upperCorner>
</gml:Envelope></ogc:BBOX></ogc:Filter></wfs:Query>
</wfs:GetFeature>

It's possible to give a specific bbox to the request or don't use bbox?
Can you help me?

Cheers

Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20091021/45fcd6db/attachment.html


More information about the Users mailing list