Logo vun Static Map

Static Map

Communautéit
danmaps
static-map

Assess and publish relatively static, read-only ArcGIS maps as hosted vector tile layers when feature-service capabilities are unnecessary

Iwwersiicht

Editeurdanmaps
Repositorygis-agent-skills
Skill-Nummstatic-map
Stären
30
Forks
2
Matgeliwwert Fichieren
5
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 5 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Vum danmaps op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Static Map an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/danmaps/gis-agent-skills/tree/main/skills/static-map
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/danmaps/gis-agent-skills.git /tmp/gis-agent-skills
mkdir -p .claude/skills
cp -r /tmp/gis-agent-skills/skills/static-map .claude/skills/static-map
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Static Map an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Static Map automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Static Map net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Static Map

Help a GIS practitioner choose and, when explicitly requested, execute the least capable ArcGIS Online publication architecture that fully satisfies a map's requirements.

Intent

Use a hosted vector tile layer for maps whose primary job is fast, read-only visualization. Do not optimize for conversion volume: the correct outcome may be a recommendation to use a hosted feature layer or another service.

The workflow is:

  1. classify the map and interaction requirements
  2. stop and recommend a feature service when critical feature behavior is required
  3. inspect map layers, scale ranges, labels, symbology, metadata, and popup fields
  4. report supported, approximated, and unsupported cartography before packaging
  5. minimize retained attributes
  6. prepare a .vtpk with ArcGIS Pro's Create Vector Tile Package workflow
  7. inspect the package before publication
  8. publish with SharePackage(publish_web_layer=True) without an associated feature layer
  9. optionally create a lightweight web map
  10. return a publishing receipt with warnings, limitations, and replacement instructions

Default to prepare mode. Execution is allowed only in an ArcGIS Pro-authenticated environment with arcpy available and explicit target sharing details.

Decision gate

Recommend a hosted vector tile layer when most of these are true

  • read-only visualization
  • static or periodically republished data
  • many features draw simultaneously
  • users primarily pan and zoom
  • cartography matters more than feature interaction
  • no editing, live updates, arbitrary queries, attachments, related records, or transactional behavior
  • simple identify is optional and needs only a small set of fields
  • the data can tolerate scale-appropriate generalization

Stop and recommend a feature layer or another architecture when any critical requirement includes

  • editing
  • frequent, real-time, or near-real-time updates
  • arbitrary attribute or spatial queries
  • complex filtering or selections driving application behavior
  • attachments, related records, or rich popup experiences
  • downstream feature analysis or feature-level APIs
  • complete feature geometry at arbitrary scales
  • transactional behavior

Explain the architectural reason; do not merely refuse the workflow.

Interaction levels

  • Level 0 — display only: retain only fields needed for drawing, styling, and labeling.
  • Level 1 — simple identify: retain a small, explicitly requested set of popup fields and ObjectID when feature identity is needed.
  • Level 2 — rich feature interaction: recommend a feature layer. Rich popups, charts, attachments, related information, editing, querying, and application-level feature behavior do not fit the static simplification.

Inputs

Use information available in the current Copilot session, repository, and ArcGIS Pro context:

  • project_path — .aprx path
  • map_name
  • layer_names — optional subset
  • output_name
  • portal_url and existing ArcGIS Pro portal authentication
  • folder
  • sharing — owner by default; organization, groups, or public only when explicitly requested
  • groups
  • summary and tags
  • minimum_scale and maximum_scale
  • popup_mode — none or simple
  • popup_fields
  • execute — false by default
  • create_web_map
  • replace_item_id — explicit replacement intent only

Ask only for information needed to prevent an unsafe, destructive, or incorrectly shared publication. Never infer public, organization, or group sharing from an ambiguous request.

Preflight output

Before packaging, produce a report with:

text
STATIC MAP PREFLIGHT
Map: <name>
Layers: <count>
Vector layers: <count>
Raster layers: <count>
Editing required: <yes/no>
Live updates required: <yes/no>
Rich queries required: <yes/no>
Interaction: <display only/simple identify/rich feature interaction>
Candidate: <VECTOR TILE/FEATURE LAYER/OTHER>
Warnings:
- <specific compatibility, metadata, scale, or attribute warning>
Recommendation:
<architecture and why>

Classify cartography as Supported, Approximated, or Unsupported. Never silently remove or materially simplify important symbology. Common warning areas include gradients, hatches, marker effects, markers along lines or polygon outlines, and unsupported symbol effects.

Warn when many popup fields are requested. Retain only fields demonstrated to be needed for drawing, labels, styles, or simple identify. Include ObjectID only when identity is required.

Publishing workflow

Prepare mode

Prepare a reviewable ArcPy script and parameter summary. Validate the project path, map selection, output location, scale settings, sharing target, and replacement intent. Do not publish.

Execute mode

Require all of the following:

  • arcpy is available in the ArcGIS Pro Python environment
  • the target portal is already authenticated in ArcGIS Pro
  • the target sharing level and folder are explicit
  • replacement is explicit when an existing item is involved
  • no credentials are present in generated code or arguments

Use the package route:

text
ArcGISProject -> Map -> CreateVectorTilePackage -> SharePackage(publish_web_layer=True)

Do not use VectorTileSharingDraft as the default route because it is designed around a vector tile layer with an associated feature layer. Do not create an associated feature layer for this workflow.

Use the standard online tiling scheme unless a justified alternative is required. Inspect and report the .vtpk path, file size, layer count, retained fields, scale range, and warnings before publication.

For replacement, create a new package and use ArcGIS Pro's replacement workflow so the production item identity remains stable when supported. Never overwrite an existing production layer without an explicit replace_item_id.

Automatic web-map creation is optional and must not block package publication. If requested, include only an approved basemap, the vector tile layer, initial extent, title, summary, and explicit sharing.

Outputs

Return the preflight report, compatibility findings, package path and size, retained popup fields, publication item IDs/URLs when available, warnings, and a publishing receipt suitable for saving as Markdown.

For a rejected candidate, return the blocking requirements and the recommended architecture instead of generating misleading vector-tile steps.

Example request

Assess the read-only "County Boundaries" map in my ArcGIS Pro project for hosted vector tile publishing. Users only need to pan, zoom, and see county names; do not publish yet. Report compatibility warnings and prepare the packaging steps.

Cost and storage language

Explain that vector tile layers use ArcGIS Online's tile-storage model rather than hosted feature storage and may be materially cheaper for this use case. Do not hard-code credit rates because they change. Label any organization-specific comparison as an estimate and identify its source and date.

Safety

  • Never request, store, print, or embed ArcGIS credentials.
  • Never publish publicly unless explicitly requested.
  • Default sharing to owner.
  • Never retain all source fields by default.
  • Never silently remove unsupported symbology.
  • Never describe a vector tile layer as editable or query-equivalent to a feature layer.
  • Never publish sensitive data merely because it is technically possible.
  • Never replace an existing production item without explicit replacement intent.
  • Surface validation and publishing errors; do not return success-shaped fallbacks.

Read next

  • references/decision-guide.md
  • references/vector-tile-limitations.md
  • references/publishing-patterns.md
  • scripts/publish_static_map.py

Matgeliwwert Fichieren

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Static Map?

Assess and publish relatively static, read-only ArcGIS maps as hosted vector tile layers when feature-service capabilities are unnecessary

Firwat Static Map op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Static Map besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Static Map an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/danmaps/gis-agent-skills/tree/main/skills/static-map an. TypingMind liest d'Datei SKILL.md, bündelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Static Map benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Static Map benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Static Map domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Static Map gratis?

De Skill gëtt vum danmaps op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇