test(dams): run the Acaray and Yacyretá layer check on main's test doubles

The separate layer test built a fake viewer with the old Cesium interface,
which fails on current main. Move it into src/data/infrastructure.test.mjs on
the fake ground renderer and input port, with one table and one parse of
dams.geojsonl for both checks. Compare source_url exactly and check
retrieved_at, and cover the dams attribution and both new records in the
find_infrastructure tests.

Also trim the dataset README section (keep both dams as polygons), drop the
outdated "does not refresh or relicense" sentence, keep provenance out of the
License cell, rename the changelog fragment after the change, and restore the
accent in the test name.
This commit is contained in:
German Khokhlov committed 2026-11-20 03:36:30 +04:00
1 parent 17b75e8896
commit fa4b4adeae
8 files changed
+87 -137

No files matched your search

+8 -13
View File
@@ -16,20 +16,15 @@ The public-release snapshot removes contact-oriented fields and note values
that contain email or phone identifiers. The runtime layer does not display or
depend on those fields.
## OSM API additions
## Paraguay additions (2026-10-15)
Two dams come from the public OpenStreetMap API rather than the extract:
The existing extract is supplemented with two OpenStreetMap features fetched
through the public OSM API, under the same ODbL 1.0 license:
- Acaray: [way 262532166](https://www.openstreetmap.org/way/262532166), its closed outline of nine nodes.
- Represa Yacyretá-Apipé: [relation 5671745](https://www.openstreetmap.org/relation/5671745), its eight outer ways joined into one closed outline.
- Acaray: [way 262532166](https://www.openstreetmap.org/way/262532166), original closed dam outline, stored as a polygon from the way's nine nodes.
- Represa Yacyretá-Apipé: [relation 5671745](https://www.openstreetmap.org/relation/5671745), original dam outline. Its eight outer ways are joined by shared node IDs into one closed polygon; no reservoir or duplicate power-plant footprint is added.
Both are under the same ODbL 1.0; the relation keeps the extract's negative ID (-5671745).
Keep both as polygons: the Dams layer skips LineStrings.
Each feature preserves the OSM name/tags and records its source URL, parent
object version and retrieval date. Relation IDs retain the extract's negative-ID
convention. Node metadata and contributor identifiers are not bundled. This is
a static map inventory, not live generation, reservoir level or dam status.
The layer places a polygon's marker and label at the centre of its bounding
sphere. The Yacyretá outline is L-shaped, so its marker sits about 1.6 km from
the outline, over the reservoir.
The layer puts a polygon's marker at the centre of its bounding sphere. The Yacyretá outline is L-shaped, so its
marker sits about 1.6 km from the outline, over the reservoir.