@transportme/load-ptv-gtfs 1.4.2 → 1.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/gtfs-parser/GTFSRoute.mjs +22 -4
- package/lib/gtfs-parser/GTFSTrip.mjs +23 -1
- package/lib/gtfs-parser/readers/GTFSCalendarReader.mjs +1 -0
- package/lib/gtfs-parser/readers/line-reader.mjs +1 -6
- package/lib/loader/RouteLoader.mjs +4 -2
- package/lib/loader/ShapeLoader.mjs +3 -2
- package/lib/loader/StopsLoader.mjs +4 -2
- package/lib/loader/TripLoader.mjs +13 -4
- package/lib/post-processing/set-route-stops.mjs +12 -3
- package/package.json +1 -1
- package/.github/workflows/unit-test.yml +0 -46
- package/test/gtfs-calendar.test.mjs +0 -182
- package/test/gtfs-route-loader.test.mjs +0 -208
- package/test/gtfs-routes.test.mjs +0 -77
- package/test/gtfs-shapes-loader.test.mjs +0 -105
- package/test/gtfs-shapes.test.mjs +0 -23
- package/test/gtfs-stop-loader.test.mjs +0 -415
- package/test/gtfs-stop-times.test.mjs +0 -37
- package/test/gtfs-stops.test.mjs +0 -311
- package/test/gtfs-trip-loader.test.mjs +0 -188
- package/test/gtfs-trips.test.mjs +0 -108
- package/test/line-reader.test.mjs +0 -120
- package/test/merge-stops-full.test.mjs +0 -118
- package/test/merge-stops.test.mjs +0 -376
- package/test/new-metro-loader-test.test.mjs +0 -244
- package/test/new-tram-format.test.mjs +0 -49
- package/test/newer-metro-loader-test.test.mjs +0 -80
- package/test/newer-tram-format.test.mjs +0 -67
- package/test/ptv-gtfs.test.mjs +0 -106
- package/test/sample-data/calendar/calendar.txt +0 -34
- package/test/sample-data/calendar/calendar_dates.txt +0 -26
- package/test/sample-data/gtfs-splitting/force_unique_stops_bus.txt +0 -7
- package/test/sample-data/gtfs-splitting/force_unique_stops_tram.txt +0 -3
- package/test/sample-data/gtfs-splitting/general-stores.txt +0 -19
- package/test/sample-data/gtfs-splitting/line_reader_test.txt +0 -8
- package/test/sample-data/gtfs-splitting/name_overrides.txt +0 -4
- package/test/sample-data/gtfs-splitting/sample_stops.txt +0 -20
- package/test/sample-data/gtfs-splitting/special_chars_stops_csv.txt +0 -6
- package/test/sample-data/gtfs-splitting/stops_without_secondary.txt +0 -6
- package/test/sample-data/gtfs-splitting/union_with_spaces.txt +0 -5
- package/test/sample-data/gtfs-unzipping/gtfs.zip +0 -0
- package/test/sample-data/merge/shapes.txt +0 -1224
- package/test/sample-data/merge/stop_times.txt +0 -103
- package/test/sample-data/merge/stops.txt +0 -39
- package/test/sample-data/merge/trips.txt +0 -7
- package/test/sample-data/mtm-rail/stops.txt +0 -4
- package/test/sample-data/new-metro/calendar.txt +0 -13
- package/test/sample-data/new-metro/calendar_dates.txt +0 -1
- package/test/sample-data/new-metro/routes.txt +0 -18
- package/test/sample-data/new-metro/simple_stop_test.txt +0 -6
- package/test/sample-data/new-metro/stop_times.txt +0 -64
- package/test/sample-data/new-metro/stops.txt +0 -139
- package/test/sample-data/new-metro/trips.txt +0 -6
- package/test/sample-data/new-metro-2/calendar.txt +0 -13
- package/test/sample-data/new-metro-2/calendar_dates.txt +0 -1
- package/test/sample-data/new-metro-2/routes.txt +0 -2
- package/test/sample-data/new-metro-2/stop_times.txt +0 -5
- package/test/sample-data/new-metro-2/stops.txt +0 -9
- package/test/sample-data/new-metro-2/trips.txt +0 -2
- package/test/sample-data/new-tram/routes.txt +0 -25
- package/test/sample-data/new-tram/stops.txt +0 -5
- package/test/sample-data/new-tram-2/routes.txt +0 -25
- package/test/sample-data/new-tram-2/stops.txt +0 -8
- package/test/sample-data/one_line.csv +0 -2
- package/test/sample-data/parent-stop/multi_stop.txt +0 -4
- package/test/sample-data/parent-stop/stops.txt +0 -15
- package/test/sample-data/routes/agency.txt +0 -12
- package/test/sample-data/routes/bad_routes.txt +0 -4
- package/test/sample-data/routes/metro_bus_routes.txt +0 -4
- package/test/sample-data/routes/metro_lines.txt +0 -8
- package/test/sample-data/routes/regional_bus_routes.txt +0 -7
- package/test/sample-data/routes/vline.txt +0 -7
- package/test/sample-data/routes/west_gipp_transit.txt +0 -20
- package/test/sample-data/shapes/shapes.txt +0 -89
- package/test/sample-data/shapes/stop_times.txt +0 -9
- package/test/sample-data/shapes/stops.txt +0 -4
- package/test/sample-data/shapes/trips.txt +0 -4
- package/test/sample-data/stop-data/name-overrides.json +0 -25
- package/test/sample-data/stop-data/unique-stops.json +0 -1
- package/test/sample-data/suburbs.json +0 -77
- package/test/sample-data/trips/bus_trips.txt +0 -5
- package/test/sample-data/trips/stop_times.txt +0 -29
- package/test/sample-data/trips/stops.txt +0 -93
- package/test/sample-data/trips/trips.txt +0 -5
- package/test/utils-test.mjs +0 -12
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
stop_id,stop_name,stop_lat,stop_lon
|
|
2
|
-
"1000","Dole Ave/Cheddar Rd (Reservoir)","-37.7007748061827","145.018951051008"
|
|
3
|
-
"10001","Rex St/Taylors Rd (Kings Park)","-37.7269752097338","144.776152425766"
|
|
4
|
-
"10002","Yuille St/Centenary Ave (Melton)","-37.676159502415","144.595789405034"
|
|
5
|
-
"10009","Gum Rd/Main Rd West (Albanvale)","-37.7414971143105","144.775899388911"
|
|
6
|
-
"1001","Lloyd Ave/Cheddar Rd (Reservoir)","-37.6991830099559","145.019685286526"
|
|
7
|
-
"10010","Kings Rd/Main Rd West (St Albans)","-37.7419455261301","144.78008474429"
|
|
8
|
-
"10011","Moffat St/Main Rd West (St Albans)","-37.7423246041343","144.783466504334"
|
|
9
|
-
"16074","Waverley Rd/Watsons Rd (Glen Waverley)","-37.8900764627378","145.170243673036"
|
|
10
|
-
"15064","Waverley Rd/Watsons Rd (Glen Waverley)","-37.8901951633874","145.170343077835"
|
|
11
|
-
"9662","Waverley Rd/Warrigal Rd (Chadstone)","-37.879427459666","145.091009789504"
|
|
12
|
-
"9379","Waverley Rd/Warrigal Rd (Chadstone)","-37.8795658733597","145.090653754117"
|
|
13
|
-
"19580","Belgrave Station/Belgrave-Gembrook Rd (Belgrave)","-37.9096818213337","145.354857507576"
|
|
14
|
-
"19581","Belgrave Station/Belgrave-Gembrook Rd (Belgrave)","-37.9095756173024","145.354996370113"
|
|
15
|
-
"19582","Belgrave Station/Belgrave-Gembrook Rd (Belgrave)","-37.9094159930233","145.355181920791"
|
|
16
|
-
"28191","Lilydale Station/West William St (Lilydale)","-37.7570490306183","145.345723747959"
|
|
17
|
-
"28196","Lilydale Station/East William St (Lilydale)","-37.7575706259904","145.345644021564"
|
|
18
|
-
"28198","Lilydale Station/Main St (Lilydale)","-37.756739520712","145.345503616316"
|
|
19
|
-
"51586","Huntingdale Station/Haughton Rd (Oakleigh)","-37.9111998619901","145.103064853799"
|
|
20
|
-
"22440","Huntingdale Station/Huntingdale Rd (Huntingdale)","-37.911010298723","145.103604328761"
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
stop_id,stop_name,stop_lat,stop_lon
|
|
2
|
-
"1000","Dole Ave/Cheddar Rd (Reservoir)","-37.7007748061827","145.018951051008"
|
|
3
|
-
"10001","Rex St/Taylors Rd (Kings Park)","-37.7269752097338","144.776152425766"
|
|
4
|
-
"10002","Yuille St/Centenary Ave (Melton)","-37.676159502415","144.595789405034"
|
|
5
|
-
"10009","Gum Rd/Main Rd West (Albanvale)","-37.7414971143105","144.775899388911"
|
|
6
|
-
"28675","Melbourne University/Grattan St (Carlton)","-37.800110297337","144.960705753974"
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
stop_id,stop_name,stop_lat,stop_lon
|
|
2
|
-
"12593","Robertson Dr","-38.2237081718997","145.052698159639"
|
|
3
|
-
"12596","Frankston Hospital","-38.1506579763471","145.130062890534"
|
|
4
|
-
"12598","Culcairn Dr","-38.166104751281","145.13749838788"
|
|
5
|
-
"12599","Kooyong Road - Stop 42","-37.8613464183028","145.019899262257"
|
|
6
|
-
"125","McArthur Rd","-37.7778985493395","145.063910947756"
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
stop_id,stop_name,stop_lat,stop_lon,location_type,parent_station,platform_code
|
|
2
|
-
"26535","Union Station","-37.82247773","145.10137376","","Parentvic:rail:UNN","1"
|
|
3
|
-
"26536","Union Station","-37.82245015","145.10134039","","Parentvic:rail:UNN","2"
|
|
4
|
-
"26537","Union Station","-37.82236780","145.10126297","","Parentvic:rail:UNN","3"
|
|
5
|
-
"Parentvic:rail:UNN","Union Railway Station ","-37.82315506","145.10034527","1","",""
|
|
Binary file
|