agentleFS
geoai-latamgeoai-latam/SKILL_JS5_ARCGIS/skills/arcgis-visualization/AGENTS.md

SKILL_JS5_ARCGIS / arcgis-visualization

AGENTS.md1 starsChanged 6 months agoMITView on GitHub

Quick-reference for renderers on SDK 5.1. Read before styling a layer.

The file

Files
AGENTS.md

Agent Guide: arcgis-visualization

Quick-reference for renderers on SDK 5.1. Read before styling a layer.

Quick Decision Tree

  1. Uniform? → SimpleRenderer.
  2. Categories? → UniqueValueRenderer (field + uniqueValueInfos + defaultSymbol).
  3. Numeric ranges? → ClassBreaksRenderer (contiguous classBreakInfos + defaultSymbol).
  4. Point density? → HeatmapRenderer, on points only.
  5. Continuous value? → visualVariables (color/size) on a SimpleRenderer.

Setup Checklist

  • Style a FeatureLayer through layer.renderer; graphic.symbol is ignored there.
  • Always set defaultSymbol: values with no class, out of range, or null are otherwise not drawn.
  • Match unique values with the exact case of the data ("Park" is not "park").
  • Use heatmaps only on point layers: on polygons nothing is drawn and nothing errors.

Anti-patterns (one-liner reminders)

  • ❌ Looping to set feature.symbol on FeatureLayer results.
  • ❌ A renderer without defaultSymbol over data with gaps or nulls.
  • ❌ uniqueValueInfos values in a different case than the data.
  • ❌ Heatmap on polygons.

Files in This Skill

  • SKILL.md / SKILL.es.md — full guides
  • references/api-detail.md — renderer + visualVariable signatures
  • references/examples.md — one example per renderer
  • references/pitfalls.md — extended troubleshooting
  • scripts/snippet-unique-value.ts, snippet-class-breaks.ts, snippet-heatmap.ts, snippet-visual-variables.ts

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.