postgis-patterns

Official

Spatial patterns for PostGIS-powered Django apps.

Authorweorbitant
Version1.0.0
Installs0

System Documentation

What problem does it solve?

PostGIS-patterns provides a structured collection of spatial design patterns and conventions to accelerate building GIS-enabled applications with PostGIS, GeoDjango, and GeoAlchemy2, ensuring consistent data modeling, querying, and performance best practices.

Core Features & Use Cases

  • Geometry vs geography guidance: when to store as geometry or geography and how SRID handling impacts queries.
  • Indexing and performance: recommended GiST indexes, bounding box filtering, and best practices for fast spatial queries.
  • Spatial queries and operations: common patterns for distance, containment, intersections, and spatial joins using PostGIS functions.
  • Framework integration: GeoDjango setup, PostGIS-enabled models, and GeoAlchemy2 integration examples for SQLAlchemy-based apps.
  • Reference material: ready-to-use reference documents and examples to accelerate implementation across projects.

Quick Start

Apply the patterns by reviewing the reference documents to implement PostGIS geometry and geography handling in your project.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: postgis-patterns
Download link: https://github.com/weorbitant/compound-engineering-feat-python-plugin/archive/main.zip#postgis-patterns

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.