[gdal-dev] WFS paging - STARTINDEX should start at 0 not 1

Jeremy Palmer JPalmer at linz.govt.nz
Wed Jan 2 19:23:36 PST 2013


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

Cheers,
Jeremy

This message contains information, which is confidential and may be subject to legal privilege. If you are not the intended recipient, you must not peruse, use, disseminate, distribute or copy this message. If you have received this message in error, please notify us immediately (Phone 0800 665 463 or info at linz.govt.nz) and destroy the original message. LINZ accepts no responsibility for changes to this email, or for any attachments, after its transmission from LINZ. Thank You.


More information about the gdal-dev mailing list