git clone https://github.com/igclib/igclib-api.git
make install
make runserver
curl -L -F "flight=@/path/to/igc/file" -F "airspace=@/path/to/openair/file" endpoint/api/xc
Make sure to define
DEFAULT_AIRSPACE: points to an openair airspace file, used as fallback when no airspace argument is givenELEVATION_API_KEY: API key for elevation service, if you want to validate airspaces relative to ground altitude