AFS2 Grid Generator

  • vogel69

    Would it be possible to generate grids from the vegetation data? The format is mapt_10_8540_a580.ttc and all are in the vegetation folder. The files contain information about trees and forests where many of them are misplaced. I have extracted the files covering Switzerland and would like to get the coordinates of the tiles.


    It works when I just remove the 't' from 'mapt' in the filename. Hence just for Switzerland I can do it like this.

    Best regards,

    Thomas


    i7-6700K @ 4.0 GHz, Geforce GTX 1080, 32MB RAM, 500 GB SSD, 1 TB SSD, 1TB HD, 32" Monitor 4K, Oculus Rift

  • Thanks, no hurry.


    I wonder why there are stripes of tiles missing although the vegetation for these areas is not missing. These are the original aerofly tiles with the trees extracted from the folder vegetation. I think all the other files in the vegetation folder point to the usa.

    Edit: when I have just these files in the vegetation folder then indeed the vegetation is missing in these stripes. Hence there must be more files pointing to switzerland. But which ones?



    Best regards,

    Thomas


    i7-6700K @ 4.0 GHz, Geforce GTX 1080, 32MB RAM, 500 GB SSD, 1 TB SSD, 1TB HD, 32" Monitor 4K, Oculus Rift

  • Thanks. Hmmm...interesting. Did you scan the whole folder vegetation? This is the only one with tree information. I cannot scan the whole folder as your tool does not scan mapt files. I copied the files that cover Switzerland into an own folder, deleted the t from the file name (mapt --> map) and made a scan. As I said there are no trees missing in the switzerland scenery, hence the files are complete. Can you please tell me what file names you have where my files in the kmz are missing.





    As you can see I have 8480_a640 and 8500_a640. What is in between?

    Best regards,

    Thomas


    i7-6700K @ 4.0 GHz, Geforce GTX 1080, 32MB RAM, 500 GB SSD, 1 TB SSD, 1TB HD, 32" Monitor 4K, Oculus Rift

  • I've uploaded a new version of AFS2 Grid Generator:


    v1.3 changelog:


    - Add support of vegetation files "mapt_*.ttc"

    - Add Geoconvert boundaries coordinates into general grid information


    In order to help creation of .tmc file, for each square you will have [Lonlat_min] & [Lonlat_max] informations (to avoid creation of no desired tiles at borders: min value are rounded to 2 digits upper value and max value are rounded to 2 digits lower values)



    AFS2 Grid generator 1.3


    between your two tiles in your screenshots:

    84c0_a640

    Steam Games\steamapps\common\Aerofly FS 2 Flight Simulator\scenery\vegetation\mapt_10_84c0_a640.ttc

  • Great, that was it. Many thanks vogel69. This helps me when replacing trees and forests in Switzerland and just use the same tile coordinates as Aerofly FS2.

    Best regards,

    Thomas


    i7-6700K @ 4.0 GHz, Geforce GTX 1080, 32MB RAM, 500 GB SSD, 1 TB SSD, 1TB HD, 32" Monitor 4K, Oculus Rift

  • Both additions are very much appreciated! Thanks Vogel69 :thumbup:

    Same for me, thanks so much Kevin !

    Config : i7 6900K - 20MB currently set at 4.00GHz, Cooling Noctua NH-U14S, Motherboard ASUS Rampage V Extreme U3.1, RAM HyperX Savage Black Edition 16GB DDR4 3000 MHz, Graphic Card Gigabyte GeForce GTX 1080 8GB, Power supply Corsair RM Series 850W, Windows 10 64 bit.