shapely-compute

Installation
SKILL.md

Computational Geometry with Shapely

When to Use

  • Creating geometric shapes (points, lines, polygons)
  • Boolean operations (intersection, union, difference)
  • Spatial predicates (contains, intersects, within)
  • Measurements (area, length, distance, centroid)
  • Geometry transformations (translate, rotate, scale)
  • Validating and fixing invalid geometries

Quick Reference

I want to... Command Example
Create geometry create create polygon --coords "0,0 1,0 1,1 0,1"
Intersection op intersection op intersection --g1 "POLYGON(...)" --g2 "POLYGON(...)"
Check contains pred contains pred contains --g1 "POLYGON(...)" --g2 "POINT(0.5 0.5)"
Calculate area measure area measure area --geom "POLYGON(...)"
Distance distance distance --g1 "POINT(0 0)" --g2 "POINT(3 4)"
Related skills
Installs
319
GitHub Stars
3.8K
First Seen
Jan 22, 2026