[gdal-dev] How does it work FEATURE_SERVER_PAGING?

jratike80 jukka.rahkonen at maanmittauslaitos.fi
Thu Oct 1 08:17:15 PDT 2020


Hi,

Yes, the result with ogrinfo is the same but probably it is not the right
tool for testing the paging. With paging GDAL is fetching the first page,
puts it somewhere, asks more pages, and finally builds a combined dataset as
a result. If you let GDAL to do its job and check how it went your should
see bigger feature count.

ogr2ogr out.geojson -f GEOJson
"http://sifweb.regione.sicilia.it/arcgis/rest/services/SIF_INCENDI_EXTENDED/MapServer/13/query?where=objectid>0&outfields=*&f=geojson"
-oo FEATURE_SERVER_PAGING=YES --debug on

Maybe ogrinfo should also collect all the data into temporary storage first.

-Jukka-


aborruso wrote
> Hi,
> if I run
> 
> ogrinfo -ro -al
> "http://sifweb.regione.sicilia.it/arcgis/rest/services/SIF_INCENDI_EXTENDED/MapServer/13/query?where=objectid+%3D+objectid&outfields=*&f=geojson"
> -oo FEATURE_SERVER_PAGING=YES
> 
> I have only 1000 items.
> 
> Is it the same for you Jukka ?





--
Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html


More information about the gdal-dev mailing list