arcgis-geometry-operations

Create and analyze geometries using ArcGIS Maps SDK for JavaScript operators.

19|5|Updated Dec 14, 2025
One-click install
npx skills add https://github.com/SaschaBrunnerCH/arcgis-maps-sdk-js-ai-context --skill arcgis-geometry-operations
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: arcgis-geometry-operations
Source: https://github.com/SaschaBrunnerCH/arcgis-maps-sdk-js-ai-context/tree/main/contexts/4.34/skills/arcgis-geometry-operations
Command: npx skills add https://github.com/SaschaBrunnerCH/arcgis-maps-sdk-js-ai-context --skill arcgis-geometry-operations

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Geometry creation and spatial operations require a cohesive API. This skill enables developers to create geometry objects (points, polylines, polygons, multipoints, extents, circles, and meshes) and perform a wide range of spatial operations using the modern geometry operators module in ArcGIS Maps SDK for JavaScript.

Core Features & Use Cases

  • Geometry creation and manipulation with the Point, Polyline, Polygon, Multipoint, Extent, Circle, and Mesh classes.
  • Comprehensive geometry operators for buffering, union, intersection, contains, within, distance, area, length, centroid, densify, generalize, offset, convexHull, and related transformations via the geometry operators API.
  • Guidance for migrating from deprecated geometryEngine APIs to the operators module, with practical migration notes.

Quick Start

Import a geometry operator and execute a simple buffer on a point geometry to see a buffered result.

Frequently Asked Questions about arcgis-geometry-operations

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

FAQPage Schema
How do I perform spatial operations like buffer and union using ArcGIS Maps SDK for JavaScript?

Spatial operations like buffer and union are performed by importing specific operator modules from @arcgis/core/geometry/operators and using their execute methods on geographic or projected geometries.

Can I calculate distance, area, and length on geographic geometries with ArcGIS geometry operators?

Yes, distance, area, and length measurements can be calculated on geographic or projected geometries using the modern geometry operators module, with optional geographic transformations applied where needed.

How do I migrate from the deprecated geometryEngine API to the modern geometry operators module?

Migrating from the deprecated geometryEngine API to the geometry operators module involves importing specific operator modules from @arcgis/core/geometry/operators and calling their execute methods instead of the old synchronous functions.

What types of geometries can I create and manipulate using the ArcGIS geometry operators?

You can create and manipulate Point, Polyline, Polygon, Multipoint, Extent, Circle, and Mesh geometries using the modern geometry operators module for ArcGIS Maps SDK for JavaScript.

Does the ArcGIS geometry operators module support intersections and contains checks?

Yes, the geometry operators module supports comprehensive spatial operations including intersections, contains, within, convexHull, densify, generalize, and offset transformations for geographic or projected geometries.

What is the best way to handle geographic transformations when executing ArcGIS geometry operations?

Geographic transformations are handled by passing optional transformation parameters to the execute methods of the specific geometry operator modules imported from @arcgis/core/geometry/operators.