[gdal-dev] How to read tiles size of a tiff

andy aborruso at gmail.com
Tue May 16 23:27:01 PDT 2023


Hi,
I've been having trouble using a tiff on openlayers, and I've found that it
depends on it having a negative tile height (-256).
This is the tiff:
https://andy-aws.s3.eu-north-1.amazonaws.com/sample_dnw_byte.tiff

I'm able to read tiles size in OL, using this

  source.getView().then(() => {
    console.log(source.getTileGrid());
  });

Is there some gdal CLI to read tiles size?
Using gdalinfo it seems to me that I do not have it.

Thank you

-- 
___________________

Andrea Borruso
website: https://medium.com/tantotanto
38° 7' 48" N, 13° 21' 9" E, EPSG:4326
___________________

"cercare e saper riconoscere chi e cosa,
 in mezzo all’inferno, non è inferno,
e farlo durare, e dargli spazio"

Italo Calvino
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20230517/c5442139/attachment.htm>


More information about the gdal-dev mailing list