You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Snapshot: layers.json bloat for service layers #50
A simple map with only two ArcGIS Online service layers produces a 100k+ line layers.json file on snapshot. This makes the export unnecessarily large and slow to parse.
Expected Behavior
layers.json should contain a concise summary of layer metadata — not the full service definition or all sublayer details. For service layers (map services, feature services, etc.), we should export only the essential properties needed for CLI queries.
Suggested Approach
Identify which fields are being serialized that cause the bloat (likely full service metadata, renderer details, or field definitions)
Filter exported properties to a relevant subset (name, URL, type, visibility, spatial reference, etc.)
Consider a --full flag if users ever need the complete dump
Activity
danmaps commentedon Sep 22, 2026
@copilot was this already completed?