AndyPaul
Resource contributor
- Messages
- 36
- Country

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.
If I now run this geotiff throught resample.exe, it creates the strangest effect:
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 = ClassU8
SourceDir = "."
SourceFile = "... .tif"
Lat = 66.5395509994444438
Lon = -24.5326594999999976
NumOfCellsPerLine = 8622
NumOfLines = 2459
CellXdimensionDeg = 0.00128056471806619
CellYdimensionDeg = 0.00128049430651575
Do any of you guys have any idea of what could cause this resampling "error"? Any hints?
Cheers,
Andreas
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.
If I now run this geotiff throught resample.exe, it creates the strangest effect:
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 = ClassU8
SourceDir = "."
SourceFile = "... .tif"
Lat = 66.5395509994444438
Lon = -24.5326594999999976
NumOfCellsPerLine = 8622
NumOfLines = 2459
CellXdimensionDeg = 0.00128056471806619
CellYdimensionDeg = 0.00128049430651575
Do any of you guys have any idea of what could cause this resampling "error"? Any hints?
Cheers,
Andreas
Attachments
Last edited:
