[gdal-dev] GDAL_RETILE dataset is illegal
Lorenzo Di Giacomo
loridigia at gmail.com
Wed May 25 07:24:05 PDT 2022
Hi, when i try to do gdal_retile -v -pyramidOnly -r bilinear ... this error
occurs:
ERROR 1: Attempt to create 2x0 dataset is illegal,sizes must be larger than
zero.
My Tiff is the following (gdalinfo):
Driver: GTiff/GeoTIFF
Files: /Users/lollo/Desktop/TRANSFORMOUT/Aegean_12km_WRF_WAM_220523-00.tiff
Size is 74, 62
Coordinate System is:
GEOGCRS["WGS 84",
DATUM["World Geodetic System 1984",
ELLIPSOID["WGS 84",6378137,298.257223563,
LENGTHUNIT["metre",1]]],
PRIMEM["Greenwich",0,
ANGLEUNIT["degree",0.0174532925199433]],
CS[ellipsoidal,2],
AXIS["geodetic latitude (Lat)",north,
ORDER[1],
ANGLEUNIT["degree",0.0174532925199433]],
AXIS["geodetic longitude (Lon)",east,
ORDER[2],
ANGLEUNIT["degree",0.0174532925199433]],
ID["EPSG",4326]]
Data axis to CRS axis mapping: 2,1
Origin = (22.029000000000003,41.158000000000001)
Pixel Size = (0.108000000000000,-0.108000000000000)
Metadata:
AREA_OR_POINT=Area
Image Structure Metadata:
INTERLEAVE=PIXEL
Corner Coordinates:
Upper Left ( 22.0290000, 41.1580000) ( 22d 1'44.40"E, 41d 9'28.80"N)
Lower Left ( 22.0290000, 34.4620000) ( 22d 1'44.40"E, 34d27'43.20"N)
Upper Right ( 30.0210000, 41.1580000) ( 30d 1'15.60"E, 41d 9'28.80"N)
Lower Right ( 30.0210000, 34.4620000) ( 30d 1'15.60"E, 34d27'43.20"N)
Center ( 26.0250000, 37.8100000) ( 26d 1'30.00"E, 37d48'36.00"N)
Band 1 Block=74x1 Type=Float64, ColorInterp=Gray
NoData Value=-123456.789000000004
Band 2 Block=74x1 Type=Float64, ColorInterp=Undefined
NoData Value=-123456.789000000004
(Other 724 bands)
Why does this happen? What are the specs of the tiff that make this
happens? Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20220525/bc53b355/attachment.htm>
More information about the gdal-dev
mailing list