-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Comboios de Portugal GTFS feed and CARRIS GTFS-RT (Vehicle Positi…
…ons) [SOURCES] (#378) * Add Comboios de Portugal GTFS feed and CARRIS GTFS-RT VP * Updating transit provider to match other Carris feeds * Update to match transit provider in other feeds * Fix entity type to be an array * remove null comment --------- Co-authored-by: Emma Blue <[email protected]>
- Loading branch information
Showing
3 changed files
with
42 additions
and
2 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
catalogs/sources/gtfs/realtime/pt-lisboa-carris-gtfs-rt-v-p-2032.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"mdb_source_id": 2032, | ||
"data_type": "gtfs-rt", | ||
"entity_type": [ | ||
"vp" | ||
], | ||
"provider": "Carris", | ||
"static_reference": [ | ||
1032 | ||
], | ||
"urls": { | ||
"direct_download": "https://gateway.carris.pt/gateway/gtfs/api/v2.8/GTFS/realtime/vehiclepositions" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
catalogs/sources/gtfs/schedule/pt-unknown-cp---comboios-de-portugal-gtfs-2031.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"mdb_source_id": 2031, | ||
"data_type": "gtfs", | ||
"provider": "CP - Comboios de Portugal", | ||
"location": { | ||
"country_code": "PT", | ||
"bounding_box": { | ||
"minimum_latitude": 37.014101, | ||
"maximum_latitude": 42.024982, | ||
"minimum_longitude": -9.418564, | ||
"maximum_longitude": -6.829114, | ||
"extracted_on": "2024-06-14T14:59:55+00:00" | ||
} | ||
}, | ||
"urls": { | ||
"direct_download": "https://publico.cp.pt/gtfs/gtfs.zip", | ||
"latest": "https://storage.googleapis.com/storage/v1/b/mdb-latest/o/pt-unknown-cp---comboios-de-portugal-gtfs-2031.zip?alt=media" | ||
}, | ||
"redirect": [] | ||
} |