wfs 查询

属性查询

http://localhost:8080/DW-MapServer/fgw/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=fgw:tzline

&maxFeatures=50&outputFormat=application/json&CQL_FILTER=id in(1,2,3)

几何查询

box  查询

http://localhost:8080/DW-MapServer/fgw/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=fgw:tzline&

maxFeatures=50&outputFormat=application/json&CQL_FILTER=BBOX(geom,498178.86376097,313653.06381528,498570.90135853,314185.11484054)

POLYGON查询

http://localhost:8080/DW-MapServer/fgw/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=fgw:tzline

&maxFeatures=50&outputFormat=application/json

&CQL_FILTER=INTERSECTS (geom,POLYGON((498178.86376097 498570.90135853,498178.86376097 498570.90135853,498570.90135853 314185.11484054,498570.90135853 498570.90135853,498178.86376097 498570.90135853)))

转载自:https://blog.csdn.net/u010429656/article/details/52175000

You may also like...