[gdal-dev] gdal_retile: output isn't georeferenced?

mhw-at-yg matt.wilkie at gov.yk.ca
Fri Mar 12 10:17:54 PST 2021


Is it expected that `gdal_retile -of cog -ps 4096 4096 -t myoutdir
infile.tif` creates files that are not georeferenced?

Using Gdal from QGIS 3.16 on Win10.

~~~
$ gdalinfo --version
GDAL 3.1.4, released 2020/10/20

$ gdalinfo u:.\SPOT6_321_BeaverRiver_08Sep2018_NAD83_YAlbers_01_01.tif.msk
Driver: GTiff/GeoTIFF
Files: u:.\SPOT6_321_BeaverRiver_08Sep2018_NAD83_YAlbers_01_01.tif.msk
Size is 4096, 4096
Metadata:
  INTERNAL_MASK_FLAGS_1=2
  INTERNAL_MASK_FLAGS_2=2
  INTERNAL_MASK_FLAGS_3=2
Image Structure Metadata:
  COMPRESSION=DEFLATE
  INTERLEAVE=BAND
Corner Coordinates:
Upper Left  (    0.0,    0.0)
Lower Left  (    0.0, 4096.0)
Upper Right ( 4096.0,    0.0)
Lower Right ( 4096.0, 4096.0)
Center      ( 2048.0, 2048.0)
Band 1 Block=256x256 Type=Byte, ColorInterp=Gray
~~~





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


More information about the gdal-dev mailing list