Custom drone flight plan generator from geojson
Project description
aerialflightgen
Aerial Flight Plan Generator from GeoJSON
aerialflightgen is a lightweight Python package that converts a GeoJSON polygon (e.g. from geojson.io) into a structured drone flight plan — with optional 2D and 3D plotting.
Features
- Lawn-mower style path generator
- Outputs structured
(x, y, z, t)waypoints - Exports to JSON
- CLI with
--plotand--3dplot - Designed for drone simulation, testing, and robotics
Installation
pip install aerialflightgen
Usage (CLI)
aerialgen polygon.geojson \
--altitude 100 \
--speed 5 \
--rows 6 \
--out mission.json \
--plot
Use --3dplot for 3D altitude visualization:
aerialgen polygon.geojson --3dplot
Usage (Python)
from aerialflightgen import FlightPlanGenerator
planner = FlightPlanGenerator("polygon.geojson", altitude=120, speed=6, rows=8)
mission = planner.to_dict()
planner.save_to_json("mission.json")
Output Format
{
"mission_id": "generated_mission",
"start_time": 0.0,
"end_time": 120.0,
"waypoints": [
{ "x": 79.78, "y": 11.97, "z": 100, "t": 0.0 },
{ "x": 79.79, "y": 11.97, "z": 100, "t": 10.0 }
]
}
Author
Created by Thirumurugan Chokkalingam MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aerialflightgen-0.1.2.tar.gz.
File metadata
- Download URL: aerialflightgen-0.1.2.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b2209fb24c977637fcbc25868af04083bb0bc12d25047b0c27d8ed1d86665b9
|
|
| MD5 |
2370c82fc1f5a2725c2e30574d0532b5
|
|
| BLAKE2b-256 |
c3bccb4bc1d5b34be66663b60e1da9ddcef70dfcd67de4c85d8cb4f51ed7eb58
|
File details
Details for the file aerialflightgen-0.1.2-py3-none-any.whl.
File metadata
- Download URL: aerialflightgen-0.1.2-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
37d7d76607a0a17022c9c3f87dc5592de9741c68c6dcd6742f81f2a1d1e3b90a
|
|
| MD5 |
854cc9ffac62cf49712cdd1ab244cb27
|
|
| BLAKE2b-256 |
3d9fdd5fb2cf8855de306ad13526e6aa1d431b11a0cdab8916077396a8dab605
|