Commit ade6c6e
committed
feat(roads): extend declarative mapping and add six regional feeds
The generic GeoJSON mapping gains validity dates, a record filter and
start/end coordinate fields, so three sources become descriptor entries
rather than parser work. Québec's existing chantiers feed is retrofitted
with its debut/fin — without them every Québec work zone read as active.
New coverage:
- Québec MTQ warnings (ms:evenements), with a crosswalk for the French
obstruction phrasings the layer publishes.
- Iceland's line-incident layer: every feature ships a null geometry beside
WGS84 start/end columns, and four fifths of it is a passable baseline the
filter drops.
- Ohio OHGO construction + incidents, a new point-event parser beside the
existing travel-delay flow reader. The envelope is read in either casing —
the host is geo-restricted, and guessing wrong would yield zero records
rather than an error.
- Victoria planned + unplanned disruptions, sharing the Freeway feed's key.
Recurrences map to the canonical Melbourne-local schedule; a response
reporting more pages warns rather than truncating silently.
- Ontario + New York road/winter conditions, via a second IBI 511 parser.
Segments reporting a clear road are skipped, so an empty result outside
the season is the normal state.
- Croatia's events publication beside the existing roadworks feed, plus
taxonomy mappings for the two record classes it leans on.
WZDx 3.1 feeds now parse: v3 puts the core fields directly on properties,
which the v4 mapping read as no event type at all, so Québec City's work
zones all landed as `other`. The resolver admits 3.1 rows accordingly.
DATEX records dropped for want of coordinates are counted per source and
surfaced in GET /feeds/status, so a feed losing its records to Alert-C-only
encoding no longer looks like a healthy, quiet one.
Credential metadata no longer depends on feed ordering: a feed that shares
an existing key without declaring a setup guide previously overwrote the
guide an earlier feed contributed.1 parent c9c5076 commit ade6c6e
50 files changed
Lines changed: 3028 additions & 31 deletions
File tree
- docs
- packages
- core/src
- roads
- atlas
- feeds/roads
- src
- __tests__
- fixtures
- hc-hr
- mtq-qc
- ohgo-oh
- vegagerdin-is
- vic-au
- wzdx
- catalog
- __tests__
- snapshots
- scripts
- __tests__
- lib
- services/ingest
- src
- __tests__
- pipeline
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
| |||
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
| 41 | + | |
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
| |||
44 | 47 | | |
45 | 48 | | |
46 | 49 | | |
| 50 | + | |
47 | 51 | | |
| 52 | + | |
| 53 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
45 | 48 | | |
46 | 49 | | |
47 | 50 | | |
| |||
0 commit comments