Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 697 Bytes

File metadata and controls

26 lines (17 loc) · 697 Bytes

igclib banner

Setup

git clone https://github.com/igclib/igclib-api.git
make install
make runserver

Usage

curl -L -F "flight=@/path/to/igc/file" -F "airspace=@/path/to/openair/file" endpoint/api/xc

Environment variables

Make sure to define

  • DEFAULT_AIRSPACE : points to an openair airspace file, used as fallback when no airspace argument is given
  • ELEVATION_API_KEY : API key for elevation service, if you want to validate airspaces relative to ground altitude

Requirements