[gdal-dev] How to handle private (system) tables which a caller may explicitly want

2021-08-21 Thread Nyall Dawson
Hi list, Looking for some advice here on the best way to handle a particular situation in some particular GDAL formats, specifically formats which have a bunch of internal or system tables which we don't want to expose to users in 99.9% of cases BUT still allowing the 0.01% to explicitly g

Re: [gdal-dev] Puzzled about gdal_translate return all white image...

2021-08-21 Thread Even Rouault
Is there any way to check for this or protect against it from the client side, or do you just have to be experienced with a given WMS service? Not much to do on the client side, except checking that if you got a all-white image, it is probably not what you want, and retry at a coarser resol

Re: [gdal-dev] Puzzled about gdal_translate return all white image...

2021-08-21 Thread Carl Godkin
Hi Even, Thank you for the reply. It occurred to me that the server might be missing the data. I changed my little script to use "-outsize 2000 0" and it works fine. Is there any way to check for this or protect against it from the client side, or do you just have to be experienced with a give

Re: [gdal-dev] Puzzled about gdal_translate return all white image...

2021-08-21 Thread Even Rouault
Nothing wrong from your side, but the second command probably selects a higher zoom level that has blank data given the configuration/data available on the server side. Le 21/08/2021 à 03:36, Carl Godkin a écrit : Hi, I'm very puzzled about why gdal_translate (v. 3.3.1) returns an all-white i