Skip to content
Back to skills

Aviation Spatial

ASecurity

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.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
databasespythonbashsqldatabase

Security analysis

A100/100

Pro scans all 8 files and shows the line behind each finding

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill aviation-spatial --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Aviation Spatial?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Aviation Spatial
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-aviation-spatial/badge)](https://www.skillsdirectory.com/skills/david-li0406-aviation-spatial)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.md1.3 KB
  • references/coordinate_systems.md5.1 KB
  • references/schema.md6.7 KB
  • references/spatial_queries.md6.8 KB
  • scripts/build_indexes.py4.6 KB
  • scripts/import_airspace.py4.5 KB
  • scripts/init_spatialite.py5.9 KB
  • scripts/spatial_queries.py9.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…