June 20, 201411 yr Hi there,I encountered a problem with resample for which I do not have a solution:For a side project, I created a FS2004 land classification from Corine Data (2006, 100 m res) and saved it as an 8 bit unsigned integer geotiff using GDAL in QGIS. At this point, everything is fine, the raster values are correct and where they should be. Also the projection of the geotiff is WGS1984, so it appears to be correct. When loading this image into a geotiff viewer it displays correctly: http://min.us/i/DC61uHSc3DRa If I now run this geotiff throught resample.exe, it creates the strangest effect:http://min.us/i/Rcn4Bb9qMehq It seems to split the geotiff in half and exchanges the coordinates between east and west, somehow. The inf looks like that:[Destination]DestDir ="."DestBaseFileName ="..."UseSourceDimensions = 1[source]Type = ClassU8SourceDir = "."SourceFile = "... .tif"Lat = 66.5395509994444438Lon = -24.5326594999999976NumOfCellsPerLine = 8622NumOfLines = 2459CellXdimensionDeg = 0.00128056471806619CellYdimensionDeg = 0.00128049430651575Do any of you guys have any idea of what could cause this resampling "error"? Any hints?Cheers,Andreas Andreas Paul
Create an account or sign in to comment