Skip to content

Instantly share code, notes, and snippets.

@mpriour
Created June 6, 2012 22:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mpriour/2885245 to your computer and use it in GitHub Desktop.
Save mpriour/2885245 to your computer and use it in GitHub Desktop.
WFS post body
this is the post body that was posted to:
http://sfpark.demo.opengeo.org/geoserver/ows
<wfs:GetFeature xmlns:wfs="http://www.opengis.net/wfs" service="WFS" version="1.1.0" outputFormat="json" 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:CITATION_OPPORTUNITY_VW" srsName="EPSG:900913" xmlns:feature="http://www.sfpark.org/SFenforce"><ogc:Filter xmlns:ogc="http://www.opengis.net/ogc"><ogc:And><ogc:And><ogc:PropertyIsGreaterThan><ogc:PropertyName>PARKING_SESSION_ID</ogc:PropertyName><ogc:Literal>-1</ogc:Literal></ogc:PropertyIsGreaterThan><ogc:Or><ogc:PropertyIsEqualTo matchCase="true"><ogc:PropertyName>PCO_BEAT</ogc:PropertyName><ogc:Literal>110</ogc:Literal></ogc:PropertyIsEqualTo><ogc:PropertyIsEqualTo matchCase="true"><ogc:PropertyName>PCO_BEAT</ogc:PropertyName><ogc:Literal>111</ogc:Literal></ogc:PropertyIsEqualTo></ogc:Or></ogc:And><ogc:BBOX><ogc:PropertyName>GEOM</ogc:PropertyName><gml:Envelope xmlns:gml="http://www.opengis.net/gml" srsName="EPSG:900913"><gml:lowerCorner>-13629666.297231 4551041.0464584</gml:lowerCorner><gml:upperCorner>-13625080.075535 4553272.0522212</gml:upperCorner></gml:Envelope></ogc:BBOX></ogc:And></ogc:Filter></wfs:Query></wfs:GetFeature>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment