Spatial Index

Recommend and apply spatial index strategies for GIS datasets

danmaps Updated

File contents

Spatial Index

Recommend or apply spatial indexing to improve query performance.

Inputs

  • dataset (string)
  • platform (string, optional: file_gdb, enterprise_gdb, shapefile)
  • operation (string, optional: create, rebuild, check)

Output

  • Recommended index action
  • Expected impact
  • Exact ArcPy commands if applicable

Example

User: “Create spatial index for Parcels in a file geodatabase.”

Output: ArcPy AddSpatialIndex step with warnings about locks.

Intent

State the operational goal of the skill and what good output should accomplish.

Outputs

Return a concise, usable result with the key artifacts or recommendations.

Safety

Do not invent data, credentials, or system context. Flag uncertainty and risky operations clearly.

danmaps/gis-agent-skills/tree/main/skills/spatial-index commit 0ddb5821e2

Frequently asked questions

npx skillmds@latest add danmaps/spatial-index