Skip to content

Commit

Permalink
Added The Empire Builder
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffyactive committed Apr 23, 2024
1 parent a71a7d9 commit add35c2
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 0 deletions.
13 changes: 13 additions & 0 deletions amtrak8/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
amtrak8
=======

The Empire Builder: Seattle to Chicago by train (on Amtrak 8).

Seattle to Chicago
------------------

:round_pushpin: [Route](geojson/x.geojson):

:movie_camera: [YouTube](https://www.youtube.com/playlist?list=PLuoY9uzz-lDG2zhFbumHdTUbsI8uWBE6O)

:globe_with_meridians: Overpass API query:
52 changes: 52 additions & 0 deletions amtrak8/geojson/overview.geojson
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"type": "FeatureCollection",
"crs": {
"type": "name",
"properties": {
"name": "EPSG:4326"
}
},
"features": [
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-122.32961, 47.59779]
},
"properties": { "trek": "amtrak8" }
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-87.63909, 41.87864]
},
"properties": { "trek": "amtrak8" }
},
{
"type": "Feature",
"geometry": {
"type": "LineString",
"coordinates": [
[-122.32961, 47.59779],
[-122.19727, 47.97551],
[-120.30629, 47.42149],
[-117.41529, 47.65614],
[-116.54550, 48.27645],
[-113.9795, 48.4962],
[-109.6783, 48.5548],
[-103.62116, 48.14268],
[-97.11110, 47.91733],
[-96.78512, 46.88119],
[-94.14870, 45.56799],
[-93.08470, 44.94668],
[-91.24732, 43.83343],
[-90.50548, 43.98617],
[-87.91739, 43.03410],
[-87.63909, 41.87864]
]
},
"properties": { "trek": "amtrak8" }
}
]
}
4 changes: 4 additions & 0 deletions amtrak8/overview.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"title": "The Empire Builder: Seattle to Chicago by rail",
"youtube": "https://www.youtube.com/embed/videoseries?si=w3ryqMj9XyoNDaAA&list=PLuoY9uzz-lDG2zhFbumHdTUbsI8uWBE6O"
}
3 changes: 3 additions & 0 deletions common/js/trekungen.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ fetch(BASE_PATH + 'denvegaser/geojson/overview.geojson')
fetch(BASE_PATH + 'via603/geojson/overview.geojson')
.then((response) => response.json())
.then((json) => vectorSource.addFeatures(new GeoJSON().readFeatures(json)));
fetch(BASE_PATH + 'amtrak8/geojson/overview.geojson')
.then((response) => response.json())
.then((json) => vectorSource.addFeatures(new GeoJSON().readFeatures(json)));
fetch(BASE_PATH + 'via1/geojson/overview.geojson')
.then((response) => response.json())
.then((json) => vectorSource.addFeatures(new GeoJSON().readFeatures(json)));
Expand Down

0 comments on commit add35c2

Please sign in to comment.