Document localized workflows and water map calibration

This commit is contained in:
b0txec
2026-08-22 16:51:32 +03:00
parent 7f09181d47
commit 218ca2fa85
5 changed files with 37 additions and 32 deletions
+5 -5
View File
@@ -36,13 +36,13 @@ Staging currently exercises the PostgreSQL → API → frontend path with synthe
### SolidJS frontend
- Queries the backend using the same origin in production builds.
- Provides Stations, City Analysis, Faktiskā, Ūdens temperatūra, Latvia overview, Database, HARMONIE, and LVGMC forecast workspaces.
- Provides Stacijas, Kartes, Faktiskā, Ūdens, Apskats, Arhīvs, Harmonie, and LVĢMC workspaces.
- Uses HTML canvas for broadcast maps and PNG export.
- Uses normalized transparent PNG assets for weather symbols; the internal letter codes remain stable identifiers and are not rendered as text or emoji.
### PostgreSQL
- Stores normalized weather observations used by Stations, City Analysis, Faktiskā, and Latvia overview.
- Stores normalized weather observations used by Stacijas, Kartes, Faktiskā, and Apskats.
- Is accessible only inside the isolated Compose network in staging.
- Uses a bind-mounted `postgres/` runtime directory in the current Compose configuration.
@@ -57,7 +57,7 @@ Staging currently exercises the PostgreSQL → API → frontend path with synthe
## Broadcast-map flow
### City Analysis temperature maps
### Kartes temperature maps
Queried city values are placed at predefined coordinates on one of four map backgrounds:
@@ -76,9 +76,9 @@ Weather symbols and wind values remain manual editorial inputs. One symbol can b
The renderer attaches each normalized 256×256 weather image to the measured edge of its temperature badge. All assets share one canvas, center, and scale, so placement does not depend on font bearings or baselines. The configuration permits per-station offsets when later production comparison requires them. Operator input selects the symbol but never controls its coordinates.
### Ūdens temperatūra
### Ūdens
Ūdens temperatūra is an independent fixed-template renderer. Its six ranges are currently manual editorial inputs rather than station-query results. A Latvian-named field configuration maps each water area to locked canvas coordinates. The workflow produces explicit 1920×1080 and 3840×1440 canvases and filenames; each size still requires comparison against newsroom output.
Ūdens is an independent fixed-template renderer. Its six ranges are manual editorial inputs rather than station-query results. The 1920×1080 and 3840×1440 products use separate authoritative templates and six separately measured value rectangles. Canvas `TextMetrics` visible-glyph bounds center the Monda text optically inside each rectangle. Preview scaling never changes native export geometry, and both output sizes have been visually validated against the supplied newsroom templates.
Monda Regular and Bold are bundled locally and used by the interface and generated text. Weather symbols are bundled as independent transparent PNG assets.