dbrgn / airspace-visualizer

A map that can show airspaces in OpenAir format. Written with Rust and WebAssembly.

Home Page:https://airspaces.bargen.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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. 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 <https://www.gnu.org/licenses/>.

About

A map that can show airspaces in OpenAir format. Written with Rust and WebAssembly.

https://airspaces.bargen.dev/

License:GNU Affero General Public License v3.0


Languages

Language:TypeScript 55.3%Language:HTML 15.8%Language:Rust 14.2%Language:JavaScript 11.4%Language:Makefile 3.4%