Skip to content

Commit

Permalink
Add Comboios de Portugal GTFS feed and CARRIS GTFS-RT (Vehicle Positi…
Browse files Browse the repository at this point in the history
…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
joaodcp and emmambd authored Aug 5, 2024
1 parent 528f633 commit e989fd6
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 2 deletions.
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"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"mdb_source_id": 1037,
"data_type": "gtfs",
"provider": "Comboios de Portugal (CP)",
"status": "deprecated",
"location": {
"country_code": "PT",
"subdivision_name": "Lisboa",
Expand All @@ -16,5 +17,10 @@
"urls": {
"direct_download": "http://www.transporlis.pt/Portals/0/OpenData/gtfs/zip/3/gtfs_3.zip",
"latest": "https://storage.googleapis.com/storage/v1/b/mdb-latest/o/pt-lisboa-comboios-de-portugal-cp-gtfs-1037.zip?alt=media"
}
}
},
"redirect": [
{
"id": 2031
}
]
}
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": []
}

0 comments on commit e989fd6

Please sign in to comment.