amadeus / IL2-Mission-Planner-Revived-Tiles

Il-2 Mission Planner Revived Tiles Repository

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Il-2 Tiles Service

Providing map tiles for IL2 Mission Planner Revived.

Using gdal2tiles.py

Run the python script as follows:

gdal2tiles.py [STITCHED MAP PNG] -z 0-7 -p raster -l

Adjust number of zoom levels as necessary.

Using dds_to_png.sh

Copy shell script to directory containing dds files. Run to convert all dds files within. Repeat for other folders.

Stitching

Imagemagick's "montage" is the easiest way to stitch together the tiles. Use it as follows:

montage *.png -mode Concatenate -tile 20x stitch.png

Adjust tile number based on the number of image tiles in one row.

To get this properly working, you must first setup python virtual env, then

do:

pip install -r requirements.txt
source env/bin/activate
python ../bin/gdal2tiles.py ../src/normandy_ftc/normandy_ftc.png -z 0-7 -p raster -l

About

Il-2 Mission Planner Revived Tiles Repository

License:MIT License


Languages

Language:Python 99.9%Language:Shell 0.1%