# Spatial Buffer Envelope Analysis

> Constructs metric distance buffer polygons around points, lines, and geometries using Shapely and pyproj. Use when modeling impact zones, proximity radii, and e

- Skill: `bishnucd/spatial-buffer-envelope-analysis` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx get-skill add bishnucd/spatial-buffer-envelope-analysis`
- Raw SKILL.md: https://api.skillmd.com/api/skills/bishnucd/spatial-buffer-envelope-analysis/raw
- Safety review: pending
- Works with: any agent that reads SKILL.md (Claude Code, Claude.ai, Cursor, Codex, Windsurf, 60+ more)
- Category: Coding & Dev Tools
- Author: Bishnucd (https://skillmd.com/u/bishnucd)
- Updated: 2026-12-02
- Page: https://skillmd.com/skills/bishnucd/spatial-buffer-envelope-analysis

---

---
name: spatial-buffer-envelope-analysis
description: Constructs metric distance buffer polygons around points, lines, and geometries using Shapely and pyproj. Use when modeling impact zones, proximity radii, and environmental setbacks.
license: MIT
metadata:
  author: Community List Maintainers
  version: "1.0.0"
  source: "https://shapely.readthedocs.io/en/stable/manual.html#object.buffer"
---
# Spatial Buffer Envelope Analysis

## Overview
Buffering in degrees (EPSG:4326) creates distorted ovals due to Earth curvature. Projecting geometries to planar conformal projections (UTM) generates accurate circular buffer zones in meters.

## Operational Workflow

1. **Project geometry from WGS84 to local UTM zone or EPSG**:
   - Project geometry from WGS84 to local UTM zone or EPSG:3857 using pyproj Transformer.

2. **Execute geometry.buffer(distance_in_meters, resolution=16) to generate expanded polygon envelope.**:
   - Execute geometry.buffer(distance_in_meters, resolution=16) to generate expanded polygon envelope.

3. **Project buffered polygon back to WGS84 for GeoJSON map visualization.**:
   - Project buffered polygon back to WGS84 for GeoJSON map visualization.

4. **Perform intersection queries to detect facilities falling within the buffer boundary.**:
   - Perform intersection queries to detect facilities falling within the buffer boundary.

## Recommended Tools & Environments
- Shapely
- pyproj
- EPSG:3857 / UTM
- Python

## Verification & Execution Criteria
- Pre-execution validation verifies all prerequisites and inputs.
- Step-by-step progress logging confirms intermediate state transitions.
- Post-execution checks verify output integrity and clean exit codes.

