Mesh creation using AeroScenery

  • Hello everyone,

    I'm trying to build a mesh for an area in the Sea of Crete,as the AeroScenery v1.1.3 features mesh creation transplanted into the app.

    So I followed the instructions, entered my API key for downloading elevation data from OpenTopography(cop30),set the path to the folder of the QGIS bin.exe,and started downloading the elevation data.As a result,I got a dem_area_30m.aid and a dem_area_30m_bak.tif file in the folder working/map_00_elevation_20260215_1905/input_aerial_images.

    I thought here comes the last step,which is to click the mesh_conv_for_mobile.bat to run geoconvert,and it will generate .tth files in the output_elevation folder but as soon as I started it,it showed "No input elevation images found in "input_ aerial_images",so I checked the .aid file and realized that what geoconvert really needs is a file named dem_area_30m.tif,which obviously doesn't exist in the input_aerial_images,all I have was the two files mentioned above.

    And if I simply rename the file dem_area_30m_bak.tif to dem_area_30m.tif,the geoconvert just runs for few seconds and crashes.I got nothing in the output_elevation throughout the process.

    The content of dem_area_30m.aid:

    <[file][][]

    <[tm_aerial_image_definition][][]

    <[string8][image][dem_area_30m.tif]>

    <[string8][mask][]>

    <[vector2_float64][steps_per_pixel][0.000277778 -0.000277778]> // [<Horizontal> -<Vertical(minus!)>]

    <[vector2_float64][top_left][22.48 36.43217]> // [<West> <Nord>]

    <[string8][coordinate_system][lonlat]>

    <[bool][flip_vertical][false]>


    mesh_conv_for_mobile.bat:

    start C:\Users\Administrator\Desktop\AeroScenery\Resources\aerofly_fs_2_sdk_tools\aerofly_fs_2_geoconvert\aerofly_fs_2_geoconvert.exe mesh_conv_for_mobile.tmc


    mesh_conv_for_mobile.tmc

    <[file][][]

    <[tmcolormap_regions][][]

    <[string] [folder_source_files][input_aerial_images/]>

    <[bool] [write_images_with_mask][false]>

    <[bool] [write_ttc_files][false]>

    <[bool] [do_heightmaps][true]>

    <[string8][folder_destination_heightmaps][output_elevation/]>

    <[bool] [always_overwrite][true]>

    <[list][region_list][]

    <[tmheightmap_region][element][0]

    <[uint32] [level] [7]>

    <[vector2_float64] [lonlat_min] [22.5 34.147342547]>// [<West> <Süd>]

    <[vector2_float64] [lonlat_max] [25.3125 36.412174243]>// [<Ost> <Nord>]

    <[bool] [write_images_with_mask][false]>

    >

    <[tmheightmap_region][element][1]

    <[uint32] [level] [10]>

    <[vector2_float64] [lonlat_min] [22.5 34.147342547]>// [<West> <Süd>]

    <[vector2_float64] [lonlat_max] [25.3125 36.412174243]>// [<Ost> <Nord>]

    <[bool] [write_images_with_mask][false]>


    I wonder why I got the dem_area_30m_bak.tif instead of the dem_area_30m.tif,could that has something to do with my network?Or did I skip some crucial steps in order to create mesh data properly using AeroScenery?

    Thank you very much for any information.🌹

    Best regards,Ray

  • Hi,
    There are at least two issues.
    1.
    The missing dem_area_30m.tif means, that the "peak fix" at sea level due to neg. values fails using GDAL components:
    a) Did you install QGIS with the entire OSGEeo4W package, including GDAL, from https://trac.osgeo.org/osgeo4w/?
    b) The path should point to the GDAL executables (e.g., C:\OSGeo4W\bin\).
    c) It is also possible that your *.tif GeoTiff file is unreadable and therefore the GDAL process fails.

    2.
    By renaming the dem_area_30m_bak.tif file to dem_area_30m.tif, geoconvert process should even work (you will only get many disturbing ultra high peaks then trying a sea area):
    a) What is written in the tm.log file?
    b) Which elevation data source are you using?
    c) It is also possible that your *.tif GeoTiff file is unreadable and therefore not only the GDAL process but also geoconvert process fails.
    d) Have you tried to import your *.tif GeoTiff file using QGIS app (->import as raster file)?

    Regards, Christophe

    Enthusiast and experienced creator of enhanced Aerofly FS Sceneries and Mods. Enjoy! 8)