[Geoserver-devel] [JIRA] (GEOS-8192) Spatial CQL_FILTER not working with WFS GetFeature (POST) but attribute CQL_FILTER works fine.

Phil Scadden created an issue

GeoServer / BugGEOS-8192

Spatial CQL_FILTER not working with WFS GetFeature (POST) but attribute CQL_FILTER works fine.

Issue Type:

BugBug

Affects Versions:

2.11.0

Assignee:

Unassigned

Components:

WFS

Created:

21/Jun/17 11:07 PM

Environment:

Geoserver on Linux and Geoserver on WIndows

Priority:

MediumMedium

Reporter:

Phil Scadden

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.

Add Comment

Add Comment

Get JIRA notifications on your phone! Download the JIRA Cloud app here.


This message was sent by Atlassian JIRA (v1000.1075.0#100051-sha1:de66d4e)

Atlassian logo