你好,可以查考博客: https://www.cnblogs.com/yangzhengier/p/12023940.html
使用Intersects所查询的数据与实际情况不符
原数据
框选面:
查询结果示例图
代码示例:
(<Filter xmlns:gml="http://www.opengis.net/gml" xmlns="http://www.opengis.net/ogc">
<Intersects>
<PropertyName>the_geom</PropertyName>
<gml:Polygon>
<gml:outerBoundaryIs>
<gml:LinearRing>
<gml:coordinates>116.34196675039216,25.831616875136913 116.34241199708863,25.831616875136913 116.34241199708863,25.83190118929249 116.34196675039216,25.83190118929249 116.34196675039216,25.831616875136913</gml:coordinates>
</gml:LinearRing>
</gml:outerBoundaryIs>
</gml:Polygon>
</Intersects>
</Filter>)