[Gdal-dev] gdalinfo -mm
John Mitchell
mitchelljj98 at gmail.com
Wed May 9 11:42:43 EDT 2007
Hi,
I ran gdalwarp in order to remap the 0,0,0 pixels to 0,0,1 by using
gdalwarp.exe -srcnodata 0 0 0 -dstnodata 0 0 1. After running gdalwarp -mm
it still has the min as being 0.000 even though I know that the pixels were
changed by gdalwarp but why does dgalinfo still have the min value as
0.000for all 3 colors? Gdalinfo dump below:
Driver: GTiff/GeoTIFF
Size is 5446, 4648
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 = (-106.638707850921820,31.877447242680692)
Pixel Size = (0.000002954403722,-0.000002954403722)
Metadata:
AREA_OR_POINT=Area
Corner Coordinates:
Upper Left (-106.6387079, 31.8774472) (106d38'19.35"W, 31d52'38.81"N)
Lower Left (-106.6387079, 31.8637152) (106d38'19.35"W, 31d51'49.37"N)
Upper Right (-106.6226182, 31.8774472) (106d37'21.43"W, 31d52'38.81"N)
Lower Right (-106.6226182, 31.8637152) (106d37'21.43"W, 31d51'49.37"N)
Center (-106.6306630, 31.8705812) (106d37'50.39"W, 31d52'14.09"N)
Band 1 Block=256x256 Type=Byte, ColorInterp=Red
Computed Min/Max=0.000,255.000
NoData Value=1
Band 2 Block=256x256 Type=Byte, ColorInterp=Green
Computed Min/Max=0.000,255.000
NoData Value=1
Band 3 Block=256x256 Type=Byte, ColorInterp=Blue
Computed Min/Max=0.000,255.000
NoData Value=1
Thanks,
--
John J. Mitchell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20070509/ba8b6945/attachment.html
More information about the Gdal-dev
mailing list