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

2021-10-11 Thread Next Stop
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  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=*=json=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  Puolesta Next Stop
>> Lähetetty: maanantai 11. lokakuuta 2021 15.03
>> Vastaanottaja: gdal-dev@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=*=json”
>>  ESRIJSON
>> 
>> You’ll still get only first 1000 records.
>> ___
>> gdal-dev mailing list
>> gdal-dev@lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/gdal-dev
>> ___
>> gdal-dev mailing list
>> gdal-dev@lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/gdal-dev
> 
> -- 
> http://www.spatialys.com
> My software is free, but my time generally not.
> 

___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev


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

2021-10-11 Thread Even Rouault
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=*=json=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  Puolesta Next Stop
Lähetetty: maanantai 11. lokakuuta 2021 15.03
Vastaanottaja: gdal-dev@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=*=json”
 ESRIJSON

You’ll still get only first 1000 records.
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev


--
http://www.spatialys.com
My software is free, but my time generally not.

___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev


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

2021-10-11 Thread Rahkonen Jukka (MML)
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=*=json=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  Puolesta Next Stop
Lähetetty: maanantai 11. lokakuuta 2021 15.03
Vastaanottaja: gdal-dev@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=*=json”
 ESRIJSON

You’ll still get only first 1000 records.
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev


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

2021-10-11 Thread Next Stop
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=*=json”
 ESRIJSON

You’ll still get only first 1000 records.
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev