[gdal-dev] FEATURE_SERVER_PAGING open option doesn't work for ESRI FeatureServer

Next Stop nextstopsun at gmail.com
Mon Oct 11 06:53:45 PDT 2021


I’ve found this bug when fetching from AGS 10.6 version.
Sorry, I wasn’t aware that URL is outdated, I wrote it just as an example.

> On 11 Oct 2021, at 15:45, Even Rouault <even.rouault at spatialys.com> wrote:
> 
> This service doesn't seem to support paging indeed (funny that a sample server for a service isn't up-to-date...). I've just updated the doc.
> 
> Googling around for "supportsPagination true", I could find a few public services that do work w.r.t paging
> 
> Le 11/10/2021 à 14:30, Rahkonen Jukka (MML) a écrit :
>> Hi,
>> 
>> Do you know if that sampleserver3.arcgisonline.com supports paging? I thought that this query would return one feature but it returns more
>> 
>> http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Hydrography/Watershed173811/FeatureServer/0/query?where=objectid+%3D+objectid&outfields=*&f=json&resultRecordCount=1
>> 
>> The page http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/ suggests that the server version is 10.05 and https://gdal.org/drivers/vector/esrijson.html says that paging is supported for ArcGIS servers >= 10.3.
>> 
>> -Jukka Rahkonen-
>> 
>> -----Alkuperäinen viesti-----
>> Lähettäjä: gdal-dev <gdal-dev-bounces at lists.osgeo.org> Puolesta Next Stop
>> Lähetetty: maanantai 11. lokakuuta 2021 15.03
>> Vastaanottaja: gdal-dev at lists.osgeo.org
>> Aihe: [gdal-dev] FEATURE_SERVER_PAGING open option doesn't work for ESRI FeatureServer
>> 
>> Hi, list!
>> 
>> Setting FEATURE_SERVER_PAGING open option to YES doesn’t help to retrieve all features from ESRI FeatureServer source.
>> 
>> Check this out:
>> 
>> ogrinfo -ro -so -oo FEATURE_SERVER_PAGING=YES "http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Hydrography/Watershed173811/FeatureServer/0/query?where=objectid+%3D+objectid&outfields=*&f=json” ESRIJSON
>> 
>> You’ll still get only first 1000 records.
>> _______________________________________________
>> gdal-dev mailing list
>> gdal-dev at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/gdal-dev
>> _______________________________________________
>> gdal-dev mailing list
>> gdal-dev at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/gdal-dev
> 
> -- 
> http://www.spatialys.com
> My software is free, but my time generally not.
> 



More information about the gdal-dev mailing list