Skip to content

Commit d24bfb1

Browse files
committed
Treat procedure SensorML as canonical Digitraffic license metadata
1 parent 630b443 commit d24bfb1

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

publishers/digitraffic_weathercam/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ License and attribution reference:
1515

1616
- https://www.digitraffic.fi/en/terms-of-service/
1717

18+
Implementation note:
19+
20+
- On the current OSH/CSAPI server, datastream `documentation` is not retained for this datastream type.
21+
- Canonical license and attribution metadata therefore live in the publisher procedure SensorML (`documents`/`contacts`), not on the datastream record itself.
22+
1823
The publisher attaches one companion `digitrafficWeatherCamImage` datastream to each existing Digitraffic road-weather station system. This lets deployed-system cards render the camera imagery for the same station card.
1924

2025
## Bootstrap

publishers/digitraffic_weathercam/bootstrap_digitraffic_weathercam.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,6 @@ def _datastream_schema(camera: dict) -> dict:
106106
f"at {camera['cameraStationName']}, attached to road-weather station "
107107
f"{camera['roadWeatherStationId']} ({camera['roadWeatherStationName']})."
108108
),
109-
"documentation": [
110-
{"title": "Weathercam Station Latest Data", "href": _station_data_url(camera["cameraStationId"]), "rel": "service"},
111-
{"title": "Latest JPEG", "href": _image_url(preset_id), "rel": "alternate"},
112-
{"title": "Latest Thumbnail", "href": _thumb_url(preset_id), "rel": "preview"},
113-
{"title": "Digitraffic Terms of Use", "href": DIGITRAFFIC_LICENSE, "rel": "license"},
114-
],
115109
"schema": {
116110
"obsFormat": "application/om+json",
117111
"resultSchema": {

0 commit comments

Comments
 (0)