Skip to content

Commit

Permalink
port lake union and gas works routes from legacy to route db
Browse files Browse the repository at this point in the history
  • Loading branch information
ztatlock committed Apr 9, 2024
1 parent bb48341 commit 9f4d18a
Show file tree
Hide file tree
Showing 21 changed files with 225 additions and 40 deletions.
5 changes: 3 additions & 2 deletions _bin/route-db.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@
TYPES = ['Loop', 'P2P', 'OB']
LOCS = [
'Beacon',
'CSE',
'CapHill',
'ColCity',
'CSE',
'GasWorks',
'GreenLake',
'JaysCafe',
'Locks',
'MtBaker',
Expand Down Expand Up @@ -127,4 +128,4 @@ def main():
f.write('\n')

if __name__ == '__main__':
main()
main()
188 changes: 188 additions & 0 deletions _data/gpx/green-lake-loop.gpx
Original file line number Diff line number Diff line change
@@ -0,0 +1,188 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<gpx version="1.1" creator="https://onthegomap.com" xmlns="http://www.topografix.com/GPX/1/1">
<metadata>
<name>2.79 mi route</name>
<link href="https://onthegomap.com">
<text>On The Go Map</text>
</link>
<time>2024-04-09T02:50:20.907Z</time>
<copyright author="On The Go Map, OpenStreetMap Contributors">
<year>2024</year>
</copyright>
</metadata>
<trk>
<name>2.79 mi route</name>
<trkseg>
<trkpt lat="47.67994" lon="-122.3292"/>
<trkpt lat="47.68005" lon="-122.32919"/>
<trkpt lat="47.68021" lon="-122.32918"/>
<trkpt lat="47.68047" lon="-122.32917"/>
<trkpt lat="47.6805" lon="-122.32917"/>
<trkpt lat="47.68056" lon="-122.32916"/>
<trkpt lat="47.68078" lon="-122.32912"/>
<trkpt lat="47.68102" lon="-122.32907"/>
<trkpt lat="47.68132" lon="-122.329"/>
<trkpt lat="47.68143" lon="-122.32898"/>
<trkpt lat="47.68152" lon="-122.32897"/>
<trkpt lat="47.68156" lon="-122.32897"/>
<trkpt lat="47.68168" lon="-122.32898"/>
<trkpt lat="47.68176" lon="-122.32902"/>
<trkpt lat="47.68177" lon="-122.32903"/>
<trkpt lat="47.68189" lon="-122.32916"/>
<trkpt lat="47.68198" lon="-122.32931"/>
<trkpt lat="47.68209" lon="-122.32958"/>
<trkpt lat="47.68212" lon="-122.32972"/>
<trkpt lat="47.68213" lon="-122.32997"/>
<trkpt lat="47.6821" lon="-122.33009"/>
<trkpt lat="47.68206" lon="-122.33018"/>
<trkpt lat="47.68186" lon="-122.33048"/>
<trkpt lat="47.68178" lon="-122.33064"/>
<trkpt lat="47.68172" lon="-122.33095"/>
<trkpt lat="47.68172" lon="-122.33098"/>
<trkpt lat="47.68172" lon="-122.33121"/>
<trkpt lat="47.68175" lon="-122.33137"/>
<trkpt lat="47.68181" lon="-122.33153"/>
<trkpt lat="47.68211" lon="-122.33231"/>
<trkpt lat="47.68237" lon="-122.33339"/>
<trkpt lat="47.68244" lon="-122.33382"/>
<trkpt lat="47.68248" lon="-122.33391"/>
<trkpt lat="47.68253" lon="-122.33397"/>
<trkpt lat="47.68294" lon="-122.33427"/>
<trkpt lat="47.68313" lon="-122.33448"/>
<trkpt lat="47.68334" lon="-122.33474"/>
<trkpt lat="47.68358" lon="-122.335"/>
<trkpt lat="47.68371" lon="-122.33516"/>
<trkpt lat="47.68392" lon="-122.33532"/>
<trkpt lat="47.68412" lon="-122.33544"/>
<trkpt lat="47.68417" lon="-122.33547"/>
<trkpt lat="47.68432" lon="-122.33561"/>
<trkpt lat="47.68444" lon="-122.33577"/>
<trkpt lat="47.68455" lon="-122.33594"/>
<trkpt lat="47.68486" lon="-122.33666"/>
<trkpt lat="47.68491" lon="-122.33695"/>
<trkpt lat="47.68493" lon="-122.33726"/>
<trkpt lat="47.68495" lon="-122.33754"/>
<trkpt lat="47.68496" lon="-122.33771"/>
<trkpt lat="47.68496" lon="-122.33792"/>
<trkpt lat="47.68496" lon="-122.33819"/>
<trkpt lat="47.68492" lon="-122.33835"/>
<trkpt lat="47.68485" lon="-122.33847"/>
<trkpt lat="47.68432" lon="-122.339"/>
<trkpt lat="47.68421" lon="-122.33907"/>
<trkpt lat="47.68412" lon="-122.33909"/>
<trkpt lat="47.68394" lon="-122.33911"/>
<trkpt lat="47.68385" lon="-122.33916"/>
<trkpt lat="47.6837" lon="-122.33927"/>
<trkpt lat="47.68356" lon="-122.33941"/>
<trkpt lat="47.68339" lon="-122.33962"/>
<trkpt lat="47.68325" lon="-122.3398"/>
<trkpt lat="47.68316" lon="-122.33986"/>
<trkpt lat="47.68296" lon="-122.33979"/>
<trkpt lat="47.68269" lon="-122.33979"/>
<trkpt lat="47.68254" lon="-122.33983"/>
<trkpt lat="47.68244" lon="-122.33986"/>
<trkpt lat="47.68238" lon="-122.33988"/>
<trkpt lat="47.68216" lon="-122.33999"/>
<trkpt lat="47.68202" lon="-122.34005"/>
<trkpt lat="47.68193" lon="-122.34007"/>
<trkpt lat="47.68185" lon="-122.34009"/>
<trkpt lat="47.68178" lon="-122.34015"/>
<trkpt lat="47.68163" lon="-122.34043"/>
<trkpt lat="47.68109" lon="-122.34132"/>
<trkpt lat="47.68107" lon="-122.34149"/>
<trkpt lat="47.68109" lon="-122.34177"/>
<trkpt lat="47.68111" lon="-122.342"/>
<trkpt lat="47.68108" lon="-122.34224"/>
<trkpt lat="47.68105" lon="-122.34233"/>
<trkpt lat="47.68092" lon="-122.34262"/>
<trkpt lat="47.6809" lon="-122.34269"/>
<trkpt lat="47.6809" lon="-122.34278"/>
<trkpt lat="47.68093" lon="-122.34293"/>
<trkpt lat="47.68097" lon="-122.34303"/>
<trkpt lat="47.68103" lon="-122.34319"/>
<trkpt lat="47.68106" lon="-122.34344"/>
<trkpt lat="47.68104" lon="-122.34358"/>
<trkpt lat="47.681" lon="-122.34371"/>
<trkpt lat="47.68091" lon="-122.34392"/>
<trkpt lat="47.68078" lon="-122.34413"/>
<trkpt lat="47.6806" lon="-122.34434"/>
<trkpt lat="47.68039" lon="-122.34456"/>
<trkpt lat="47.6801" lon="-122.34476"/>
<trkpt lat="47.6795" lon="-122.345"/>
<trkpt lat="47.679" lon="-122.34512"/>
<trkpt lat="47.67878" lon="-122.34515"/>
<trkpt lat="47.67835" lon="-122.3452"/>
<trkpt lat="47.67811" lon="-122.34525"/>
<trkpt lat="47.67766" lon="-122.34542"/>
<trkpt lat="47.67763" lon="-122.34543"/>
<trkpt lat="47.67735" lon="-122.34557"/>
<trkpt lat="47.67641" lon="-122.34617"/>
<trkpt lat="47.67611" lon="-122.34632"/>
<trkpt lat="47.6758" lon="-122.34638"/>
<trkpt lat="47.67579" lon="-122.34638"/>
<trkpt lat="47.67564" lon="-122.34636"/>
<trkpt lat="47.67553" lon="-122.34632"/>
<trkpt lat="47.67491" lon="-122.34579"/>
<trkpt lat="47.67413" lon="-122.34495"/>
<trkpt lat="47.6734" lon="-122.34417"/>
<trkpt lat="47.67311" lon="-122.34393"/>
<trkpt lat="47.67291" lon="-122.34379"/>
<trkpt lat="47.67261" lon="-122.34364"/>
<trkpt lat="47.67226" lon="-122.34351"/>
<trkpt lat="47.67175" lon="-122.34344"/>
<trkpt lat="47.67146" lon="-122.34317"/>
<trkpt lat="47.6713" lon="-122.34244"/>
<trkpt lat="47.67133" lon="-122.34244"/>
<trkpt lat="47.67134" lon="-122.34231"/>
<trkpt lat="47.67153" lon="-122.34163"/>
<trkpt lat="47.67154" lon="-122.3413"/>
<trkpt lat="47.67157" lon="-122.34114"/>
<trkpt lat="47.6717" lon="-122.34051"/>
<trkpt lat="47.67189" lon="-122.33968"/>
<trkpt lat="47.67205" lon="-122.33915"/>
<trkpt lat="47.67227" lon="-122.3386"/>
<trkpt lat="47.67239" lon="-122.33833"/>
<trkpt lat="47.67251" lon="-122.33808"/>
<trkpt lat="47.67281" lon="-122.33755"/>
<trkpt lat="47.67328" lon="-122.33677"/>
<trkpt lat="47.67345" lon="-122.33648"/>
<trkpt lat="47.67365" lon="-122.33622"/>
<trkpt lat="47.67413" lon="-122.33563"/>
<trkpt lat="47.67442" lon="-122.33533"/>
<trkpt lat="47.67471" lon="-122.33509"/>
<trkpt lat="47.67491" lon="-122.33488"/>
<trkpt lat="47.67506" lon="-122.33468"/>
<trkpt lat="47.67541" lon="-122.3341"/>
<trkpt lat="47.67558" lon="-122.33379"/>
<trkpt lat="47.67572" lon="-122.33358"/>
<trkpt lat="47.67596" lon="-122.33332"/>
<trkpt lat="47.67613" lon="-122.33317"/>
<trkpt lat="47.67619" lon="-122.33311"/>
<trkpt lat="47.67644" lon="-122.33294"/>
<trkpt lat="47.67668" lon="-122.33283"/>
<trkpt lat="47.67709" lon="-122.33272"/>
<trkpt lat="47.67748" lon="-122.33259"/>
<trkpt lat="47.6777" lon="-122.33247"/>
<trkpt lat="47.67793" lon="-122.33232"/>
<trkpt lat="47.67813" lon="-122.33214"/>
<trkpt lat="47.67832" lon="-122.33194"/>
<trkpt lat="47.67853" lon="-122.33165"/>
<trkpt lat="47.67873" lon="-122.33131"/>
<trkpt lat="47.67879" lon="-122.33114"/>
<trkpt lat="47.6788" lon="-122.33109"/>
<trkpt lat="47.67884" lon="-122.33096"/>
<trkpt lat="47.67886" lon="-122.33082"/>
<trkpt lat="47.67886" lon="-122.33068"/>
<trkpt lat="47.6788" lon="-122.33017"/>
<trkpt lat="47.67883" lon="-122.3299"/>
<trkpt lat="47.67887" lon="-122.32978"/>
<trkpt lat="47.67894" lon="-122.32964"/>
<trkpt lat="47.67904" lon="-122.32952"/>
<trkpt lat="47.6792" lon="-122.3294"/>
<trkpt lat="47.67937" lon="-122.32932"/>
<trkpt lat="47.67976" lon="-122.32921"/>
<trkpt lat="47.67994" lon="-122.3292"/>
<trkpt lat="47.67994" lon="-122.32914"/>
</trkseg>
</trk>
</gpx>
5 changes: 0 additions & 5 deletions _data/legacy-routes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@
dist: 2.40
map: "http://www.gmap-pedometer.com/?r=6862844"

- id: green-lake-loop
name: "Green Lake Loop"
dist: 2.79
map: "https://onthegomap.com/?m=r&u=mi&w%5B%5D=Routes+may+not+be+suitable+for+public+use.&c%5B%5D=Route+data+%C2%A92021+On+The+Go+Map%2C+OpenStreetMap+Contributors&d=4494&f=f42a6ffd40&n=1&dm=1&context=share&r2=YpWZ9djqgNC0m18g3OM4I280O0G9EBUj1ER8V6l11VBRX1r1Nn15P3r12RIX2y1v4St3OX38X28RGJo2x1m2z2a1l1k2b2g1P83KBCHe1t1EPk1l38J6j1CZ40N2d10t17VDNf3f3LDH3D2N5j1VBBFF~1j2F9NAV4d11R5VBh1JPBJ5P97737Z4~63D8l35p139BVHr11H2DSZ22L2R3R7THb1JVf1n1h1f1n1Z1X1Fx2Vh3Nd17X4N~2Vp7t4z1RN7L1p1Ad1If1Uv1q1x4g5n3Y4~1_1LGd1Uz1Ub2Ol1AT2f14H8HKNq11E7a13y14Sc1Y6Am1Su3s1_6Go1y2s6w4c8g2k3i1s1k3w3w1o1e1e1Ue1e2s3Sm1i1c2i2i264o1Y1SEc3Um2Qg1Kk1W1e1a1c1g1g1u1e1c2Ma26S0U9c32k18W1EQKQUOa1Gg1Ee2AM2W12o12"

- id: portage-bay-loop
name: "Portage Bay Loop"
dist: 3.23
Expand Down
1 change: 1 addition & 0 deletions _data/route-db.csv
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"gas-works-lake-union-loop","Gas Works, Lake Union Loop","GasWorks","6.3","303","GasWorks","Loop","https://onthegomap.com/s/oepno6ud"
"gas-works-locks-salmon-bay","Gas Works, Locks, Salmon Bay Loop","GasWorks","8.0","250","GasWorks","Loop","https://onthegomap.com/s/4fpqkgfr"
"gas-works-kotkins-pier-salmon-bay","Gas Works, Kotkins Pier, Salmon Bay Loop","GasWorks","10.2","320","GasWorks","Loop","https://onthegomap.com/s/oufhpc2l"
"green-lake-loop","Green Lake Loop","GreenLake","2.8","91","GreenLake","Loop","https://onthegomap.com/s/9i7epe20"
"locks-discovery-salmon-bay-loop","Locks, Discovery Park, Salmon Bay Loop","Locks","8.1","890","Locks","Loop","https://onthegomap.com/s/uop4tt1d"
"mb-lwb-cc","Mount Bake, LWB, Columbia City","MtBaker","3.3","261","ColCity","P2P","https://onthegomap.com/s/3i1cco56"
"northgate-resevoirs-roosevelt","Northgate, Resevoirs, Green Lake","Northgate","4.1","600","Roosevelt","P2P","https://onthegomap.com/s/2tmbpess"
Expand Down
6 changes: 3 additions & 3 deletions _data/schedules/14-autumn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
- date: '2014-9-21'
plan:
- time: '9:30'
route_id: lake-union-loop
route_id: gas-works-lake-union-loop
- date: '2014-9-28'
plan:
- time: '9:30'
Expand Down Expand Up @@ -84,11 +84,11 @@
- date: '2014-12-07'
plan:
- time: '9:00'
route_id: lake-union-loop
route_id: gas-works-lake-union-loop
- date: '2014-12-14'
plan:
- time: '9:00'
route:
name: "Gasworks - UW - Ravenna - Greenlake Loop"
map: "http://www.gmap-pedometer.com/?r=6496031"
dist: 9.15
dist: 9.15
6 changes: 3 additions & 3 deletions _data/schedules/15-autumn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
- date: '2015-10-25'
plan:
- time: '9:30'
route_id: lake-union-loop
route_id: gas-works-lake-union-loop
- time: '10:45'
route:
name: "OB: Gasworks - Burke West"
Expand All @@ -61,7 +61,7 @@
- date: '2015-11-15'
plan:
- time: '10:00'
route_id: lake-union-loop
route_id: gas-works-lake-union-loop
notes: "CCW"
- time: '11:00'
route_id: gas-works-salmon-bay
Expand Down Expand Up @@ -109,4 +109,4 @@
map: "https://www.mapmyrun.com/routes/view/948974023"
dist: 10
- time: '11:30'
route_id: green-lake-loop
route_id: green-lake-loop
4 changes: 2 additions & 2 deletions _data/schedules/15-winter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
- date: '2015-02-08'
plan:
- time: '9:30'
route_id: lake-union-loop
route_id: gas-works-lake-union-loop
- date: '2015-02-15'
plan:
- time: '9:30'
Expand All @@ -39,4 +39,4 @@
route:
name: "OB: CSE - Burke"
map: "https://www.strava.com/activities/268729809"
dist: 11.15
dist: 11.15
4 changes: 2 additions & 2 deletions _data/schedules/16-autumn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
- date: '2016-11-19'
plan:
- time: '8:50'
route_id: lake-union-loop
route_id: gas-works-lake-union-loop
- date: '2016-11-27'
plan:
- time: '7:30'
Expand Down Expand Up @@ -89,4 +89,4 @@
route:
name: "Discovery Park Loop"
dist: 3.98
map: "https://www.gmap-pedometer.com/?r=7001206"
map: "https://www.gmap-pedometer.com/?r=7001206"
4 changes: 2 additions & 2 deletions _data/schedules/16-spring.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
- date: "2016-04-24"
plan:
- time: "9:00"
route_id: lake-union-loop
route_id: gas-works-lake-union-loop
- time: "10:00"
route:
name: "OB: Gasworks - Burke"
Expand Down Expand Up @@ -61,4 +61,4 @@
dist: 6.11
map: "http://www.gmap-pedometer.com/?r=6862850"
- time: "10:00"
route_id: green-lake-loop
route_id: green-lake-loop
4 changes: 2 additions & 2 deletions _data/schedules/16-summer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
- date: "2016-06-12"
plan:
- time: "8:50"
route_id: lake-union-loop
route_id: gas-works-lake-union-loop
- time: "10:00"
route:
name: "OB: Gasworks - West Burke"
Expand Down Expand Up @@ -41,4 +41,4 @@
route:
name: "OB: Arboretum Loop"
dist: 3.03
map: "https://www.gmap-pedometer.com/?r=6862857"
map: "https://www.gmap-pedometer.com/?r=6862857"
2 changes: 1 addition & 1 deletion _data/schedules/17-autumn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
- date: '2017-11-18'
plan:
- time: '8:50'
route_id: lake-union-loop
route_id: gas-works-lake-union-loop
- date: '2017-11-26'
plan:
- time: '7:30'
Expand Down
6 changes: 3 additions & 3 deletions _data/schedules/17-spring.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
- date: '2017-05-07'
plan:
- time: '9:30'
route_id: lake-union-loop
route_id: gas-works-lake-union-loop
- date: '2017-05-14'
plan:
- time: '9:30'
route_id: lake-union-loop
route_id: gas-works-lake-union-loop

- date: '2017-06-04'
plan:
- time: '9:00'
route_id: lake-union-loop
route_id: gas-works-lake-union-loop
8 changes: 4 additions & 4 deletions _data/schedules/17-winter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
- date: '2017-01-14'
plan:
- time: '9:00'
route_id: lake-union-loop
route_id: gas-works-lake-union-loop
- time: '10:00'
route:
name: "OB: Gasworks - Wallingford - Stoneway Loop"
Expand All @@ -16,13 +16,13 @@
- date: '2017-01-21'
plan:
- time: '9:00'
route_id: lake-union-loop
route_id: gas-works-lake-union-loop
- time: '10:00'
route_id: lake-union-loop
route_id: gas-works-lake-union-loop
- date: '2017-01-28'
plan:
- time: '9:00'
route_id: lake-union-loop
route_id: gas-works-lake-union-loop
- time: '10:00'
route:
name: "Extra miles"
Expand Down
Loading

0 comments on commit 9f4d18a

Please sign in to comment.