• 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.

Sources to detect features

dave hoeffgen

Resource contributor
Messages
1,439
Country
germany
hi there,
As far as I could see the source images to detect features in ScenProc have to be georeferenced, e.g. geotiff. Now the only data i can get for my scenery are SBuilderX tiles. Is there a possibility to convert them to geotiff (using GDAL for example) or even load them in ScenProc giving coordinates?

Thanks in advance for any help,
Dave
 
Hi Dave,

You can use geotiff files or read an inf file that references images. Does SBuilderX make an inf file for you as well? Else I would have to check if those tiles have some position information.
 
Yes, SBuilderX generates inf files for resample.exe.
That should work for me.
And thanks for the quick answer BTW!
 
Let me know if that worked out well, I haven't heard to people trying that before.

And you where lucky that I just checked the forum after you posted :)
 
Sorry but I couldn't figure out how to enter the georeference of an image tha is not referenced itself.
The SBuilderX bitmaps are loaded but I didn't find an option to manually enter coordinates.
 
If you load the inf you don't need to geo reference then. That information is taken from the inf file.
 
If you load the inf you don't need to geo reference then. That information is taken from the inf file.
How shall that be done? I tried loading an inf file instead of the image but that made ScenProc crash.
 
Do you use the IMPORTINF step? Then it should work, although it has mainly been tested with FSET generated inf files. What are the crash details?
 
I get stuck now how the script and the texture filter editor play together.
I might need some more detailed instructions to do the whole process or a link to an according tutorial.
Sorry for asking obwious things, I know how annoying that can be.
 
Hi,

In the texture filter editor you can just load some images. No geo referencing is needed there. I typically load subsets of my images in jpg or png format.

You then save all settings to a tfc file. In the script you load the images through the inf file and process them with the saved settings.

Hopefully this helps,
 
I tried it today loading an inf file containing two bitmaps, but scenproc displayed an error that a negative longitude would be invalid. Does that have to be assigne differently ( e.g.E/W)?
 
I guess you found a bug, can you send me the INF file to test?
 
I am using ScenProc v. 1.1.0.0 btw in case something like that has been fixed already

Code:
[Source]
   Type = MultiSource
   NumberOfSources = 2
 
[Source1] 
   Type = BMP
   Layer = Imagery
   SourceDir = "."
   SourceFile = "L16X35890X35958Y58331Y58389.BMP"
   Variation = Day
   ;SamplingMethod = Gaussian
   ulyMap =  19.4070210440333
   ulxMap = -81.4251708984375
   xDim =  1.07288360595703E-05
   yDim =  1.01239888501819E-05

 
 
[Source2] 
   Type = BMP
   Layer = Imagery
   SourceDir = "."
   SourceFile = "L16X35959X36024Y58346Y58382.BMP"
   Variation = Day
   ;SamplingMethod = Gaussian
   ulyMap =  19.3681585057393
   ulxMap = -81.2356567382813
   xDim =  1.07288360595703E-05
   yDim =  1.01239888501819E-05


 
[Destination]
   DestDir = "."
   DestBaseFileName = "Photo_main"
   DestFileType = BGL
   LOD = Auto
   UseSourceDimensions = 1
   CompressionQuality = 100
 
Hi,

There was a bug with reading the comment lines. I have fixed it now and in the release of tomorrow it will work as it should.
 
another issue:
as the water color was too similar to the vegetation in my imagery I used my water mask in GIMP to paint the water black and reexported as bitmap. Now ScenProc does not add any features at all:
Code:
19:05    DetectFeatures    Information    Added 0 features
Is there any compatibility issue with certain bmp configurations?
I also tried to export as tiff but ScenProc didn't let me georeference tiffs via a resample file as it seemed to think it was already a geotiff
 
Hi,

As long as the edited file has the same dimensions and format I would expect you can do this.

This is not a geotiff right? Editing those will loose the geo information.
 
As the resample.exe also has issues with bitmaps exported from gimp ("corrupted") I mainly use tiff for export (imported non georeferenced sbx bmps)
but no geotiff of course. ScenProc still put an error like "geotiff could not be georeferenced".
 
Back
Top