[gdal-dev] gdawrap nodata value
Nikolaos Hatzopoulos
nhatzop at gmail.com
Fri Nov 19 16:59:42 EST 2010
we have an image named evi.tif:
Driver: GTiff/GeoTIFF
Files: evi.tif
evi.tif.aux.xml
Size is 4800, 4800
Coordinate System is:
PROJCS["unnamed",
GEOGCS["Unknown datum based upon the custom spheroid",
DATUM["Not_specified_based_on_custom_spheroid",
SPHEROID["Custom spheroid",6371007.181,0]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433]],
PROJECTION["Sinusoidal"],
PARAMETER["longitude_of_center",0],
PARAMETER["false_easting",0],
PARAMETER["false_northing",0],
UNIT["metre",1,
AUTHORITY["EPSG","9001"]]]
Origin = (1111950.519667000044137,5559752.598333000205457)
Pixel Size = (231.656358263749951,-231.656358263750064)
Metadata:
AREA_OR_POINT=Area
Image Structure Metadata:
INTERLEAVE=BAND
Corner Coordinates:
Upper Left ( 1111950.520, 5559752.598) ( 15d33'26.06"E, 50d 0'0.00"N)
Lower Left ( 1111950.520, 4447802.079) ( 13d 3'14.66"E, 40d 0'0.00"N)
Upper Right ( 2223901.039, 5559752.598) ( 31d 6'52.12"E, 50d 0'0.00"N)
Lower Right ( 2223901.039, 4447802.079) ( 26d 6'29.32"E, 40d 0'0.00"N)
Center ( 1667925.779, 5003777.339) ( 21d12'47.53"E, 45d 0'0.00"N)
Band 1 Block=4800x1 Type=Int16, ColorInterp=Gray
Min=-1958.000 Max=9866.000
Minimum=-1958.000, Maximum=9866.000, Mean=2649.127, StdDev=985.073
NoData Value=-3000
Metadata:
STATISTICS_MINIMUM=-1958
STATISTICS_MAXIMUM=9866
STATISTICS_MEAN=2649.1270908869
STATISTICS_STDDEV=985.07287762024
we will try to convert the projection:
gdalwarp -srcnodata "-3000" -dstnodata "-3000" -t_srs "EPSG:4326" -r near
evi.tif test.tif
gdalinfo test.tif
Driver: GTiff/GeoTIFF
Files: test.tif
test.tif.aux.xml
Size is 8434, 4670
Coordinate System is:
GEOGCS["WGS 84",
DATUM["WGS_1984",
SPHEROID["WGS 84",6378137,298.257223563,
AUTHORITY["EPSG","7030"]],
AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433],
AUTHORITY["EPSG","4326"]]
Origin = (13.054072891468254,49.999999995506890)
Pixel Size = (0.002141488569817,-0.002141488569817)
Metadata:
AREA_OR_POINT=Area
Image Structure Metadata:
INTERLEAVE=BAND
Corner Coordinates:
Upper Left ( 13.0540729, 50.0000000) ( 13d 3'14.66"E, 50d 0'0.00"N)
Lower Left ( 13.0540729, 39.9992484) ( 13d 3'14.66"E, 39d59'57.29"N)
Upper Right ( 31.1153875, 50.0000000) ( 31d 6'55.39"E, 50d 0'0.00"N)
Lower Right ( 31.1153875, 39.9992484) ( 31d 6'55.39"E, 39d59'57.29"N)
Center ( 22.0847302, 44.9996242) ( 22d 5'5.03"E, 44d59'58.65"N)
Band 1 Block=8434x1 Type=Int16, ColorInterp=Gray
Min=-1958.000 Max=9866.000
Minimum=-1958.000, Maximum=9866.000, Mean=1838.460, StdDev=1460.598
Metadata:
STATISTICS_MINIMUM=-1958
STATISTICS_MAXIMUM=9866
STATISTICS_MEAN=1838.4595819714
STATISTICS_STDDEV=1460.5982146014
NoData value is not defined
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20101119/3296e2b2/attachment.html
More information about the gdal-dev
mailing list