[url]http://hi.baidu.com/jmugis/blog/item/aba897883c93f097a5c272f9.html[/url]
点选点状数据的实现方法,
1将点转化为一个小矩形,
2<wfs:Query typeName="topp:states">
<wfs:PropertyName>topp:STATE_NAME</wfs:PropertyName>
<wfs:PropertyName>topp:PERSONS</wfs:PropertyName>
<ogc:Filter>
<ogc:BBOX>
<ogc:PropertyName>the_geom</ogc:PropertyName>
<gml:Box srsName="http://www.opengis.net/gml/srs/epsg.xml#4326">
<gml:coordinates>-75.102613,40.212597 -72.361859,41.512517</gml:coordinates>
</gml:Box>
</ogc:BBOX>
</ogc:Filter>
</wfs:Query>
WFS请求某一圆周范围的地图要素
<ogc:Filter>
<ogc:DWithin>
<ogc:PropertyName>the_geom</ogc:PropertyName>
<gml:Point>
<gml:coordinates>540000,4210000</gml:coordinates>
</gml:Point>
<ogc:Distance unit="m">600</ogc:Distance>
</ogc:DWithin>
</ogc:Filter>
点选点状数据的实现方法,
1将点转化为一个小矩形,
2<wfs:Query typeName="topp:states">
<wfs:PropertyName>topp:STATE_NAME</wfs:PropertyName>
<wfs:PropertyName>topp:PERSONS</wfs:PropertyName>
<ogc:Filter>
<ogc:BBOX>
<ogc:PropertyName>the_geom</ogc:PropertyName>
<gml:Box srsName="http://www.opengis.net/gml/srs/epsg.xml#4326">
<gml:coordinates>-75.102613,40.212597 -72.361859,41.512517</gml:coordinates>
</gml:Box>
</ogc:BBOX>
</ogc:Filter>
</wfs:Query>
WFS请求某一圆周范围的地图要素
<ogc:Filter>
<ogc:DWithin>
<ogc:PropertyName>the_geom</ogc:PropertyName>
<gml:Point>
<gml:coordinates>540000,4210000</gml:coordinates>
</gml:Point>
<ogc:Distance unit="m">600</ogc:Distance>
</ogc:DWithin>
</ogc:Filter>