DC33 Aerospace Village 2024 ADSB Badge Maps

The Aerospace badge uses PBF files, not PNG. This is kind of nice becuase the time to compils won’t be very long at from one vector to a split vector file format.

The Village recommends using https://github.com/systemed/tilemaker for this purpose. We will be following theirn INSTALL.md instructions, but specifically for Docker.

Installing on ParrotOS, there were some issues with Lua and the default config.json file in use. Using Docker was not awful at all.

Docker Build

$ git clone https://github.com/systemed/tilemaker
$ cd tilemaker
$ podman build . -t tilemaker

Download map files

Since we’re at THE DefCon 33 conference, let’s grab Nevada map files.

$ curl -sLO https://download.geofabrik.de/north-america/us/nevada-latest.osm.pbf

Convert map files

Convert the download vector file (.osm.pbf) into a split set of tiles in z/y/x format pbf files

docker run -tiv .:/data tilemaker --input /data/input.osm.pbf --output /data/maps

Save to SD Card

Format your card as exFAT using your favorite formatting tool. Not sure what the SD Card limitations are, but was able to load maps with both a 64GB and 128GB SD Card.

The files should be uploaded to a folder on the SD card called maps expecting only one set of map files (directly have layers 0-19 in the sdcard:/maps/ folder).

docker run -tiv .:/data tilemaker --input /data/north-america-latest.osm.pbf --output /data/tiles/
$ rsync -ap ./maps /media/SDCARD/
$ ls -lash /media/SDCARD/maps
0  1  10  11  12  13  14  2  3  4  5  6  7  8  9  metadata.json

Conclusion

PROFIT!