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

FSX GeoTIFF to INF Utility

ollyau

Resource contributor
Messages
1,034
Country
us-california
I made a utility that parses a GeoTIFF file to create an INF with positional data for the Resample tool. Of course, it isn't all that impressive when you don't need positional data in the INF when you're using a GeoTIFF, but it is handy if you end up editing the image. Saves you the step of having to add positional data back to the image, or having to input the geographic data in the INF manually.

The GeoTIFF parsing code is based on what CrashTestDummy posted here.

If you're interested, you can download it from GitHub.

Hope someone finds it useful. I'd be glad to hear comments or ideas. :)
 
Very cool!

It could really benefit me if I could open more than one file at once and save to the same inf file. Either way, this is a real time saver! Thanks!
 
Glad you like it! :cool:

If you don't need to edit the images (and thus remove the metadata), Arno has a very convenient batch file available on his blog: http://www.scenerydesign.org/2013/06/nantucket-photo-scenery/.

If you're making seasonal variations, the images should have the same dimensions, so the positional data should be a matter of copying and pasting.

If you're not working with too large an area, you could give gdalwarp multiple input files to mosaic, making one big image after you reproject. That would make editing more consistent, and only require the use of my tool once.

If none of the above solutions work out (I'm being slightly lazy and trying to avoid this :p), I can probably whip something up. Let me know what works best. :)
 
Last edited:
I never heard of making a mosaic before... I will have to look in to that. :cool:

And again, handy little item, thank you.
 
Yep, it seems like something that would come in handy, but the thought hadn't occurred to me for a while either. :p If you want some reference, I asked about in this thread, and chimed in with a quicker solution here.

And you're very welcome. :)

Edit: Oh, and a side note -- if you're using FWTools, don't. It's better to use OSGeo4W or use the GDAL binaries directly. FWTools has rather outdated files at this point.
 
Last edited:
Back
Top