How proyectosandesvalue/woll_atacama_pruebas works
WOLL Atacama is a territorial WebGIS for exploring Atacama’s geospatial layers, with a natural-language AI assistant for querying and analyzing territorial data. The main user workflow initializes the map and thematic layers, supports layer discovery and visualization, and provides an assistant workflow from request handling through routing/tools to evidence-backed responses. The graph also preserves documented mapping, search, attribute-table, responsive/theme, and WMS capabilities. Several UI and chat relationships are supported by README descriptions or import references rather than complete call excerpts; ingestion is shown as a separate backend capability.
Main entry points: app.js App bootstrap · orchestrator.js LLM orchestrator · pool.js Database client · index.js Semantic layer search
Components 25
WebGIS visor
- App bootstrap
js/app.js - Theme catalogue
js/config/allTemasConfig.js - Map engine
js/utils/mapUtils.js - Layer sidebar
js/sidebar/dimensionBuilder.js - Layer loading/rendering
js/utils/layerUtils.js - Application state
js/store/appState.js - Search interface
js/ui/searchUI.js - Semantic layer search
js/search/index.js - Attribute table
js/ui/mapUI.js - Chat interface
js/ui/chatUI.js
AI territorial chat
- Chat API adapter
api/chat.js - Chat request handler
server/handlers/chat.js - Intent router
server/chat/router.js - Declarative pipelines
server/chat/capabilities/pipelines.js - LLM orchestrator
server/chat/orchestrator.js - Tool runners
server/chat/runners.js - Territorial query tools
server/chat/tools/index.js - Evidence and charts
server/chat/evidence.js
Data services
- LLM provider
server/llm/provider.js - Database client
server/db/pool.js - Supabase PostGIS
server/db/drivers/supabase.js - Scheduled ingest endpoint
api/cron/ingest.js - Ingestion runner
server/ingest/runner.js - Format adapters
server/ingest/adapters/json.js
Other components
- Map visitor
Connections 28
- Map visitor → App bootstrap: opens visor
README.md - App bootstrap → Map engine: initializes map
js/app.js - App bootstrap → Theme catalogue: loads dimensions
js/app.js - App bootstrap → Layer sidebar: builds sidebar
js/app.js - Layer sidebar → Layer loading/rendering: loads layers
js/sidebar/dimensionBuilder.js - Layer loading/rendering → Application state: updates layer state
js/utils/layerUtils.js - Search interface → Semantic layer search: submits searches
js/ui/searchUI.js - Semantic layer search → Layer loading/rendering: fetches layer data
js/search/index.js - Semantic layer search → Application state: checks loaded layers
js/search/index.js - Map visitor → Search interface: searches territory
README.md - Map visitor → Attribute table: explores attributes
README.md - Map visitor → Chat interface: asks questions
README.md - Chat interface → Chat API adapter: sends chat request
- Chat API adapter → Chat request handler: delegates request
api/chat.js - Chat request handler → Intent router: routes intent
server/handlers/chat.js - Intent router → Declarative pipelines: selects pipeline
server/chat/router.js - Declarative pipelines → Tool runners: executes steps
server/chat/capabilities/pipelines.js - Chat request handler → LLM orchestrator: runs assistant
server/handlers/chat.js - LLM orchestrator → LLM provider: requests completion
server/chat/orchestrator.js - LLM orchestrator → Tool runners: runs tool calls
server/chat/orchestrator.js - Tool runners → Territorial query tools: dispatches tools
server/chat/runners.js - LLM orchestrator → Evidence and charts: builds response evidence
server/chat/orchestrator.js - Intent router → Database client: reads catalogue
server/chat/router.js - Territorial query tools → Database client: queries territorial data
- Database client → Supabase PostGIS: creates driver
server/db/pool.js - Scheduled ingest endpoint → Ingestion runner: starts ingestion
- Ingestion runner → Format adapters: parses JSON
server/ingest/runner.js - Ingestion runner → Database client: writes data
server/ingest/runner.js