arcgis-feature-layer-upload

Upload CSV data to ArcGIS Feature Layers using truncate and append.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/franzenjb/claude-skills --skill arcgis-feature-layer-upload
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: arcgis-feature-layer-upload
Source: https://github.com/franzenjb/claude-skills/tree/main/arcgis-feature-layer-upload
Command: npx skills add https://github.com/franzenjb/claude-skills --skill arcgis-feature-layer-upload

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables automated updates to ArcGIS Feature Layers by uploading CSV data, simplifying data refresh workflows and reducing manual scripting.

Core Features & Use Cases

  • OAuth device code flow authentication for scripts, enabling secure access to ArcGIS Online without passwords.
  • Truncate + Append workflow to reliably replace all features in a layer with new data.
  • Error handling & cleanup guidance to ensure temporary items are removed and failures are diagnosed quickly.
  • Use Case: Regularly refresh a hosted CSV-backed layer for a regional dataset, ensuring the layer always reflects the latest data.

Quick Start

Run the arcgis-feature-layer-upload skill with a sample CSV and target Feature Layer URL to perform a truncate+append update.

Frequently Asked Questions about arcgis-feature-layer-upload

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

FAQPage Schema
How do I automate uploading CSV data to ArcGIS Feature Layers?

Automate uploading CSV data to ArcGIS Feature Layers by using a truncate and append workflow that completely replaces existing features. This approach handles periodic data refreshes and enterprise GIS automation without manual scripting.

Can I use OAuth device code flow authentication to access ArcGIS Online in automated scripts?

Yes, OAuth device code flow authentication supports secure access to ArcGIS Online in automated scripts. This method enables passwordless authentication and is compatible with accounts requiring two-factor authentication (2FA).

What is the best way to replace all features in an ArcGIS layer with new CSV data?

The best way to replace all features in an ArcGIS layer is the truncate and append workflow. This method completely clears existing layer data and appends the new CSV data, ensuring the hosted layer accurately reflects the latest dataset.

Do I need the ArcGIS Python API installed to automate feature layer updates?

Yes, you need the ArcGIS Python API installed to automate feature layer updates. This environment requirement provides the necessary functions to authenticate via OAuth and execute the truncate and append data replacement operations.

Why does my CSV to ArcGIS Feature Layer upload fail and how do I handle cleanup?

CSV to ArcGIS Feature Layer uploads can fail due to authentication or formatting issues, but error handling and cleanup guidance helps diagnose failures quickly. This ensures temporary items are removed and the layer remains stable during automated refreshes.

Does this ArcGIS automation approach work for regular enterprise GIS data refreshes?

Yes, this ArcGIS automation approach works for regular enterprise GIS data refreshes. It is designed for periodic updates across enterprise workflows, ensuring regional datasets and hosted layers consistently reflect the most current data.