[Geoserver-devel] [JIRA] (GEOS-7233) totalFeatures for WFS 2.0 request returns wrong count

Anshuman Nayak created an issue

GeoServer / BugGEOS-7233

totalFeatures for WFS 2.0 request returns wrong count

Issue Type:

BugBug

Affects Versions:

2.4.8

Assignee:

Unassigned

Components:

WFS

Created:

07/Oct/15 2:24 PM

Priority:

MediumMedium

Reporter:

Anshuman Nayak

I am getting wrong totalFeatures count while sending request with count and startIndex as URL parameter.I am getting this error only in the last request for WFS 2.0.For example I have 145 features and I need only 50 features per request then I am getting wrong count in the last request like below.

Request-I
url parameter - count = 50 & startIndex = 0
result - “totalFeatures”:145

Request-II
url parameter- count = 50 & startIndex = 50
result - “totalFeatures”:145

Request-III
url parameter- count = 50 & startIndex = 100
result - “totalFeatures”:45

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v7.0.0-OD-07-011#70107-sha1:db940e9)

Atlassian logo