• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

FS2004 Problem with resample for landclass

AndyPaul

Resource contributor
Messages
36
Country
netherlands
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
 

Attachments

  • raw_geotiff.png
    raw_geotiff.png
    361.2 KB · Views: 404
  • resampled.png
    resampled.png
    89.1 KB · Views: 428
Last edited:

AndyPaul

Resource contributor
Messages
36
Country
netherlands
Problem solved: opened the geotiff in Photoshop and saved as photoshop raw. Does anyone know another software to create those raw files?
 
Top