request=GetFeature&service=wfs&version=1.1.0&outputFormat=application/json&typeName=gns:pg_borehole_view&srsName=EPSG:4326&cql_filter=INTERSECTS(shape, POLYGON((171.05712890625 -41.459195379507065, 174.00146484375 -43.468867614829236, 172.79296875 -44.8714427501659, 169.541015625 -42.827638636242284, 171.05712890625 -41.459195379507065))) With header: Content-Type: application/x-www-form-urlencoded is returning an empty feature collection. A WMS Getmap with the same CQL_Filter returns the expected results. At first I thought there might be issue with getfeature and POST but request=GetFeature&service=wfs&version=1.1.0&outputFormat=application/json&typeName=gns:pg_borehole_view&srsName=EPSG:4326&cql_filter=bh_id IN (5,6) works as expected. |