Skip to content

Instantly share code, notes, and snippets.

@geographika
Created June 10, 2011 15:51
Show Gist options
  • Select an option

  • Save geographika/1019119 to your computer and use it in GitHub Desktop.

Select an option

Save geographika/1019119 to your computer and use it in GitHub Desktop.
Sample WFS Request
<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="Test" srsName="EPSG:900913">
<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>-773942.72965167 6944065.5166421</gml:lowerCorner>
<gml:upperCorner>-768936.10429989 6946745.5899459</gml:upperCorner>
</gml:Envelope>
</ogc:BBOX>
</ogc:Filter>
</wfs:Query>
</wfs:GetFeature>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment