| 123456789101112131415161718192021222324252627282930313233 |
- <!-- Performs an intersects against a point. This is functionally -->
- <!-- equivalent to <Not><Disjoint>. This call can be used by a -->
- <!-- client application to select a feature clicked on.
- This will search through the dataset and return any polygons that
- contain the search point.
-
- If you were searching in a point or line dataset, you might want
- to make a little polygon to search with instead of a single point
- so the user doesnt have to *exactly* click on the (mathematically
- infinitely thin) line or point.
- -->
- <wfs:GetFeature service="WFS" version="1.1.0"
- xmlns:topp="http://www.openplans.org/topp"
- xmlns:wfs="http://www.opengis.net/wfs"
- xmlns="http://www.opengis.net/ogc"
- xmlns:gml="http://www.opengis.net/gml"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.opengis.net/wfs
- http://schemas.opengis.net/wfs/1.1.0/wfs.xsd">
- <wfs:Query typeName="topp:states">
- <Filter>
- <Intersects>
- <PropertyName>the_geom</PropertyName>
- <gml:Point srsName="http://www.opengis.net/gml/srs/epsg.xml#4326">
- <gml:coordinates>-74.817265,40.5296504</gml:coordinates>
- </gml:Point>
- </Intersects>
- </Filter>
- </wfs:Query>
- </wfs:GetFeature>
-
|