[gdal-dev] XMP in COG

2020-10-01 Thread Javier Jimenez Shaw
Hi I have seen that XMP is not copied into a COG file when CreateCopy is called. Actually it is also not done in CreateCopy of GTiff. Does it make sense to include the copy of this metadata automatically? And what about other metadata? Thanks. Regards Javier. .___ ._ ..._ .. . ._. .___ .. __ .

Re: [gdal-dev] How does it work FEATURE_SERVER_PAGING?

2020-10-01 Thread aborruso
Hi Even, if you write that it works, it is not necessary for me to verify this using the gdal docker build. I'm sure it works. I have compiled it again using these steps wget http://download.osgeo.org/gdal/2.4.4/gdal244.zip unzip gdal244.zip cd ./gdal-2.4.4 ./configure --prefix=/usr/local --with-

Re: [gdal-dev] How does it work FEATURE_SERVER_PAGING?

2020-10-01 Thread Even Rouault
> Warning 1: GDAL was built against curl 7.70.0, but is running against > 7.68.0. Runtime failure is likely ! Warnings are meant to be taken seriously, especially when formulated that way! Your above command works for me on 2.4.4 with a proper build. You could use a Docker build for example: ht

Re: [gdal-dev] How does it work FEATURE_SERVER_PAGING?

2020-10-01 Thread aborruso
Hi, if I run the command below in my "GDAL 2.4.4, released 2020/01/08" ogr2ogr aout.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 I have 1000 geojso

Re: [gdal-dev] Using GDALRPCTransform with a pre-loaded DEM

2020-10-01 Thread Even Rouault
On jeudi 1 octobre 2020 17:17:41 CEST Julien Osman wrote: > Dear Frank, > > Thank you for this great advice. It seems to be the best options. > > Nevertheless, I fail to make it work. I use the SRTM DEM, witch consist > of a bunch of files in a directory. So I load each file in a Dataset, > then

Re: [gdal-dev] How does it work FEATURE_SERVER_PAGING?

2020-10-01 Thread Even Rouault
On jeudi 1 octobre 2020 08:17:15 CEST jratike80 wrote: > 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

Re: [gdal-dev] Using GDALRPCTransform with a pre-loaded DEM

2020-10-01 Thread Julien Osman
Dear Frank, Thank you for this great advice. It seems to be the best options. Nevertheless, I fail to make it work. I use the SRTM DEM, witch consist of a bunch of files in a directory. So I load each file in a Dataset, then I build a VRT file that I store as a memory dataset. Then I provide this

Re: [gdal-dev] How does it work FEATURE_SERVER_PAGING?

2020-10-01 Thread jratike80
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 sh

Re: [gdal-dev] How does it work FEATURE_SERVER_PAGING?

2020-10-01 Thread Andrew C Aitchison
On Thu, 1 Oct 2020, 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. On Ubunmto 20.04 I also ge

Re: [gdal-dev] How does it work FEATURE_SERVER_PAGING?

2020-10-01 Thread aborruso
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 ? Thank you Warning 1: GDAL was bui