Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add stop_place_newest_version metadata #227

Merged
merged 1 commit into from
Apr 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
table:
name: stop_place_newest_version
schema: public
array_relationships:
- name: stop_place_access_spaces
using:
manual_configuration:
column_mapping:
id: stop_place_id
insertion_order: null
remote_table:
name: stop_place_access_spaces
schema: public
- name: stop_place_alternative_names
using:
manual_configuration:
column_mapping:
id: stop_place_id
insertion_order: null
remote_table:
name: stop_place_alternative_names
schema: public
- name: stop_place_children
using:
manual_configuration:
column_mapping:
id: stop_place_id
insertion_order: null
remote_table:
name: stop_place_children
schema: public
- name: stop_place_equipment_places
using:
manual_configuration:
column_mapping:
id: stop_place_id
insertion_order: null
remote_table:
name: stop_place_equipment_places
schema: public
- name: stop_place_key_values
using:
manual_configuration:
column_mapping:
id: stop_place_id
insertion_order: null
remote_table:
name: stop_place_key_values
schema: public
- name: stop_place_quays
using:
manual_configuration:
column_mapping:
id: stop_place_id
insertion_order: null
remote_table:
name: stop_place_quays
schema: public
- name: stop_place_tariff_zones
using:
manual_configuration:
column_mapping:
id: stop_place_id
insertion_order: null
remote_table:
name: stop_place_tariff_zones
schema: public
remote_relationships:
- definition:
to_remote_schema:
lhs_fields:
- netex_id
remote_field:
stopPlace:
arguments:
id: $netex_id
remote_schema: Tiamat
name: TiamatStopPlace
- definition:
to_source:
field_mapping:
netex_id: stop_place_ref
relationship_type: object
source: default
table:
name: scheduled_stop_point
schema: service_pattern
name: scheduled_stop_point_instance
1 change: 1 addition & 0 deletions metadata/hsl/databases/stops/tables/tables.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
- "!include public_schema_version.yaml"
- "!include public_spatial_ref_sys.yaml"
- "!include public_stop_place.yaml"
- "!include public_stop_place_newest_version.yaml"
- "!include public_stop_place_access_spaces.yaml"
- "!include public_stop_place_adjacent_sites.yaml"
- "!include public_stop_place_alternative_names.yaml"
Expand Down
Loading