[gdal-dev] help with gdaladdo overviews resolution
Imran Rajjad
rajjad at gmail.com
Sat Jan 1 04:52:43 EST 2011
Hi list,
I`m trying to add overview to a geotiff files that is to be served
through geoserver's image mosaic plugin. I have generated overview of
the file but I`m not sure about what resoltuions to put in the
plugin's properties files.
this is my gdalinfo result of the file
D:\data\coverages>gdalinfo gt1.tif
Driver: GTiff/GeoTIFF
Files: gt1.tif
Size is 11765, 10031
Coordinate System is:
GEOGCS["WGS 84",
DATUM["WGS_1984",
SPHEROID["WGS 84",6378137,298.2572235630016,
AUTHORITY["EPSG","7030"]],
AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433],
AUTHORITY["EPSG","4326"]]
Origin = (74.288700237628234,31.564984425149991)
Pixel Size = (0.000002286186497,-0.000002286186497)
Metadata:
AREA_OR_POINT=Area
TIFFTAG_SOFTWARE=ERDAS IMAGINE
TIFFTAG_XRESOLUTION=1
TIFFTAG_YRESOLUTION=1
TIFFTAG_RESOLUTIONUNIT=1 (unitless)
Image Structure Metadata:
INTERLEAVE=PIXEL
Corner Coordinates:
Upper Left ( 74.2887002, 31.5649844)
Lower Left ( 74.2887002, 31.5420517)
Upper Right ( 74.3155972, 31.5649844)
Lower Right ( 74.3155972, 31.5420517)
Center ( 74.3021487, 31.5535181)
Band 1 Block=11765x1 Type=Byte, ColorInterp=Red
Overviews: 5883x5016, 2942x2508, 1471x1254, 736x627
Metadata:
LAYER_TYPE=athematic
Band 2 Block=11765x1 Type=Byte, ColorInterp=Green
Overviews: 5883x5016, 2942x2508, 1471x1254, 736x627
Metadata:
LAYER_TYPE=athematic
Band 3 Block=11765x1 Type=Byte, ColorInterp=Blue
Overviews: 5883x5016, 2942x2508, 1471x1254, 736x627
Metadata:
LAYER_TYPE=athematic
previously this is how I added over views
D:\data\coverages>gdaladdo -r average gt1.tif 2 4 8 16
now I have to give a resolution for the imagic mosiac plugin for each
overview, is there anyway I can find the pixel resultion for each
overview.
regards,
Imran
--
I.R
More information about the gdal-dev
mailing list