arcgis-geometry-operations

Create, manipulate, and analyze geometries with ArcGIS Maps SDK for JavaScript 4.26.

Updated May 27, 2026
One-click install
npx skills add https://github.com/elowen53/arcgis-maps-sdk-js-ai-context-4.0 --skill arcgis-geometry-operations-elowen53
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: arcgis-geometry-operations
Source: https://github.com/elowen53/arcgis-maps-sdk-js-ai-context-4.0/tree/main/skills/arcgis-geometry-operations
Command: npx skills add https://github.com/elowen53/arcgis-maps-sdk-js-ai-context-4.0 --skill arcgis-geometry-operations-elowen53

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Geometric creation and analysis within ArcGIS Maps SDK for JavaScript 4.26, enabling developers to construct shapes, compute measurements, and perform spatial operations without leaving the client.

Core Features & Use Cases

  • Geometry construction: points, lines, polygons, extents, and 3D Meshes.
  • Spatial operations: buffer, union, intersection, difference, densify, projection, and geodesic calculations.
  • Utilities: geometryEngine, geometryEngineAsync, geodesicUtils, coordinateFormatter, and projection for accurate measurements and formatting.

Quick Start

Create a simple polygon and compute its geodesic area using geometryEngine.geodesicArea.

Frequently Asked Questions about arcgis-geometry-operations

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

FAQPage Schema
How do I buffer and intersect polygons using ArcGIS Maps SDK?

You can buffer and intersect polygons using ArcGIS Maps SDK by utilizing the geometryEngine for synchronous spatial operations or geometryEngineAsync for non-blocking processing. These modules handle intersection, union, and difference calculations directly in the browser.

How do I compute geodesic area and measurements for ArcGIS geometries?

Compute geodesic area and measurements for ArcGIS geometries by calling methods within the geometryEngine and geodesicUtils modules. These tools provide accurate distance and area calculations that account for the earth's curvature.

Does the ArcGIS geometry engine support 3D meshes and projection?

Yes, the ArcGIS geometry engine supports 3D meshes and projection tasks. You can construct and manipulate 3D meshes alongside points and polygons, while the projection module handles transforming coordinates between different spatial references.

What's the best way to densify lines and format coordinates in ArcGIS?

The best way to densify lines and format coordinates is using the densify operation within the geometry engine and the coordinateFormatter utility. Densify adds vertices to linear geometries, while coordinateFormatter parses and outputs coordinate notation.

When should I use geometryEngineAsync instead of geometryEngine for spatial operations?

Use geometryEngineAsync instead of geometryEngine for spatial operations when handling large or complex geometries that could block the main thread. The async module performs buffering, union, and intersection tasks in the background to maintain UI responsiveness.