Updating the airport database
=============================

(1) Download timezone shapefile

Pick the latest timezones.shapefile.zip from
https://github.com/evansiroky/timezone-boundary-builder/releases

Extract the zip file into this folder.

(2) Generate the timezone index

- If necessary, adjust the output path at the end of qgis/generate-z-order-curve-spatial-index.py.
- Open timezones.qgs in QGIS.
- Select "Plugins" > "Python Console".
- In the Python Console, click on the "Show Editor" toolbar icon.
- In the Python script editor, select "Open Script..." in the toolbar, and open qgis/generate-z-order-curve-spatial-index.py.
- In the Python script editor, select "Run Script".
- Wait.
- Once the script has finished, an updated timezone index can be found in the output file set in the first step.

(3) Run the code generator

Run `make rebuild-knowledgedb` in the build dir of this folder.

SPDX-FileCopyrightText: none
SPDX-License-Identifier: CC0-1.0
