[gdal-dev] gdal_translate upside down image
Greg Ederer
greg at ergonosis.com
Fri Jan 16 15:37:56 EST 2009
Hi,
I'm running gdal_translate against a VRT file:
<VRTDataset rasterXSize="751" rasterYSize="801">
<GeoTransform>-20.05, 0.1, 0.0, 40.05, 0.0, -0.1</GeoTransform>
<SRS>
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"]]
</SRS>
<VRTRasterBand dataType="Float32" band="1"
subClass="VRTRawRasterBand">
<SourceFilename relativetoVRT="1">10day_precip.bin.1999121</
SourceFilename>
<ImageOffset>0</ImageOffset>
<PixelOffset>4</PixelOffset>
<LineOffset>3004</LineOffset>
<ByteOrder>MSB</ByteOrder>
<NoDataValue>-999.0</NoDataValue>
</VRTRasterBand>
</VRTDataset>
I just noticed that the resulting GeoTIFF is upside down. Is this a
problem with my GeoTransform values? If so, what values would produce
the image right side up?
Thanks!
Greg
More information about the gdal-dev
mailing list