[gdal-dev] WFS paging - STARTINDEX should start at 0 not 1
Even Rouault
even.rouault at mines-paris.org
Wed Jan 2 22:57:41 PST 2013
Le jeudi 03 janvier 2013 04:23:36, Jeremy Palmer a écrit :
> Hi,
>
> When using OGR WFS driver and paging support the first feature is missed
> when I query a Geoserver 2.1.X WFS 1.1.0 service. This is because OGR
> assumes the WFS STARTINDEX parameter is 1-based.
>
> However it now seems that the OGC standard of STARTINDEX has been clarified
> zero-based. This was chosen because of the ISO committee members heritage
> as C programmers! Found the comment here:
> http://jira.codehaus.org/browse/GEOS-4920
>
> Can OGR please be changed to support a zero-based STARTINDEX?
>
> Note: This is a follow-up to this thread:
>
> http://lists.osgeo.org/pipermail/mapserver-dev/2012-January/011867.html
I see I had created http://trac.osgeo.org/gdal/ticket/4504 . Ping me if it
isn't resolved before 1.10 release. The issue is that MapServer and Deegree in
the wild both assume 1 as the first index (MapServer still does :
https://github.com/mapserver/mapserver/issues/4180 , not sure for Deegree). So
some config option will be likely necessary for people that want to operate
against those versions based before OGC clarification.
More information about the gdal-dev
mailing list