geometry-api-net

Compute spatial geometry operations and serialize between WKT, WKB, GeoJSON, and EsriJSON.

49|9|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/znlgis/opengis-skills --skill geometry-api-net
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: geometry-api-net
Source: https://github.com/znlgis/opengis-skills/tree/main/geometry-api-net
Command: npx skills add https://github.com/znlgis/opengis-skills --skill geometry-api-net

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables developers to perform precise spatial geometry computations and format conversions in .NET projects so they do not need to implement low-level geometry algorithms or serialization themselves.

Core Features & Use Cases

  • Geometry primitives: Provides Point, Line, Envelope, MultiPoint, Polyline and Polygon with 2D/3D support and common geometry queries.
  • Spatial operations: Includes containment, intersection, distance, buffer, union, difference, convex hull, simplify, densify, offset, centroid, area/length and nearest-vertex searches.
  • Serialization & integration: Supports WKT, WKB, GeoJSON, EsriJSON export/import and System.Text.Json converters for seamless serialization.
  • Geodesy & spatial reference: Offers geodesic distance/area calculations and SpatialReference handling (WKID/WKT) for EPSG-based workflows.
  • Use Cases: GIS analysis in .NET apps, computing intersections and unions for map rendering, buffering points for proximity analysis, and converting geometries to GeoJSON for APIs.

Quick Start

Use geometry-api-net to compute the intersection of two geometries and export the result as GeoJSON.

Frequently Asked Questions about geometry-api-net

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

FAQPage Schema
How do I calculate spatial intersections and buffers in a .NET GIS application?

You can calculate spatial intersections and buffers in a .NET GIS application by utilizing operator singleton execution patterns to perform precise spatial geometry computations on 2D and 3D geometries without implementing low-level algorithms yourself.

Does this geometry API support converting geometries to GeoJSON and EsriJSON?

Yes, the geometry API supports converting geometries to GeoJSON and EsriJSON by providing import and export capabilities alongside System.Text.Json converters for seamless serialization in .NET applications.

What is the best way to handle WKT and WKB serialization for spatial geometries in .NET?

The best way to handle WKT and WKB serialization for spatial geometries in .NET is using built-in format converters that seamlessly translate Point, Line, and Polygon primitives between standard GIS text and binary formats.

Can I perform nearest-vertex searches and proximity analysis using .NET Standard 2.0?

Yes, you can perform nearest-vertex searches and proximity analysis using .NET Standard 2.0 through built-in spatial operations that query distances and relationships across geometry primitives like MultiPoint, Polyline, and Polygon.