Back to skills
SKILL.md
Aviation Spatial
ASecuritySpatiaLite database operations for aviation data. Use when building spatial indexes, running proximity queries, importing airspace GeoJSON, or performing geometric calculations on aviation features like finding airports within radius, airspace containment, or obstacle corridor searches.
- 2 stars
- 0 votes
- 0 copies
- 0 views
- Added September 27, 2026
Security analysis
100/100Pro scans all 8 files and shows the line behind each finding
npx -y skills add David-Li0406/meta-skill-evloving --skill aviation-spatial --agent claude-codeAre you the author of Aviation Spatial?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/david-li0406-aviation-spatial)---
name: aviation-spatial
description: SpatiaLite database operations for aviation data. Use when building spatial indexes, running proximity queries, importing airspace GeoJSON, or performing geometric calculations on aviation features like finding airports within radius, airspace containment, or obstacle corridor searches.
---
# Aviation Spatial Database
## Overview
SpatiaLite-based spatial database operations for aviation data in the MagentaLine EFB.
## Quick Start
### Initialize SpatiaLite Database
```bash
python scripts/init_spatialite.py --output aviation.db
```
### Import Airspace Data
```bash
python scripts/import_airspace.py --input airspace.geojson --output aviation.db
```
### Build Spatial Indexes
```bash
python scripts/build_indexes.py --database aviation.db
```
## Features
- **Proximity queries** - Find airports/navaids within radius
- **Containment tests** - Check if point is within airspace
- **Corridor searches** - Find obstacles along route
- **R-Tree indexing** - Fast spatial lookups
## Schema
Full SpatiaLite schema in `assets/aviation_schema.sql`
## References
| Document | Description |
|----------|-------------|
| `references/schema.md` | Complete aviation schema |
| `references/spatial_queries.md` | Query patterns with examples |
| `references/coordinate_systems.md` | EPSG codes, projections |
Files in this skill
- SKILL.md
- references/coordinate_systems.md
- references/schema.md
- references/spatial_queries.md
- scripts/build_indexes.py
- scripts/import_airspace.py
- scripts/init_spatialite.py
- scripts/spatial_queries.py
Attribution
Comments
Loading comments…