sdk:geoconvert
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
sdk:geoconvert [2017/05/31 19:26] – jf | sdk:geoconvert [2017/11/12 17:30] (current) – jh | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | =====Coming Soon!!===== | + | =====Introduction to the GeoConvert tool===== |
- | | + | The GeoConvert tool allows |
- | | + | **Important note:** This tool is not a simple plug and play solution, it requires some work on your side and you need some basic understanding on how earth coordinates work. It's also your responsibility |
- | If you answered yes to both of these questions then you will love the new GeoConvert tool heading your way shortly. | + | ====How Aerofly renders aerial images==== |
+ | Aerofly FS 2 uses images with a varying coverage | ||
- | {{: | + | Its recommended that your aerial images are converted to level 9, 11, 12, 13 and 14 to give a good coverage. Level 14 corresponds to roughly 1 meter per pixel. Please do not go below level 9 unless you convert a really large area with your images as Aerofly already includes those levels. |
+ | ====Installation==== | ||
+ | After you have downloaded the GeoConvert tool, unzip the ZIP file to any place you like, prefereably to a harddisc with enough free storage. | ||
+ | Here is the folder structure of the tool | ||
+ | <code cpp> | ||
+ | aerofly_fs_2_geoconvert | ||
+ | input_aerial_images | ||
+ | scenery | ||
+ | images | ||
+ | images_raw | ||
+ | shader_dx11 | ||
+ | texture | ||
+ | aerofly_fs_2_geoconvert.exe | ||
+ | </ | ||
+ | |||
+ | GeoConvert cannot be started by its own, it must be called with a configuration file that tells GeoConvert what region it should create Aerofly FS 2 compatible aerial images. You can either open a console or the Windows Powershell or create a small batch file right next to the aerofly_fs_2_geoconvert.exe executable. Here is an example | ||
+ | < | ||
+ | .\aerofly_fs_2_geoconvert.exe your_config_file.tmc | ||
+ | </ | ||
+ | |||
+ | ====General steps==== | ||
+ | - All your input aerial images have to be in the folder ' | ||
+ | - Each aerial image must have an accompanying configuration file with the extension AIC that tells GeoConvert how to source this image. As a convenience function, GeoConvert will automatically convert TFW and INF files to AIC files, but it's strongly recommended to check the AIC files after conversion. INF files are not standardized and TFW files do not support enough options for all cases. So please get used to the AIC file format, here is a sample <code cpp> | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | // supports Tiff images with alpha channel | ||
+ | < | ||
+ | // only lonlat is supported | ||
+ | < | ||
+ | // left corner of this image | ||
+ | < | ||
+ | // GeoConvert the pixel size in the x and y direction | ||
+ | < | ||
+ | > | ||
+ | > | ||
+ | > | ||
+ | </ | ||
+ | - aerofly_fs_2_geoconvert.exe is a command line tool that expects another configuration file that tells where to generate aerial images and in what resolution. Here is a sample that generates aerial images for the Key West Florida region: < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | > | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | > | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | > | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | > | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | > | ||
+ | > | ||
+ | > | ||
+ | > | ||
+ | </ | ||
+ | - Once you have the input images along with their AIC files in the folder input_aerial_images and your TMC file you can start up GeoConvert either using the shell or a batch file as mentioned above. | ||
sdk/geoconvert.txt · Last modified: 2017/11/12 17:30 by jh