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

Rahkonen Jukka (MML) jukka.rahkonen at maanmittauslaitos.fi
Mon Oct 11 05:30:49 PDT 2021


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


More information about the gdal-dev mailing list