AgenticGIS v0.2.7
v0.2.7 — Session Isolation + Auto-Delete Analysis Layers + Spatial Operations Guide
What's New
- Session isolation: Agent workspace state (layers, processing history, analysis results, errors) is now properly reset when starting a new chat session or switching between sessions.
- Auto-cleanup for analysis layers:
is_analysis=truelayer source files are auto-deleted on remove_layer(), clear_layers(), and session reset. - Comprehensive spatial operations reference: Added complete algorithm guide to the system prompt so the LLM correctly handles all spatial queries.
Spatial Operations Guide (NEW)
The system prompt now includes a complete reference for:
native:extractbylocation — ALL 8 PREDICATE values (MANDATORY)
| PREDICATE | Name | Use when user says... |
|---|---|---|
| 0 | intersect | "touching", "near", "inside" (loose) |
| 1 | contain | "enclosing", "containing" |
| 2 | disjoint | "outside", "beyond", "not in" ← for outside queries |
| 3 | equal | "exactly matching" |
| 4 | touch | "adjacent", "bordering" |
| 5 | overlap | "partially in" |
| 6 | are within | "completely inside" (strict) |
| 7 | cross | "crossing", "passing through" |
Also covered:
native:buffer— DISTANCE, SEGMENTS, END_CAP_STYLE, JOIN_STYLE, DISSOLVEnative:intersection— overlay with attribute preservationnative:clip— fast mask clippingnative:dissolve— merge by attributenative:union— combine two layersnative:difference— subtract overlaynative:symmetricaldifference— XOR (non-overlapping)native:joinattributesbylocation— spatial join with PREDICATE/METHOD- Workflow patterns: buffer→extract, inside vs outside counts, clip-then-analyze
UI Fixes
- Tool calls visible immediately (updateGeometry + repaint)
- Download card spacing (10px bottom margin)
- Text rendering restored (QLabel with proper color)
- Faster streaming (8ms coalesce, 16ms render)
- "Answering" status when final text streams
Previous Fixes
- v0.2.6: Layer detection on startup
- v0.2.5: Claude Code dedup, OpenCode streaming, process error tracking
Files
AgenticGIS-v0.2.7.zip(QGIS plugin)