方法一:Filter(这个貌似是空间查询?<Filter><PropertyName>population</PropertyName></Filter>这样可以吗?)
方法二:PROPERTYNAME
参考:https://blog.csdn.net/u010608964/article/details/90181699
https://blog.csdn.net/yrlzmm/article/details/48532035
FILTER详解:Filter是一种基于XML的并且符合OGC规范的语言。SLD用它来实现复杂的Rule选择。WFS在所有需要定位操作对象的地方都会使用Filter。Filter的作用是构建一个表达式,返回值就是Feature的集合,换句话说Filter就如他的名字一般为我们从一个集合中过滤出一个满足我们要求的子集。而过滤的方法就是Filter定义的操作符。Filter定义了三种操作符:地理操作符(Spatial operators),比较操作符(Comparison operators)和逻辑操作符(Logical operators)。
<Filter> <And> <PropertyIsGreaterThan> <PropertyName>population</PropertyName> <Literal>10000000</Literal> </PropertyIsGreaterThan> <BBOX> <PropertyName>geom</PropertyName> <Envelope srsName="EPSG:4326"> <lowerCorner>-180 -90</lowerCorner> <upperCorner>180 90</upperCorner> </Envelope> </BBOX> </And> </Filter>
;propertyName=cat可以控制返回的属性,多个属性中间用逗号隔开
>>更多:https://www.cnblogs.com/2008nmj/p/15791485.html
>>更多:https://blog.csdn.net/chaoyang89111/article/details/89490396(geoserver 官方文档翻译(其一)----- CQL and ECQL cql_filter例子)
>>更多:1.3. III. GML-地理标记语言:https://www.osgeo.cn/doc_ogcstd/html/ogc_standard/ch03_chapter2/chapter.html