I Created one generic layer in the GeoServer for the open layer ( OL3) and add a few features in the same layer, I'm trying to do the spatial search but the call is not returning any features.
Here is the post-call I'm making to WFS ( Geoserver ) URL http://xyz:5002/geoserver/wfs
In Form Data we are sending query parameter
cql_filter : INTERSECTS(geometry,POLYGON((13.222566632788059 78.15759658813475,13.201844057837434 78.15141677856444,13.211202857957346 78.17956924438474,13.222900853445154 78.17888259887692,13.222566632788059 78.15759658813475)))
service : WFS
request : GetFeature
version :1.1.0
typename : layerName
outputFormat : json
srsname : EPSG:4326
The result I'm getting
{
"type": "FeatureCollection",
"features": [],
"totalFeatures": 0,
"numberMatched": 0,
"numberReturned": 0,
"timeStamp": "2022-02-03T09:23:51.415Z",
"crs": null
}
Geoserver I'm using 2.20.2
Can anyone please let me know what is the mistake I'm doing when I doing the spatial search query