Skip to content

SoundTransitModificationsDev

sheldonabrown edited this page Feb 3, 2024 · 3 revisions

{{{

#unify name/url of ST #{"op":"update","match":{"class":"Agency","id":"40"},"update":{"class":"Agency","name":"Sound Transit","url":"http://www.soundtransit.org","timezone":"America/Los_Angeles"}}

Adjust stop locations for the two Link Light Rail terminals at Sea-Tac airport

{"op":"update","match":{"class":"Stop","id.id":"SeaNB"},"update":{"lat":47.4452965,"lon":-122.2968118}} {"op":"update","match":{"class":"Stop","id.id":"SeaSB"},"update":{"lat":47.4452911,"lon":-122.2969875}} {"op":"update","match":{"class":"Stop","id.id":"455"},"update":{"code":"University St", "name":"Symphony"}} {"op":"update","match":{"class":"Stop","id.id":"565"},"update":{"code":"University St", "name":"Symphony"}}

custom additions by sheldonabrown

trip has both stoptimes and frequencies

#{"op":"remove","match":{"class":"StopTime","trip.id.id":"3539104"}}

arrival time issue

#{"op":"remove","match":{"class":"StopTime","trip.id.id":"C75135"}} #{"op":"remove","match":{"class":"StopTime","trip.id.id":"C75121"}} #{"op":"remove","match":{"class":"StopTime","trip.id.id":"C75122"}} #{"op":"remove","match":{"class":"StopTime","trip.id.id":"C75123"}} #{"op":"remove","match":{"class":"StopTime","trip.id.id":"C75124"}} #{"op":"remove","match":{"class":"StopTime","trip.id.id":"C75125"}} #{"op":"remove","match":{"class":"StopTime","trip.id.id":"C25280"}} #{"op":"remove","match":{"class":"StopTime","trip.id.id":"C25281"}} #{"op":"remove","match":{"class":"StopTime","trip.id.id":"C25282"}} #{"op":"remove","match":{"class":"StopTime","trip.id.id":"C25283"}} #{"op":"remove","match":{"class":"StopTime","trip.id.id":"C25284"}}

Remove Stop Times that also exist in fequency

#{"op":"remove","match":{"class":"StopTime","trip.id.id":"15043721"}} #{"op":"remove","match":{"class":"StopTime","trip.id.id":"15043902"}} #{"op":"remove","match":{"class":"StopTime","trip.id.id":"15043774"}} #{"op":"remove","match":{"class":"StopTime","trip.id.id":"15220802"}} #{"op":"remove","match":{"class":"StopTime","trip.id.id":"15043837"}} #{"op":"remove","match":{"class":"StopTime","trip.id.id":"15043891"}} #{"op":"remove","match":{"class":"StopTime","trip.id.id":"15043598"}} #{"op":"remove","match":{"class":"StopTime","trip.id.id":"15043685"}}

remove all block ids from link gtfs

{"op":"update","match":{"file":"trips.txt","route_id":"100479"}, "update":{"block_id":"s/.*//"}}

Fare attributes

{"op":"update", "match":{"file":"fare_attributes.txt", "fare_id": "12"}, "update":{"youth_price":"2.5", "senior_price":"1.5"}} {"op":"update", "match":{"file":"fare_attributes.txt", "fare_id": "13"}, "update":{"youth_price":"2.75", "senior_price":"1.75"}} {"op":"update", "match":{"file":"fare_attributes.txt", "fare_id": "14"}, "update":{"youth_price":"2.75", "senior_price":"1.75"}} {"op":"update", "match":{"file":"fare_attributes.txt", "fare_id": "15"}, "update":{"youth_price":"3.0", "senior_price":"2.0"}} {"op":"update", "match":{"file":"fare_attributes.txt", "fare_id": "16"}, "update":{"youth_price":"3.25", "senior_price":"2"}} {"op":"update", "match":{"file":"fare_attributes.txt", "fare_id": "17"}, "update":{"youth_price":"3.50", "senior_price":"2.25"}} {"op":"update", "match":{"file":"fare_attributes.txt", "fare_id": "18"}, "update":{"youth_price":"3.50", "senior_price":"2.25"}} {"op":"update", "match":{"file":"fare_attributes.txt", "fare_id": "19"}, "update":{"youth_price":"3.75", "senior_price":"2.50"}} {"op":"update", "match":{"file":"fare_attributes.txt", "fare_id": "20"}, "update":{"youth_price":"4", "senior_price":"2.50"}} {"op":"update", "match":{"file":"fare_attributes.txt", "fare_id": "21"}, "update":{"youth_price":"4.25", "senior_price":"2.75"}} {"op":"update", "match":{"file":"fare_attributes.txt", "fare_id": "22"}, "update":{"youth_price":"4.25", "senior_price":"2.75"}} {"op":"update", "match":{"file":"fare_attributes.txt", "fare_id": "23"}, "update":{"youth_price":"4.50", "senior_price":"3.0"}}

Feed info

#{"op":"transform", "class":"org.onebusaway.gtfs_transformer.impl.FeedInfoFromAgencyStrategy", "agency_id":"40"}

Temporary edits to Takoma Link for testing purposes 8/13/19

#{"op":"update","match":{"class":"Route","longName":"Tacoma Link light rail"},"update":{"shortName":"Link Orange Line","longName":"Tacoma Dome – Theater District","type":0,"desc":"Tacoma Link provides service through downtown Tacoma 7 days a week","color":"FFA500","textColor":"FFFFFF"}}

stop urls

{"op":"update","match":{"class":"Stop","id.id":"1108"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/westlake-station"}} {"op":"update","match":{"class":"Stop","id.id":"1121"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/westlake-station"}} {"op":"update","match":{"class":"Stop","id.id":"455"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/university-street-station"}} {"op":"update","match":{"class":"Stop","id.id":"501"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/pioneer-square-station"}} {"op":"update","match":{"class":"Stop","id.id":"532"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/pioneer-square-station"}} {"op":"update","match":{"class":"Stop","id.id":"55578"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/rainier-beach-station"}} {"op":"update","match":{"class":"Stop","id.id":"55656"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/othello-station"}} {"op":"update","match":{"class":"Stop","id.id":"55778"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/columbia-city-station"}} {"op":"update","match":{"class":"Stop","id.id":"55860"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/mount-baker-station-transit-center"}} {"op":"update","match":{"class":"Stop","id.id":"55949"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/mount-baker-station-transit-center"}} {"op":"update","match":{"class":"Stop","id.id":"56039"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/columbia-city-station"}} {"op":"update","match":{"class":"Stop","id.id":"56159"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/othello-station"}} {"op":"update","match":{"class":"Stop","id.id":"56173"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/rainier-beach-station"}} {"op":"update","match":{"class":"Stop","id.id":"565"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/university-street-station"}} {"op":"update","match":{"class":"Stop","id.id":"621"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/international-district-chinatown-station"}} {"op":"update","match":{"class":"Stop","id.id":"623"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/international-district-chinatown-station"}} {"op":"update","match":{"class":"Stop","id.id":"990001"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/u-district-station"}} {"op":"update","match":{"class":"Stop","id.id":"990002"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/u-district-station"}} {"op":"update","match":{"class":"Stop","id.id":"990003"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/roosevelt-station"}} {"op":"update","match":{"class":"Stop","id.id":"990004"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/roosevelt-station"}} {"op":"update","match":{"class":"Stop","id.id":"990005"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/northgate-station"}} {"op":"update","match":{"class":"Stop","id.id":"990006"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/northgate-station"}} {"op":"update","match":{"class":"Stop","id.id":"99101"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/stadium-station"}} {"op":"update","match":{"class":"Stop","id.id":"99111"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/sodo-station"}} {"op":"update","match":{"class":"Stop","id.id":"99121"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/beacon-hill-station"}} {"op":"update","match":{"class":"Stop","id.id":"99240"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/beacon-hill-station"}} {"op":"update","match":{"class":"Stop","id.id":"99256"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/sodo-station"}} {"op":"update","match":{"class":"Stop","id.id":"99260"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/stadium-station"}} {"op":"update","match":{"class":"Stop","id.id":"99603"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/capitol-hill-station"}} {"op":"update","match":{"class":"Stop","id.id":"99604"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/university-washington-station"}} {"op":"update","match":{"class":"Stop","id.id":"99605"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/university-washington-station"}} {"op":"update","match":{"class":"Stop","id.id":"99610"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/capitol-hill-station"}} {"op":"update","match":{"class":"Stop","id.id":"99900"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/tukwila-international-boulevard-station"}} {"op":"update","match":{"class":"Stop","id.id":"99903"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/seatac-airport-station"}} {"op":"update","match":{"class":"Stop","id.id":"99904"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/seatac-airport-station"}} {"op":"update","match":{"class":"Stop","id.id":"99905"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/tukwila-international-boulevard-station"}} {"op":"update","match":{"class":"Stop","id.id":"99913"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/angle-lake-station"}} {"op":"update","match":{"class":"Stop","id.id":"99914"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/angle-lake-station"}} {"op":"update","match":{"class":"Stop","id.id":"S_AU_NB"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/auburn-station"}} {"op":"update","match":{"class":"Stop","id.id":"S_AU_SB"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/auburn-station"}} {"op":"update","match":{"class":"Stop","id.id":"S_ED"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/edmonds-station"}} {"op":"update","match":{"class":"Stop","id.id":"S_EV"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/everett-station"}} {"op":"update","match":{"class":"Stop","id.id":"S_KE_NB"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/kent-station"}} {"op":"update","match":{"class":"Stop","id.id":"S_KE_SB"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/kent-station"}} {"op":"update","match":{"class":"Stop","id.id":"S_KS"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/king-street-station"}} {"op":"update","match":{"class":"Stop","id.id":"S_LW"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/lakewood-station"}} {"op":"update","match":{"class":"Stop","id.id":"S_MU"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/mukilteo-station"}} {"op":"update","match":{"class":"Stop","id.id":"S_PU_NB"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/puyallup-station"}} {"op":"update","match":{"class":"Stop","id.id":"S_PU_SB"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/puyallup-station"}} {"op":"update","match":{"class":"Stop","id.id":"S_ST"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/south-tacoma-station"}} {"op":"update","match":{"class":"Stop","id.id":"S_SU_NB"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/sumner-station"}} {"op":"update","match":{"class":"Stop","id.id":"S_SU_SB"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/sumner-station"}} {"op":"update","match":{"class":"Stop","id.id":"S_TD"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/tacoma-dome-station"}} {"op":"update","match":{"class":"Stop","id.id":"S_TK_NB"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/tukwila-station"}} {"op":"update","match":{"class":"Stop","id.id":"S_TK_SB"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/tukwila-station"}} {"op":"update","match":{"class":"Stop","id.id":"TL_25"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/40_TL_25"}} {"op":"update","match":{"class":"Stop","id.id":"TL_CC"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/40_TL_CC"}} {"op":"update","match":{"class":"Stop","id.id":"TL_CS"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/40_TL_CS"}} {"op":"update","match":{"class":"Stop","id.id":"TL_TD"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/40_TL_TD"}} {"op":"update","match":{"class":"Stop","id.id":"TL_THD"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/40_TL_THD"}} {"op":"update","match":{"class":"Stop","id.id":"TL_US"},"update":{"stop_url":"https://www.soundtransit.org/ride-with-us/stops-stations/40_TL_US"}}

{"op":"transform", "class":"org.onebusaway.gtfs_transformer.updates.RemoveRepeatedStopTimesInSameTripStrategy"}

}}}

Clone this wiki locally