[Geoserver-devel] [JIRA] (GEOS-7215) Geoserver WFS GetFeature requests return incorrect result

Anshuman Nayak created an issue

GeoServer / BugGEOS-7215

Geoserver WFS GetFeature requests return incorrect result

Issue Type:

BugBug

Affects Versions:

2.7.2, 2.4.8

Assignee:

Unassigned

Components:

WFS

Created:

25/Sep/15 2:55 PM

Priority:

MediumMedium

Reporter:

Anshuman Nayak

Hello Team,

We are facing the below issue with WFS GetFeature Request.

That is, Response gives different Feature count with type-name and* without type-name* having same FeatureIDs passed.

Below sample requests are for your reference

case-1: With type-name
http://localhost:8080/geoserver/sf/wfs?REQUEST=GetFeature&version=2.0.0&outputFormat=application/json&typeName=sf:roads&FEATUREID=roads.47,roads.50
Result:- Passed 2 featureids(roads.47,roads.50) as parameter and result gives 2 features
If we will pass 3 featureids as parameter then outcome will be 3

case-2: Without type-name with same feature type
http://localhost:8080/geoserver/sf/wfs?REQUEST=GetFeature&version=2.0.0&outputFormat=application/json&FEATUREID=roads.47,roads.50
Result:- Passed 2 featureids(roads.47,roads.50) as parameter and result gives 4 features
If we will pass 3 featureids as parameter then outcome will be 9

So concern is with 2nd case. We are getting wrong result from the WFS Request.

Thanks

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v7.0.0-OD-06-002#70102-sha1:82bb17d)

Atlassian logo