Operations Manual
A step-by-step guide to setting up and using ARIA — from downloading the file to generating your first sector-specific CAP alert descriptions.
Download & open ARIA
ARIA is a single HTML file. There is nothing to install. It runs entirely in your web browser.
Go to lastlarch.com/aria and click Download tool →. Save the file — it will be called ARIA.html.
Tools/ARIA/ works well.Double-click ARIA.html. It will open in your default web browser. Chrome, Edge, Firefox, and Safari all work. No internet connection is required once it's open — unless you're querying online data sources or using an AI API.
You'll see a dark-themed map on the right and a sidebar on the left. A sample dataset (European city points) is pre-loaded so you can test the tool immediately.
How ARIA works
ARIA is a three-step wizard. Each step builds on the last.
Load your GIS data sources, then draw or paste a polygon representing the hazard footprint. ARIA queries every active source and shows you what's inside — schools, health facilities, roads, whatever your data contains.
Choose which layers to include, set the hazard type and severity, and connect your ARIA-Lex library and AI model. This is where ARIA grounds the output in validated language before the AI adds local specifics.
ARIA produces sector-specific <headline> and <description> blocks ready to paste into your CAP editor. Each block is tagged to show whether it came from your library or was generated fresh.
Every step has a ← Back button so you can return and adjust at any time — change your polygon, add a source, or tweak the hazard settings without losing your work. The step indicators at the top show where you are and which steps are complete.
Load a locally saved file
Use this for GeoJSON files or shapefiles stored on your computer. Your data never leaves your machine.
The easiest way. Drag a .geojson, .json, or .zip (shapefile) file from your file explorer and drop it anywhere on the ARIA window. It loads instantly and appears in the sources list.
Click + Add source in the sidebar. Enter a name, select Shapefile (.zip) from the type dropdown, click File, and browse to your file. Click Add source.
A toggle switch shows it's active. The badge shows the format. If you've already drawn a polygon, the query runs automatically.
Connect an ArcGIS layer
ARIA can query ArcGIS Online FeatureServer layers directly. It also accepts web map URLs and extracts all layers automatically.
ARIA accepts three URL formats — paste whichever you have:
| Format | Example | |
|---|---|---|
| FeatureServer | Recommended | …/FeatureServer/0 |
| FeatureServer (no index) | Auto-fixed | …/FeatureServer → ARIA appends /0 |
| Web Map Viewer URL | Auto-extracts all layers | arcgis.com/home/item.html?id=… |
ArcGIS sources are queried live when you draw a polygon — the features inside your polygon are fetched directly from the service. No data is cached locally.
Connect a WFS endpoint
WFS (Web Feature Service) is a standard used by many national spatial data infrastructures and open data portals.
A WFS URL typically looks like:https://example.com/geoserver/ows?service=WFS&version=2.0.0&typeName=layername
ARIA appends a bounding box filter derived from your polygon when querying. You don't need to add BBOX parameters yourself.
Load a GeoJSON from a URL
If your data is hosted online as a GeoJSON file, ARIA can fetch it directly.
Paste a direct URL to a .geojson or .json file — for example a GitHub raw file URL or an HDX download link.
ARIA fetches and caches the file in memory. It will show a green success message with the source name. The data is now available for polygon queries without a network request each time.
Draw a polygon on the map
Use this when you want to define the hazard footprint manually or when exploring data coverage.
Pan and zoom the map. If you have local data loaded, click ⊕ Fit map to data to jump straight to the right area.
In the top-left of the map, click the pentagon-shaped draw icon. Your cursor will change to a crosshair.
Click once for each corner of your polygon. Click the first point again (or double-click) to close the shape. The query runs automatically as soon as the polygon is closed.
Click the edit (pencil) icon in the map toolbar to drag vertices. The query re-runs automatically when you save the edit.
Paste a polygon from a warning
Use this when you have coordinates from a meteorological service, a flood model output, or any other external source. ARIA accepts three formats.
It's below the data sources list. Click into the text area.
| Format | Example |
|---|---|
| Lat/lng pairs | -1.94, 30.06One pair per line. Comma or space separated. |
| GeoJSON | {"type":"Polygon","coordinates":[[...]]}Feature, FeatureCollection, or geometry object. |
| WKT | POLYGON((30.06 -1.94, 30.14 -1.94, ...))Standard Well-Known Text format. |
ARIA draws the polygon on the map, zooms to it, and runs the query automatically.
Load ARIA-Lex
ARIA-Lex is the seed library of pre-validated early action messages. Loading it means the AI will use approved language as its foundation rather than generating everything from scratch.
Go to lastlarch.com/aria#aria-lex and download ARIA-Lex.db. Save it alongside ARIA.html or in a known location.
In the top-right corner of ARIA you'll see a small indicator that says No library loaded. Click it to open the library settings panel.
Drag ARIA-Lex.db onto the drop zone, or click it to browse. The library loads in seconds. The indicator turns green and shows the message count.
.db file directly onto the main ARIA window at any time — it automatically routes to the library loader.You'll need to reload it each time you open ARIA, as no data is stored between sessions. This keeps your data local and private.
Set hazard type, severity & authority level
These three settings control which library messages are retrieved and how the AI frames the output.
Hazard type
| Option | DB code | Use for |
|---|---|---|
| Cyclone / Hurricane | cy | Tropical cyclones, hurricanes, typhoons |
| Flood | fl | River flood, flash flood, urban flooding |
| Heatwave | hw | Extreme heat events |
| Wildfire | wf | Forest fire, bushfire |
| Earthquake | eq | Seismic events |
| Tsunami | ts | Coastal wave events |
| Cold wave / Freeze | cw | Extreme cold, frost, snowstorm |
| Disease outbreak | do | Epidemic, pandemic risk areas |
Severity
| Level | CAP urgency | Use when |
|---|---|---|
| Extreme | Immediate | Threat to life, take action now |
| Severe | Expected | Significant impact likely, prepare now |
| Moderate | Future | Impact possible, monitor and prepare |
| Minor | Future | Limited impact expected |
Authority level
| Option | Use when |
|---|---|
| Auto — infer | Let the AI decide based on the scale and type of your GIS data. Good default. |
| National | Alert is being issued by a national agency, for national distribution |
| Regional / Provincial | Alert targets a province, region, or state |
| Local / Operational | Alert targets a district, municipality, or specific facilities |
| Individual / Household | Alert language is directed at members of the public |
Connect an AI model
ARIA works with any OpenAI-compatible API. You provide the API key — it is stored only in your browser and never sent to Last Larch.
| Preset | Provider | Get API key at |
|---|---|---|
| Claude | Anthropic | console.anthropic.com |
| GPT-4o | OpenAI | platform.openai.com/api-keys |
| Gemini | aistudio.google.com | |
| Custom | Any compatible | Enter your own endpoint URL and model name |
Click the preset button for your provider. The endpoint and model name fill in automatically. Paste your API key into the key field.
Select Custom and enter your endpoint URL and model name. This works with any OpenAI-compatible API — including self-hosted models running via Ollama or similar tools. For self-hosted models, your data never leaves your network.
Generate & read the output
Click Generate alert descriptions → and ARIA does the rest. Or use Library-only mode to skip the AI entirely.
If you have ARIA-Lex loaded and want to work on an air-gapped machine or without any AI API, tick the Library only (no AI) checkbox next to the Generate button. ARIA looks up matching pre-validated messages by hazard, severity and authority level and renders them directly — no internet connection required beyond the initial tool download.
ARIA first queries your library, then calls the AI. The loading message tells you what's happening — for example: "Grounding against 24 library messages, then contextualising with local data…"
Every sector card has a tag in the top-left telling you where the language came from:
On Library and Contextualised cards, a green panel shows the exact library messages the AI used as its source. This lets you verify the AI stayed true to your validated language.
Copy & export descriptions
Once you have query results in Step 1, a green ↓ CSV button appears in the results panel. Click it to download a flat CSV of every feature found across all layers — with source name, geometry type, coordinates, and all properties. This is a simple validation file to confirm what was surfaced before you generate alert language.
Click the Copy button on any sector card. Both the <headline> and <description> are copied to your clipboard, formatted for pasting directly into a CAP editor.
Click Download .txt at the bottom of the results. You get a plain text file with all sector descriptions, labelled with their source tag ([LIBRARY], [CONTEXTUALISED], or [SYNTHESISED]) and the hazard/severity.
Troubleshooting
You need an internet connection for the map tiles (CartoDB). Check your connection. The map tiles are the only part of ARIA that requires internet when not using API sources.
Open the URL in your browser directly. If you see a login page, the layer is private. If you see JSON, the issue is likely CORS — the server is blocking browser requests. Try downloading the data as a file and loading it locally instead.
Check that the source's toggle is switched on (green). Click ⊕ Fit map to data to confirm the source data actually covers the area you've drawn your polygon in.
The most common causes: wrong API key, wrong endpoint URL, or the model name is misspelled. Double-check all three. For Claude, make sure your key starts with sk-ant-. For OpenAI, sk-.
The current hazard/severity combination may not have entries in your library file. Check the library preview in Step 2. The AI will still generate descriptions — they'll be tagged Synthesised.
Check that ARIA-Lex is loaded (the indicator in the top-right should be green). Then confirm the hazard and severity combination you've selected has entries in the library — the preview in Step 2 will tell you. If it says "No library messages found", try a different severity level or check that the correct .db file is loaded.
Email fysh@lastlarch.com with a description of what you were doing and what happened. Screenshots help.