https://github.com/dbrgn/airspace-visualizer
A map that can show airspaces in OpenAir format. Written with Rust and WebAssembly.
https://github.com/dbrgn/airspace-visualizer
Last synced: 10 months ago
JSON representation
A map that can show airspaces in OpenAir format. Written with Rust and WebAssembly.
- Host: GitHub
- URL: https://github.com/dbrgn/airspace-visualizer
- Owner: dbrgn
- License: agpl-3.0
- Created: 2019-04-27T23:23:59.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-10-12T21:31:40.000Z (over 1 year ago)
- Last Synced: 2025-01-12T10:42:06.473Z (over 1 year ago)
- Language: TypeScript
- Homepage: https://airspaces.bargen.dev/
- Size: 401 KB
- Stars: 6
- Watchers: 3
- Forks: 3
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Airspace Visualizer
https://airspaces.bargen.dev/
This webapplication can visualize airspaces in OpenAir format, for example as
used by Skytraxx devices.
The implementation is done using Rust and WebAssembly. The parsing of the
OpenAir files is handled by [openair-rs](https://github.com/dbrgn/openair-rs).
Map data is provided by Mapbox / OpenStreetMap.
## Building
Prerequisite: wasm-pack.
cargo install wasm-pack
Prerequisite: npm.
To build the WebAssembly sources:
wasm-pack build # debug mode, or...
wasm-pack build --release # release mode
To run tests:
wasm-pack test --headless --firefox
To set up the frontend:
cd www
npm install
cd ..
Start the dev server:
make dev
Now the frontend should be running at `localhost:8080`.
## License
Licensed under the AGPL version 3 or later. See `LICENSE.md` file.
Copyright (C) 2019-2023 Danilo Bargen
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .