shapely

Manipulate and analyze planar geometric objects using Python.

19|2|Updated Jan 31, 2026
One-click install
npx skills add https://github.com/tondevrel/scientific-agent-skills --skill shapely
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: shapely
Source: https://github.com/tondevrel/scientific-agent-skills/tree/main/skills/shapely
Command: npx skills add https://github.com/tondevrel/scientific-agent-skills --skill shapely

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and scripts (resource) components.

What problem does it solve?

This Skill provides precise tools for manipulating and analyzing planar geometric objects, enabling complex spatial computations and data validation.

Core Features & Use Cases

  • Geometric Object Manipulation: Create, modify, and analyze points, lines, and polygons.
  • Spatial Relationships: Determine intersections, containment, and proximity between shapes.
  • Use Case: Analyze the spatial overlap between property boundaries (polygons) and proposed development zones, calculating the exact area of intersection.

Quick Start

Use the shapely skill to calculate the area of the polygon defined by the coordinates [(0, 0), (2, 0), (2, 2), (0, 2)].

Frequently Asked Questions about shapely

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I calculate the area of a polygon from coordinate points in Python?

To calculate the area of a polygon from coordinate points, use this Skill to create a planar geometric object from the coordinates and run the geometric computation to return the precise area value.

How do I check if two polygons intersect and find the overlapping area in spatial analysis?

To check if two polygons intersect during spatial analysis, use this Skill to run spatial predicate checks between the boundaries and compute the exact geometric intersection area.

Can I create buffer zones around lines and points for GIS mapping in Python?

Yes, you can create buffer zones around lines and points for GIS mapping in Python by applying the buffering operation to planar geometric objects to generate the surrounding polygons.

What's the best way to simplify complex geometric shapes without losing spatial accuracy?

The best way to simplify complex geometric shapes while retaining spatial accuracy is to apply the simplification operation to planar geometric objects, reducing point density while preserving topology.

How do I compute the geometric difference between two spatial polygons?

To compute the geometric difference between two spatial polygons, use this Skill to execute the difference operation on the planar geometric objects, returning the remaining area of the first shape.

Does this Skill support containment and proximity checks for property boundary analysis?

Yes, this Skill supports containment and proximity checks for property boundary analysis by running spatial predicate checks to determine if specific geometric objects are fully contained within others.