Show HN: Trains.fyi – a live map of passenger trains in the US and Canada

503 points by ryry 1 year ago | 302 comments
Hey all! My train the other day was delayed and I got curious where they all were at any given time, so I built a map and figured I'd share it.
  • kylecazar 1 year ago
    Wow, I don't know why I thought there would be... Way, way more trains active at a given time.

    I suppose I overestimated passenger rail popularity in this country.. I knew it wasn't relatively huge, but there's several hundred miles in some cases between trains.

    • condiment 1 year ago
      The site is incomplete, and there are way, way more trains active at a given time. For instance the Tri-Rail and Brightline (high-speed rail) in Florida each have 5-6 trains running simultaneously. Brightline is notable as the US's first credible foray into high-speed rail. Similarly most major cities in the US have either light rail, rapid transit, or both, which is maybe not included in this map. "Passenger rail" might have some highly specific semantic meaning that leaves these out of this map.
      • ZanyProgrammer 1 year ago
        Obviously it’s not the first credible foray into HSR in the US-that honor is Acelas.

        Edit: if you’re referring to Brightline West, construction hasn’t even started.

        • paddy_m 1 year ago
          Acela isn't HSR, and Metroliner which came before had travel times from NYC to DC as low as 2.5 hours. Acela does the same trip in 3.5 hours. Metroliner lowered trip times primarily through faster acceleration.
        • soupfordummies 1 year ago
          Not totally sure on this, just making an informed guess:

          I think "passenger rail" implies passenger trains running on the "full/main" railroad lines that run all over the US. Something like light rail or local transit typically have their own discrete lines, in my experience.

          Again, could be wrong, that's just how I interpret it.

          • solaarphunk 1 year ago
            Bright line isn’t HSR. The average speed is something like 65mph
            • bjord 1 year ago
              NJTransit is also a notable omission.
              • dumbo-octopus 1 year ago
                As is the LA Metro (the rail, not Metrolink, the subway)
              • benatkin 1 year ago
                How is Brightline credible? It seems to be really expensive and has a high fatal accident rate.
              • tacostakohashi 1 year ago
                Outside the northeast corridor and a few others, there are many Amtrak trains are only once a day, or less, and often with long routes. It's unfortunate. The network is pretty good in terms of coverage / states covered on the map (since it's optimized for that), but lots of places it's pretty much impractical to use because the one time/day doesn't work.

                I really wish they could at least get to a minimum of two trains, a "day" and "night" train on every route. You'd think the marginal cost would be minimal considering all the track/stations are there anyway!

                • bpye 1 year ago
                  Yep, I really like the train from Vancouver to Seattle but you get two trains each direction each day, one in the morning and one in the evening. Because of how long the trip takes it doesn’t really work as a day trip sadly - you’d be spending as long on the train as you would at your destination.
                  • threeio 1 year ago
                    Isn't that mostly based on the fact that they share rail time? Its not like these tracks are unused in the other periods of time, they're just not Amtrak trains.
                    • Lammy 1 year ago
                      There used to be way way more lines forming more of a mesh than the skeleton we have today. Through a series of mega-mergers we are down to effectively a west-coast-duopoly and an east-coast-duopoly of companies that can run long-distance trains.

                      When railroad companies merge they tend to abandon one or the other's trackage in areas where the formerly-separate networks ran between the same market areas, keeping the minimum segments of track to cover the maximum number of customers (not even maximum geographical area).

                      Check out the 2023 North American Abandoned Railroad Lines map: https://www.frrandp.com/p/the-map.html

                  • ska 1 year ago
                    The passenger rail coverage [edit: service] in most of North America is basically pathetic, for systemic reasons.
                    • kjkjadksj 1 year ago
                      Coverage is actually surprisingly wide, just the service level is something out of the 1870s for a lot of stations. The siting for a lot of stations is usually pretty poor as well with terrible/nonexistent walkshed considerations (see the Palm Springs station, try walking to your hotel from that).
                      • ska 1 year ago
                        Fair enough, I was using "coverage" for actual trips, not nominal rail extent. "Service" is a better description. Your point about siting is very true.
                      • red-iron-pine 1 year ago
                        specifically, that freight has right of way at all times. they basically get what they want and tell amtrack to stuff it.
                        • gosub100 1 year ago
                          > systemic

                          you misspelled "union"

                          • ska 1 year ago
                            If it were that simple, it would be much easier to fix.
                          • rgmerk 1 year ago
                            Intercity passenger rail makes little sense over most of the USA, outside the existing northeast corridor.

                            In a sane world Amtrak would shut down most of the long-distance routes, fix the northeast corridor, and focus on gradually expanding that, but the politics of that are unattractive so it bumbles on with trains that only train nerds would ever consider actually riding on.

                            • hattmall 1 year ago
                              If you ride them most of the people don't seem like train nerds. Properly done rail would be viable for most of the US. A cross-country trip not really. But anything from about 800 to 1200 miles could be competitive with commercial flights and have extrinsic benefits as well. A 1200 mile flight takes about 3 hours. Add in a minimum of one hour on each end for airport transit and moving about within the airport and your at 5 hours, and often times much more. High speed rail moving 200 mph with 6 to 8 stops may take a couple more hours in the most advantageous to air comparison. Also consider than many of those 6 to 8 stops would be serving places that may require connecting flights or where people are driving to the major airport from.

                              It has the potential to be nicer, safer, cheaper and more environmentally conscious. There's no good reason America doesn't have top tier rail transit.

                              • sofixa 1 year ago
                                There are plenty of locations in the US where fast intercity regional rail could easily be useful and work. Florida, Portland - Vancouver, Alabama/Georgia/Carolinas/Virginias, Midwest.

                                Yeah, few people will take a cross-country train outside of for the novelty and the attraction itself (which are still not to be dismissed), but that doesn't mean there aren't plenty of <4-5h trips that can be made via train if there was good, reliable and fast service.

                            • jcranmer 1 year ago
                              US population can be approximated as relatively dense populations in California, the Northeast, a central portion of Texas, and parts of the Midwest, with rural Europe-ish levels of density (with some greater pockets of density nestled within) in the rest of the country ~east of the Mississippi (and a lesser degree in the Pacific Northwest), and truly empty regions basically everywhere else.

                              In terms of where there should be lots of trains that there isn't, it's largely the Midwest outside of Chicago, Texas Triangle, and the Southeast, all of which could probably support hourly intercity HSR trains if they were competently built (although especially in the Southeast, this is going to be restricted basically to a single corridor).

                              • sofixa 1 year ago
                                What about Florida and the general Southeast? Memphis - Nashville - Birmingham Atlanta - Charlotte, going north to Virginia, and south to Florida definitely look like decently dense and urbanised to merit high speed rail between some of them.
                              • bonestamp2 1 year ago
                                It would be a lot busier if cargo trains were added.
                                • screye 1 year ago
                                  The only half decent fast railway (acela) in the US costs more than an uber+flight for the same trip.

                                  I'm surprised anyone takes it at all.

                                  US rail is starting at negative 100. Only a small group of masochists (raises hand) choose to inflict this on themselves.

                                  • woodruffw 1 year ago
                                    This isn’t true, unless you’re doing something weird like booking the most expensive Acela the day before and comparing it to the least-expensive flight booked in advance. And even when you do this: taxi fare from NYC airports to downtown Manhattan is around $60, so I don’t know how you’ve worked this out.
                                  • Reason077 1 year ago
                                    It would be interesting to see a version of this for the UK, where there are approximately 24,000 train services operating every weekday. How well would it scale?

                                    The data is available and open!

                                  • gnulinux 1 year ago
                                    I regularly take Amtrak between Boston - NYC but this website is missing this. Just a single datapoint.
                                  • dhosek 1 year ago
                                    I’d kind of like real-time tracking of freight trains. There’s a BNSF grade crossing between my home and my parents’ and it would be nice to know whether I should take the 1 mile detour to get to the tunnel beneath the rail yard if there’s a train going to be blocking (I suppose it would also help to have info on the length of the trains so I’d know if the train in front of me is almost clear or if there’s another mile of train behind it).
                                    • eskibars 1 year ago
                                      It'd be great. My understanding is that there's basically no live data for freight trains unfortunately
                                      • plowjockey 1 year ago
                                        Since the implementation of Positive Train Control (PTC) there is live data but the RRs don't make it publicly available. Real time GPS data is transmitted to the Computer Aided Dispatching (CAD) system and combined with consist data they can determine where any one car is located at any time.

                                        By the time I left the company several years ago that data was being restricted to only certain employees. As noted below, hasmat is likely the reason this kind of data is not publicly accessible. It is shared in a limited fashion with shippers, etc.

                                        • dhosek 1 year ago
                                          Speaking of consists, I was impressed a few months ago when I saw a mid-train locomotive for the first time, then last week I saw a BNSF train that was a mile long¹ with a single locomotive at the front and a second at the back which I’ve never seen before.

                                          1. Assuming average car length of 40'

                                        • red-iron-pine 1 year ago
                                          there definitely is, but the roads aren't going to share it.

                                          and tracking trains ain't like tracking planes, where they're easy to see up in the sky and constantly transmitting -- train X takes a turn around a mountain and it's in a radio/cell deadzone and that's it.

                                          plus unless you have high-end SAMs you're not able to impact most planes overhead, but shady individuals could certainly impact trains.

                                          • dhosek 1 year ago
                                            Train tracking in dead zones has approximately zero consumer-facing utility. Train tracking in urban areas would be very helpful for route mapping around grade crossings.
                                          • mc32 1 year ago
                                            There has to be data because often passenger rail shares railway with freight rail and have to schedule things to avoid accidents.
                                          • epaulson 1 year ago
                                            Live data would be great, but I'd be interested even in historic data. Not like 1880s but a timeseries of 15-minute granularity of train positions for last year. It'd be interesting to see what the bottlenecks were and what other routing possibilities there could have been.
                                            • callalex 1 year ago
                                              That sounds like something a three-letter agency would get all stuffy about.
                                              • fletchowns 1 year ago
                                                If it's ok to see real time location of planes and cargo ships, how come it wouldn't be ok for trains?
                                            • tonymet 1 year ago
                                              Also hazardous chemicals
                                            • howenterprisey 1 year ago
                                              How very convenient! I'm on this map. My train is in the right position, but I don't think the name is quite right: I'm on the Silver Star but it's labelled as the Northeast Regional. Excellent project, though, thanks for posting.
                                              • jokteur 1 year ago
                                                I love these maps. Here is one from Switzerland: https://maps.vasile.ch/transit-sbb/, just a tad bit busier than the US
                                              • ecshafer 1 year ago
                                                This is cool, but you are missing NJ Transit which has passenger trains separate from LIRR and Metro North. You are also missing Septa and MTA internal city light rail and subway lines, which are technically passenger trains.
                                                • CryptoBanker 1 year ago
                                                  Which MTA light rail lines are you referring to? Last I heard construction hasn’t yet started on the first one.
                                                  • saltminer 1 year ago
                                                    If the NYC subway gets added, don't forget PATH trains!
                                                  • pcdsl 1 year ago
                                                    Here's a cool one for Tokyo in 3D: https://minitokyo3d.com/
                                                    • seedless-sensat 1 year ago
                                                      I am looking at this while sitting on Amtrak. It is about 14mi behind my current position, but still very cool!
                                                      • ryry 1 year ago
                                                        Yeah, I'm going to add a disclaimer about this. I've been watching the GO trains from my window this morning and they lag about a minute behind. My site grabs data on a minute interval, and I know some of the API's say they purposefully add GPS lag.
                                                        • shuntress 1 year ago
                                                          I've made something similar in the past and my experience with the specific API was that it was surprisingly well considered but the actual data it returned was unreliable at best. Not just "slightly obfuscated for paranoid physical security reasons" but actually missing trains and reporting incorrect names.
                                                        • hardcopy 1 year ago
                                                          For Amtrak only you can use the official source https://www.amtrak.com/track-your-train.html too (it shows route and also delay)
                                                        • cattown 1 year ago
                                                          Super cool! I love this. Makes me yearn for a day when this map is way more full of activity.

                                                          Just a little feedback: the color for Amtrak and for Chicago's Metra trains are so similar it's hard to see at a glance where the Amtrak runs are amongst the many Metras that are out at a given time. Would be awesome to differentiate those marker colors a bit more.

                                                          Very cool! Didn't know this was even technically possible with the available data feeds. Great work!

                                                          • ryry 1 year ago
                                                            this bugged me too. I tried to keep the colours respective to the company logos. Any other recommendations for a metra colour?
                                                            • cattown 1 year ago
                                                              Good point. Meta's brand identity is pretty much the blue you picked. I see your marker color is exactly the hex value for blue that's on most of their website.

                                                              I think you could go a little lighter, pretty sure the actual trains have a lighter more saturated blue on them. Something closer to the blue you're using for the Mass Bay Trans Authority would be fine, and there's no overlap in service areas to make that confusing.

                                                              Or maybe different marker size/shape for regional vs national trains.

                                                              Also saw the South Shore Line is there now. Nice!

                                                          • gadcam 1 year ago
                                                            Here is THE MAP for France ! https://carto.graou.info/46.90174/1.83822/5.4455/0/0 Shameless plug : we are developping Trainscanner to travel accross Europe https://www.train-scanner.com/?u=hn-c-38434574 Do not hesitate to leave us some feedback :)
                                                            • sofixa 1 year ago
                                                              Nice map for France! But it seems to include only SNCF and subsidiaries, so no RATP suburban services (RER A and RER most of B) nor partnerships operated by other companies (RENFE SNCF or DB operated by RENFE or DB).

                                                              As for Trainscanner, it looks promising, but it's a bit weird having buses show up on Trainscanner, and as the first and only option on most of the first trips in the default search (trips from Paris, today). A UX like Trainline's where it shows trains and buses in different tabs would be nicer, IMO.

                                                              • gadcam 1 year ago
                                                                For GRAOU, RATP services are currently visible. (You may need to toggle a switch on the top right.) However, it's important to note that the data source for this website is SNCF, so you won't see any competitor trains (:

                                                                Thank you so much for the feedback! I agree it would make sense to highlight the train a bit more !

                                                              • mritzmann 1 year ago
                                                                Interesting. Are there open APIs that you use for train-scanner or do you have to reverse engineer some apps?
                                                                • gadcam 1 year ago
                                                                  Routes and timetables are increasingly becoming openly available. However, obtaining fares data is challenging. Do you have a specific use case for such data?
                                                              • kingsloi 1 year ago
                                                                Here's one more for your list: https://southshore.etaspot.net

                                                                Southshore Line - connecting Chicago, IL (Millennium Station) to South Bend, IN, via East Chicago, Gary, Chesterton, etc

                                                                • ryry 1 year ago
                                                                  Added to the list - thanks! This is different from metra yeah?
                                                                  • Kon-Peki 1 year ago
                                                                    Yes, it is the Northern Indiana Commuter Train District. Inside Chicago, they run on Metra track. To avoid competition with Metra, they do not allow boarding on "inbound" trains inside of Illinois (except the Hegewisch station that is on the Illinois/Indiana border), and do not allow people to get off "outbound" trains until the Hegewisch station [1]

                                                                    Funny thing, is that Chicago has direct rail access from downtown to 4 airports in 3 states - Chicago O'Hare and Chicago Midway via the CTA, Milwaukee Mitchell (via Amtrak), and South Bend Regional (via the South Shore).

                                                                    [1] https://en.wikipedia.org/wiki/South_Shore_Line

                                                                • reactordev 1 year ago
                                                                  I believe there was a quote from a railroad exec that Passenger rail traffic accounts for only 3% of the overall rail traffic in North America. If true, the map would be covered with Locomotives if freight was included (GP-40's are my favorite).
                                                                  • noirbot 1 year ago
                                                                    That would be a curious comparison point. I feel like every discussion of rail in the US always turns into pointing and laughing at how bad the US is at rail because it's viewed through a passenger lens, completely ignoring how much rail is used for freight.

                                                                    My impression is that a lot of the rest of the world has much better passenger rail, but uses freight rail quite a bit less. I wonder if part of it is due to the inverse reason to the US. Amtrak often complains that it gets sidelined (literally) because of freight usage of the same track. Is freight rail usage in, say, Germany, lower than the US because of the dominance of passenger rail?

                                                                    • ascar 1 year ago
                                                                      I assume it would be less about the dominance of passanger displacing freight and more about scale/distance. Germany is smaller than Texas (half the area). How often is it economical to put stuff on trains before loading them on trucks again for distances sub 1000km?
                                                                      • noirbot 1 year ago
                                                                        Oh sure, but the "haha the US isn't even a third world country with its train system" people already are ignoring scale/density when they're laughing at the US rail systems. I'm past even bothering dealing with that bad faith take.

                                                                        My curiosity is if the US has just traded off having better passenger rail for better freight rail, and if that's maybe a somewhat environmentally justified choice. How much more freight is going by truck in Europe because of the bias towards rail for passengers, and how does that compare to US people traveling by car when train would be better?

                                                                        • Symbiote 1 year ago
                                                                          It's that, but there are also many lorries driving over several countries in Europe.

                                                                          Europe does have more favourable rivers, so some bulk goods (grain, coal, fuel, chemicals) are transported by barge. Other freight can go by sea.

                                                                          • jantissler 1 year ago
                                                                            That argument would only be valid if Germany was an island, though. But it's not. Lots of traffic coming through from all directions.
                                                                          • jantissler 1 year ago
                                                                            It is actually a problem in Germany that high-speed trains too often share tracks with slower passenger and freight trains. Other countries like Japan put their high-speed trains on completely separate tracks.
                                                                            • achileas 1 year ago
                                                                              This is also a problem with IIRC the Acela and other Amtrak routes between Boston and New York, and probably on other routes too.
                                                                              • Ichthypresbyter 1 year ago
                                                                                I think Japan only does that for weird legacy reasons- freight and slower passenger trains run on 1067 mm gauge tracks, while the Shinkansen network is standard (1435 mm) gauge.
                                                                          • firebaze 1 year ago
                                                                            Kind of underwhelming. Superb work, but the average distance between trains is, like, at least 500 miles? This is what the opposite of public transportation looks like, unfortunately.

                                                                            What would that map look like if even 5% of the annual military budget of the US would be invested in trains?

                                                                            • Readerium 1 year ago
                                                                              India http://railradar.railyatri.in/

                                                                              You will be baffled by the amount of trains.

                                                                              • loxias 1 year ago
                                                                                Cool! Super cool!

                                                                                Would love to see where the data's coming from -- with enough detail that I can spin up my own instance and shove the geo data in a database. (Unless you plan on making money from this, that is. The fact that you're aggregating a dozen random feeds with their own format into one schema is 100% "all the work")

                                                                                I wanted to do this for ADSB data, but couldn't figure out how to get any quantity of data without paying money.

                                                                                • vzaliva 1 year ago
                                                                                  It shows the sad state of the public train system in the US. For comparison, here is a similar map for the UK:

                                                                                  https://www.map.signalbox.io/

                                                                                  • dfc 1 year ago
                                                                                    When I look at the map for UK I see far fewer trains than the map for the US. Am I missing something? I thought maybe it was because you posted earlier in the day, but your comment was posted around 0100 UTC--not that long ago. I do not think we have the best public rail system in the US but if all o had to go on was how many trains there were on each map I might think differently.
                                                                                • sz4kerto 1 year ago
                                                                                  We have something similar in Hungary:

                                                                                  http://vonatinfo.mav-start.hu/

                                                                                  Pretty cool, it's a shame that the actual (state-owned) trainlines are in shambles.

                                                                                  • s9g 1 year ago
                                                                                    Looks like the Alaska Railroad doesn't have any publicly available location data on their site - https://www.alaskarailroad.com/

                                                                                    Which is a shame, because I actually worked on a live train map internally when I was an intern there a decade ago.

                                                                                    • svarlamov 1 year ago
                                                                                      Love this project! Can you tell us a bit about what stack you used to build this? Were there easy-to-use APIs to get this data in realtime?
                                                                                      • klinquist 1 year ago
                                                                                        I can comment on Caltrain only, the location is available via the 511.org API.

                                                                                        I built a project that predicts how late trains are based on their current location vs historical averages and posts the data to Mastodon. https://caltrain.live.

                                                                                        • ryry 1 year ago
                                                                                          thanks!

                                                                                          I did a quick write up about it here: https://rydercalmdown.com/projects/trains-fyi/

                                                                                          The hardest part was learning about GTFS-RT, which was a data format I wasn't familiar with until now.

                                                                                          • zhivota 1 year ago
                                                                                            Very nice, thanks for the write up :). I was thinking about how you could get route maps, without actually having to source shape files. Given you are tracking trains every minute, you could probably build up your own route maps by dropping a point every time you get one, and connecting them with straight lines. Over time the route would become closer and closer to reality.
                                                                                        • mourner 1 year ago
                                                                                          A lovely map — thanks for using Leaflet and keeping that little Ukrainian flag in the corner! Probably needs an attribution for the map added too (looks like it's Carto with an OpenStreetMap-derived basemap).
                                                                                          • ryry 1 year ago
                                                                                            thanks - done!
                                                                                          • NelsonMinar 1 year ago
                                                                                            Very nice! A companion to Rachel Binx' Amtrak Explorer, which shows routes. https://amtrakexplorer.com/
                                                                                            • niemenmaa 1 year ago
                                                                                              Congrats on the launch! Very nice project.

                                                                                              Do you have any estimation of what percentage of passenger train traffic is currently displayed vs. still to be implemented? As others have mentioned, I also was little bit surprised of the (small?) amount of trains on the map.

                                                                                              Similar map for Finnish trains: https://www.vr.fi/en/live-train-tracker-map

                                                                                            • quartz 1 year ago
                                                                                              It would be cool to see an equivalent map for freight rail.

                                                                                              These threads always focus on the lack of passenger rail service in the US but ignore that the US also has one of the largest, safest, and most efficient freight rail systems in the world[1]. I'd love to see it live!

                                                                                              https://railroads.dot.gov/rail-network-development/freight-r...

                                                                                              • wpm 1 year ago
                                                                                                Define efficient. Profitable? Maybe. Good at moving an array of goods from anywhere in the country to anywhere else? Not so good.

                                                                                                The Class I's and their obsession with operating ratio and PSR have strangled freight in this country for decades and pushed costs onto the public by means of increased truck traffic (and the congestion, pollution, and roadway damage that entails). Unless you're shipping bulk chemicals or coal, you're probably gonna use a truck.

                                                                                                • ryry 1 year ago
                                                                                                  I did a bit of a deep dive on this over the weekend and left feeling more confused than when I started. From what I can gather, outside of CN's holiday freight train, most of the tracking is done by community members with SDR antennas and Raspberry Pis. They report to centralized servers (which I've yet to find), and the data indicates where trains are in signalling blocks. I'm the least knowledgeable person on trains, so I don't know if this is all accurate, but that's my best understanding.

                                                                                                  I'd love to build some sort of service that takes this data, references a DB of signaling blocks, and establishes an estimated lat/lng - but that's a huge project of its own.

                                                                                                  • bonestamp2 1 year ago
                                                                                                    Ya, looks like it goes to a privately run server and the client that accesses the data requires membership. Seems like there should be something like Open ADSB (aircraft) but for trains. I might be interested in working on something like that too.
                                                                                                  • toomuchtodo 1 year ago
                                                                                                    • ZanyProgrammer 1 year ago
                                                                                                      PSR would like a word with your categorization. Indeed the Class 1s are the mortal enemy of decent intercity and commuter rail.
                                                                                                      • carbotaniuman 1 year ago
                                                                                                        It's quite hard to see those sadly due to how freight operators handle traffic - you often have to use word-of-mouth and FB groups to track them. I know there's a lot of railfans that have this data, but I'm not sure it's in a format one can actually use.
                                                                                                        • 1 year ago
                                                                                                        • anjel 1 year ago
                                                                                                          Very cool. Why are NJ Transit trains unreported?
                                                                                                          • GauntletWizard 1 year ago
                                                                                                            It appears to be primarily pulling from Amtrak data feeds
                                                                                                          • phyphy 1 year ago
                                                                                                            Here in India we have an app named "Where is my train?". Local people use this app a lot when traveling by train. It's not government owned either and has no ads. Just throwing in here for some inspiration since I don't know the inner workings of that app.

                                                                                                            Edit: It uses nearby cell towers to estimate the location of train

                                                                                                            • Dharmaaa 1 year ago
                                                                                                              and In 2018 , Google has acquired Sigmoid Labs Pvt. Ltd, the team behind the “Where is my train”.
                                                                                                              • rathish_g 1 year ago
                                                                                                                and integrated to Google Maps
                                                                                                            • yason 1 year ago
                                                                                                              In Finland I've been using a similar tool for years now when picking up family members from railways stations and when getting out from the station and out to the platform to board a train: https://www.vr.fi/en/live-train-tracker-map

                                                                                                              It's incredibly more helpful than timetables (printed or online) or late train announcements and trying to find the right train names and numbers. Instead of identifying the right train, then checking the latest changes for that train on the schedule board and wondering if "3 minutes late" really means "3 minutes" you just look at the map and see, oh there's my train half way here from the previous town, I'll go have a cuppa.

                                                                                                              • Kon-Peki 1 year ago
                                                                                                                If you want to add the Chicago transit train location data, the API documentation and API key request form are available here:

                                                                                                                https://www.transitchicago.com/developers/traintracker/

                                                                                                                • com1 1 year ago
                                                                                                                  There is also TRAVIC (https://travic.app) by the University of Freiburg, Germany which visualizes transit data worldwide, both live and interpolated from timetables.
                                                                                                                  • thomasahle 1 year ago
                                                                                                                    I didn't know there was a trans-Canadian railroad. Did anyone try it?
                                                                                                                    • chrisfosterelli 1 year ago
                                                                                                                      It's a big part of the country's history; the project was a key bargaining chip to get BC to join Canada. Development started with the first prime minister and the actual construction was incredibly expensive and filled with controversy over bribes and exploding construction costs, causing gov turnover and bringing the federal gov into significant financial risk a few times. But they did push onward to completion and it became the core pathway for the further settlement of western Canada, which was instrumental to the country's expansion. Nowadays it's primarily a freight railway, the passenger traffic is very minimal and tickets are very expensive; it's more of a tourism attraction than practical method of passenger transport.
                                                                                                                      • jszymborski 1 year ago
                                                                                                                        The cross canada rail trip is that deadly combo of exceptionally expensive and exceptionally slow.
                                                                                                                        • ghaff 1 year ago
                                                                                                                          That pretty much describes long distance North American rail generally. At least in the US, I'd add that it's not only slow but could be delayed by a day or more. I've occasionally toyed with the idea of taking one of those trains for at least part of their route but I have a feeling that it's one of those things where the idea >> the reality and it would get pretty old once the novelty wore off.

                                                                                                                          Later this year I'm going with a more luxurious version instead (ocean liner).

                                                                                                                          • chrisfosterelli 1 year ago
                                                                                                                            Nowadays for sure. But before the trans-Canada highway and before commercial flight, it was a pretty great deal!
                                                                                                                          • Lammy 1 year ago
                                                                                                                            Relevant: Canadian Pacific Railway's Rogers Pass Project (1983–1989, 1hr27m) https://www.youtube.com/watch?v=1zepXkTPvqA
                                                                                                                          • dewert 1 year ago
                                                                                                                            I haven't tried it, because it's outrageously expensive to get a cabin with a bed, and I don't want to sit in a chair for a week.

                                                                                                                            But it's pretty famous - we even have a song about it! [1]

                                                                                                                            [1] https://en.m.wikipedia.org/wiki/Canadian_Railroad_Trilogy

                                                                                                                            • morkalork 1 year ago
                                                                                                                              Taking the dome car through the rockies and a bit of the prairies would be awesome but flying out there just for that is hard to justify.
                                                                                                                            • a3c9 1 year ago
                                                                                                                              I took it around 5-6 years ago when I was moving to Vancouver from the east coast. It was a great way to see the country and meet some other travellers - such a strange travel option attracts some interesting folks!

                                                                                                                              The highlight though is the Jasper-Vancouver leg going through the Rockies - if you don’t have 3 days to burn that’s a good choice. Rocky Mountaineer line goes through there as well iirc.

                                                                                                                              • alisonatwork 1 year ago
                                                                                                                                I took Via east to west a while back. It takes a few days, but just like Amtrak the regular seats are more spacious and comfortable than airplane seats so it's not too bad. No internet most of the way, so you better have some books or something to entertain yourself. The food is terrible because of course it is. Bring snacks. The train also stops for a couple hours in Winnipeg which has lots of places to get a good feed.

                                                                                                                                The scenery is pretty great, especially through northern Ontario where it feels like you are traveling through an alien planet where the only thing that exists are rocks, trees and eerie, pitch-black pools of liquid that you could imagine isn't water. You fall asleep at night then wake up the next morning and the view out the window is exactly the same. It's wild.

                                                                                                                                Crossing the Rockies isn't really worth it if you're only going for the views, imo. Lots of tourists get on the train at Jasper, but I imagine they'll be disappointed because the epic vistas are fleeting and most of the time your line of sight is blocked by trees, cliffs or tunnels. Unlike the route out of Denver on Amtrak, you don't get an awesome desert on the other side either.

                                                                                                                                Either way, the main point is that it's pretty much the only way to get from one side of Canada to the other if you don't want to use a plane or zig-zag through the US. Greyhound is gone, STC is gone, stringing together a bus route with a hodge podge of local operators is tough and in some places just leads you back up to Via anyway. If you're lucky enough to live along the CN line then Via is all there is, and it's better than nothing at all, which is the situation for a huge chunk of rural Canada.

                                                                                                                              • monlockandkey 1 year ago
                                                                                                                                Busses would be soo much better if there was real time location of busses and trains that you could view on a map. Probably the lowest hanging fruit to pick for public transport improvement.
                                                                                                                              • Lammy 1 year ago
                                                                                                                                Very cool. Please add SMART! https://sonomamarintrain.org/
                                                                                                                                • ryry 1 year ago
                                                                                                                                  added to the list - thanks!
                                                                                                                                  • mfb 1 year ago
                                                                                                                                    ACE (Altamont Corridor Express) appears to be missing as well?
                                                                                                                                • hexane360 1 year ago
                                                                                                                                  Any plans to support Denver's commuter trains (RTD)?
                                                                                                                                  • ryry 1 year ago
                                                                                                                                    I rode it a few weeks ago and completely forgot about it! I'll add it to the list. thanks!
                                                                                                                                  • 1 year ago
                                                                                                                                    • matthewbauer 1 year ago
                                                                                                                                      Really cool idea. Would be neat to also be able to click railways as well. I think openrailwaymap provides some cool details like owner, max speed, electrification.

                                                                                                                                      I also noticed the map makes it look like the trains are travelling slightly south of the track. It seems to converge once you zoom in though, so I think the data is probably accurate, but somehow the map is distorting things.

                                                                                                                                      • bonestamp2 1 year ago
                                                                                                                                        This is really cool and I've already found a couple of lines that went further than I realized. This is going to make me use trains more!

                                                                                                                                        On that note, one feature that would be really helpful is if I selected a particular train, that it would show me where the stations are on that line. Maybe the train company would even give you a commission if I clicked through and bought a ticket.

                                                                                                                                        • eskibars 1 year ago
                                                                                                                                          I love it! I made a mashup of video feeds and live train locations to show you video feeds from trains that are about to show up: https://train.api.connelly.casa/

                                                                                                                                          This gives me lots of ideas of additional agencies to include! Maybe we should join forces :)

                                                                                                                                          • 1 year ago
                                                                                                                                            • Galacta7 1 year ago
                                                                                                                                              This is pretty cool. I hope you'll add MARC and Brightline trains as well, as your app evolves.
                                                                                                                                            • divbzero 1 year ago
                                                                                                                                              This is very cool.

                                                                                                                                              For US inter-city rail there is also Amtrak’s official Track Your Train: https://www.amtrak.com/track-your-train.html

                                                                                                                                              • achileas 1 year ago
                                                                                                                                                What was behind the decision to include just commuter rail and long-distance passenger rail, but not local rapid transit? Is it a resource issue drawing that many vehicles? I love this map, but I'd love to see it with more modes of transport.
                                                                                                                                                • ryry 1 year ago
                                                                                                                                                  mostly just because this was a weekend project and I needed to draw the line somewhere. I'm not necessarily opposed to it, but I reckon it'll take a good amount more time.
                                                                                                                                                • jmspring 1 year ago
                                                                                                                                                  Nice project. It looks like there are a couple of map layers? Because if you look at Truckee, California (near Reno), it looks like you have two text blocks trying to both show Truckee.
                                                                                                                                                  • aFrenchy 1 year ago
                                                                                                                                                    There is a very nice french version which has been running for years: https://carto.graou.info/
                                                                                                                                                    • Fiahil 1 year ago
                                                                                                                                                      I don't think it's working properly. Most (if not all?) trains are going at around 40-20 km/h. Why would they all stop in the middle of nowhere like this ?
                                                                                                                                                      • plowjockey 1 year ago
                                                                                                                                                        Slow orders abound on US freight roads. This time of year maintenance of way crews are being cut off to protect budgets and only the bare minimum of maintenance is being done until after the first of the year when the crews will be brought back.
                                                                                                                                                      • 1 year ago
                                                                                                                                                        • jmac01 1 year ago
                                                                                                                                                          This is so cool! It'd be nice to get some more info on the info windows. Like a photo of the train would be awesome (similar to the plane trackers)!
                                                                                                                                                          • Symbiote 1 year ago
                                                                                                                                                            Similar for Great Britain: https://www.map.signalbox.io/
                                                                                                                                                          • _whiteCaps_ 1 year ago
                                                                                                                                                            It would be neat if you could include the West Coast Express trains in Vancouver that are part of Translink. They're weekday commuter rail trains.
                                                                                                                                                            • mkj 1 year ago
                                                                                                                                                              Nice work. A small thing, are the marker icons aligned to their top left corner? Seems like they'd be better aligned to the middle of the icon.
                                                                                                                                                              • sneed_chucker 1 year ago
                                                                                                                                                                I guess this is only Amtrak?

                                                                                                                                                                Because it doesn't seem to show the active passenger light rail systems in several cities and metro areas.

                                                                                                                                                                • nittanymount 1 year ago
                                                                                                                                                                  this map seems only show a portion of all running passenger trains ?

                                                                                                                                                                  I just drove by a train station, one train passed by, not on this map, haha

                                                                                                                                                                  • naberhausj 1 year ago
                                                                                                                                                                    Was it an in-service passenger train? A freight train or out-of-service passenger train wouldn't show up.

                                                                                                                                                                    Sadly, there's very little data available for most trains on US rails. For example, there's no way (AFAIK) to see what freight trains are active on the network. It's a little frustrating in comparison with how rich our air traffic sources are.

                                                                                                                                                                    If anyone on HN knows of any richer sources for train network data, please let me know. I'm highly interested!

                                                                                                                                                                    • nittanymount 1 year ago
                                                                                                                                                                      yes, it is a passenger train. which started operation within one year, that might be why.
                                                                                                                                                                  • s-xyz 1 year ago
                                                                                                                                                                    Are you sure this is complete? There are really few trains and most are driving at a very low speed.
                                                                                                                                                                    • arrowleaf 1 year ago
                                                                                                                                                                      There's also lots of track included that hasn't seen passenger trains in 30-50 years. The only passenger rail in Idaho is in the panhandle. I'm not sure if Helena has any passenger traffic either.
                                                                                                                                                                    • ionwake 1 year ago
                                                                                                                                                                      Are there missing trains on this map or are there really states with no active trains ?
                                                                                                                                                                      • FalconSensei 1 year ago
                                                                                                                                                                        Whoa, Canada is so sad and empty
                                                                                                                                                                        • teunispeters 1 year ago
                                                                                                                                                                          All the passengers routes I was on as a child are gone, replaced by industrial transport. Used to be able to get to a lot of places - at least on the West Coast (ie Vancouver to Prince George, Vancouver to Calgary etc).

                                                                                                                                                                          I know the Royal Hudson (BC coast, Vancouver to Whistler (at least) retired years ago and is a museum just in Squamish. I rode that one as a child, too...

                                                                                                                                                                          • bpye 1 year ago
                                                                                                                                                                            It does look like this is missing the West Coast Express in the Lower Mainland - but that’s strictly a commuter service with a number of trains into Vancouver in the morning, and out of Vancouver in the evening.
                                                                                                                                                                          • geniium 1 year ago
                                                                                                                                                                            The most shocking for me is ... the small amount of trains on that map
                                                                                                                                                                            • flockonus 1 year ago
                                                                                                                                                                              Is there something like this project but for cargo trains?
                                                                                                                                                                              • hnthrowaway0315 1 year ago
                                                                                                                                                                                Nice! Is there a way to track every freight train as well?
                                                                                                                                                                                • alienreborn 1 year ago
                                                                                                                                                                                  No NJ Transit trains?
                                                                                                                                                                                  • ryry 1 year ago
                                                                                                                                                                                    I'm currently on the wait-list for the API. Took me 2 days to even figure out how to register.
                                                                                                                                                                                • MBCook 1 year ago
                                                                                                                                                                                  Neat. Is there anything like this that shows freight?
                                                                                                                                                                                  • benwerd 1 year ago
                                                                                                                                                                                    I was honestly ready for this to be one sad train icon chugging its way across the United States. I'm really pleased to see it's more than that.

                                                                                                                                                                                    But not much more, and it makes me so sad that we undervalue real public transportation here. I wish we could do better.

                                                                                                                                                                                    Still! This is something! And this website is cool!

                                                                                                                                                                                    • albert180 1 year ago
                                                                                                                                                                                      Does it show all 5 daily trains at once ?
                                                                                                                                                                                      • eclo 1 year ago
                                                                                                                                                                                        love the UI! So easy to understand
                                                                                                                                                                                        • nilsbunger 1 year ago
                                                                                                                                                                                          It's sad that even great potential routes like SF->LA aren't accessible by train, and we don't seem to have the state capacity to build HSR there.

                                                                                                                                                                                          I was just in Japan, and took the Shinkansen from Tokyo to Kyoto, which is a similar distance as SF to LA.

                                                                                                                                                                                          That train:

                                                                                                                                                                                          - runs every 10 minutes -- if you miss one, just take the next one!

                                                                                                                                                                                          - takes 2.5 hours travel time

                                                                                                                                                                                          - starts and ends in city centers on both ends.

                                                                                                                                                                                          - has better legroom and wider seats than economy

                                                                                                                                                                                          - free, fast Wifi on board, your cell signal still works, and you can use your computer the whole trip.

                                                                                                                                                                                          - has no security or boarding hassle. You can show up 5 minutes before departure and just get on.

                                                                                                                                                                                          - has no luggage limitations AFAICT

                                                                                                                                                                                          It's faster and far less stressful than flying SF to LA, with the security and boarding hassles, Ubers on both ends, and cramped onboard conditions.

                                                                                                                                                                                          • chroma 1 year ago
                                                                                                                                                                                            High speed rail between San Francisco and Los Angeles isn't economically viable. California HSR will cost at least $30 billion to construct and California's own estimates claim it will cost $700-$874 million per year to operate.[1] Around four million passengers fly between SF and LA every year. Assuming every single one of them takes the train instead of flying, you're looking at $175-$218 per ticket just to pay for operations. If you wanted the project to pay for itself in 20 years, you'd have to charge $550-$600 per ticket. For comparison, airfare between the two cities starts at $80 round trip. Also the train will take 3 hours while flying takes 1.5 hours. Even including the time it takes to get to/from the airport and get through security, flying is faster.

                                                                                                                                                                                            1. https://hsr.ca.gov/wp-content/uploads/docs/programs/san_jose...

                                                                                                                                                                                            • resolutebat 1 year ago
                                                                                                                                                                                              Funny how trains are expected to be profitable from day 1, but you can drive a car from SF to LA and not pay a cent for the highway infra that costs billions to build and upkeep.

                                                                                                                                                                                              Also, in what world can you reliably get from central LA/SF to LAX/SFO and through checkin & TSA in 45 min each?

                                                                                                                                                                                              • chroma 1 year ago
                                                                                                                                                                                                I didn't say anything about roads, but it's not true that roads are unprofitable. Roads are paid for by fuel taxes and vehicle registration fees. California's gas taxes raise $8 billion per year. The state's registration and licensing fees collect another $12 billion per year. The state spends $18 billion per year on Caltrans, meaning that vehicles provide $2 billion in revenue for other state programs.

                                                                                                                                                                                                BART takes 30 minutes to get from Civic Center to SFO. Even without TSA pre-check, it takes less than 15 minutes to get through security. If you get through security 15 minutes before the plane leaves, that's 2.5 hours total travel time to LAX. From the same place in SF it takes 20-25 minutes to get to 4th & King. (Yes, Muni is that bad.) Let's say the train leaves 15 minutes after you arrive at the station. Then it will take 2 hours and 40 minutes to get to Union Station in LA. Total travel time: 3.25 hours. And again, the train cost is 5-10x that of a flight.

                                                                                                                                                                                                Edit: If you think my math about the long-term profitability of California High Speed Rail is incorrect, I'd love to see some numbers showing how it could be priced similarly to air travel. I was agnostic about CA HSR for a long time. I even voted for Proposition 1A back in 2008. But no matter how I crunch the numbers, it really seems like CA HSR is a boondoggle.

                                                                                                                                                                                              • Scubabear68 1 year ago
                                                                                                                                                                                                Part of the allure of trains is much higher volumes of passengers. Part of the value prop would be many more people willing to take a train then fly.

                                                                                                                                                                                                Flying has huge friction to engage in, as OP indicated Japanese trains have almost none.

                                                                                                                                                                                                • wishinghand 1 year ago
                                                                                                                                                                                                  > Even including the time it takes to get to/from the airport and get through security, flying is faster.

                                                                                                                                                                                                  I highly doubt that, since you have to board 20 minutes before take off, plus the time it takes to get through security, as well as getting to the airport which won't be in the city center.

                                                                                                                                                                                                  The current airfare also doesn't include any sort of fee to ease the ecological impact of burning jet fuel.

                                                                                                                                                                                                  • CPLX 1 year ago
                                                                                                                                                                                                    Why do you assume the project will replace all airplane passengers and zero car or bus passengers on the same route, and why do you assume a complete absence of intermediate stops?

                                                                                                                                                                                                    And that’s before even considering induced demand.

                                                                                                                                                                                                    The attempt at analysis here is just nonsensical. Not even wrong.

                                                                                                                                                                                                    • akprasad 1 year ago
                                                                                                                                                                                                      Assuming this is all true, what then makes the Japanese Shinkansen economically viable?
                                                                                                                                                                                                      • epivosism 1 year ago
                                                                                                                                                                                                        They already have the land rights, favorable social environment for construction, more compliant population, less local/more federal legal zoning and land use power, more federal level direction to get things done, higher rate of engineers in population.

                                                                                                                                                                                                        That CA is bad at all of those makes it expensive and hard

                                                                                                                                                                                                        In addition to very low competence levels in gov't compared to Japan due to many factors. Sure Japan has financial corruption in construction but it's a known system and they build things treating it as a tax. In CA there are many more parties who all attempt to hold construction projects hostage.

                                                                                                                                                                                                        • arlattimore 1 year ago
                                                                                                                                                                                                          I expect one of the biggest factors is population density.

                                                                                                                                                                                                          California has a land area of 165,000mi^2. Japan has a land area of 145,000mi^2.

                                                                                                                                                                                                          California population is 39M. Japan population is 125M.

                                                                                                                                                                                                          • ehaliewicz2 1 year ago
                                                                                                                                                                                                            Many people who ride it have one of various train passes that reduce the cost, or have a plan with work that covers it. I usually use a JR pass, it's pretty expensive without it.
                                                                                                                                                                                                            • chroma 1 year ago
                                                                                                                                                                                                              The distance between SF and LA (350 miles) is 50% greater than the distance between Tokyo and Kyoto (227 miles), making the time tradeoff favor trains to planes. The two cities are much bigger than SF and LA, so many more people travel between the two cities (85 million per year). Also Japan can build and maintain rail much cheaper than the US.
                                                                                                                                                                                                            • LordShredda 1 year ago
                                                                                                                                                                                                              That's the upfront cost and profit, but think of the economic opportunities created once people can travel between the two largest cities in California with no hassle and regularly.
                                                                                                                                                                                                              • nilsbunger 1 year ago
                                                                                                                                                                                                                To make this a fair comparison you need to look at the average price per ticket, not the “starting at” price, and include the government subsidies of airports/security/atc/ etc that enable this system.

                                                                                                                                                                                                                I would also add in a cost for carbon. I realize that’s more controversial but it seems like we will have to pay to remove co2 at some point.

                                                                                                                                                                                                                I don’t know what the numbers look like when you do that.

                                                                                                                                                                                                                Regardless, I do agree the amount per traveler to make a train work seems depressingly high.

                                                                                                                                                                                                                • mixmastamyk 1 year ago
                                                                                                                                                                                                                  Also that Shinkansen trip was about $250 and worth every penny. Didn’t even need rideshare or taxi.
                                                                                                                                                                                                                • arbitel 1 year ago
                                                                                                                                                                                                                  well if you're assuming the same number of passengers - given the logistics and hassles of air travel, one is likely more inclined to travel with hassle-free HSR, not to mention the secondary economic benefits
                                                                                                                                                                                                                  • LeanderK 1 year ago
                                                                                                                                                                                                                    flying is also not ecologically sustainable. We need alternatives, even if we can't eliminate long distance flights, to reach zero emissions quickly.
                                                                                                                                                                                                                  • picohen 1 year ago
                                                                                                                                                                                                                    The Shinkansen is FASCINATING. I recently went and was amazed by Tokyo's infrastructure and how they have a city under a city. The fact that there is a bullet train at tokyo station every 10 mins or so is mind blowing

                                                                                                                                                                                                                    I went into a Youtube rabbit hole the other night...

                                                                                                                                                                                                                    https://www.youtube.com/watch?v=HdJwAUdvlik

                                                                                                                                                                                                                    https://www.youtube.com/watch?v=FFpG3yf3Rxk

                                                                                                                                                                                                                    • lmm 1 year ago
                                                                                                                                                                                                                      I like the Shinkansen but it's also very expensive - that journey is ¥14,170 one way, and the discounts for return tickets or advance booking are vanishingly small. Even with the incredibly weak yen I can see same-day SF-LA flights cheaper than that.
                                                                                                                                                                                                                      • CitrusFruits 1 year ago
                                                                                                                                                                                                                        Tickets from SFO to LAX can be cheaper, but that's usually not for optimal times. Sure you can get a round trip ticket for $80, but you'll be leaving at 6 in the morning or something like that. Additionally, you'll have to go through security, not be able to bring your own beverage (or water), sit on a much smaller seat, and not have Wi-Fi.

                                                                                                                                                                                                                        In other words, I think $95 one way on an extremely punctual bullet train with high availability is a steal.

                                                                                                                                                                                                                        • eldaisfish 1 year ago
                                                                                                                                                                                                                          Do your flight costs include parking, the costs of getting to and from the airports, the value of your time, the mental hassle of airport security theatre, the costs of additional luggage and so on?

                                                                                                                                                                                                                          If not, it’s not a fair comparison.

                                                                                                                                                                                                                          • lmm 1 year ago
                                                                                                                                                                                                                            "Fair" depends on what you're using it for. Parking at airports can be expensive, but parking at Tokyo or Kyoto station is more so. The stations themselves are more confusing and less well-signposted than an airport. And if you want to take oversize luggage (e.g. a surfboard) that's a moderately priced upgrade on a plane but completely impossible on the Tokaido Shinkansen.

                                                                                                                                                                                                                            No comparison is perfect. The best you can do is talk about both the positive and the negative so that people can understand and make the best choice for their circumstances. Price should absolutely be a part of that conversation.

                                                                                                                                                                                                                          • robin_reala 1 year ago
                                                                                                                                                                                                                            The Shinkansen pitches itself as broadly price competitive with flights, but more convenient and more comfortable. In that sense it’s not expensive, it’s greater value.
                                                                                                                                                                                                                            • resolutebat 1 year ago
                                                                                                                                                                                                                              This is starting to change, the discounts for early booking and/or slower trains can be up to 50% these days: https://livejapan.com/en/in-tohoku/in-pref-miyagi/in-sendai_...
                                                                                                                                                                                                                              • lmm 1 year ago
                                                                                                                                                                                                                                They have a tiny number of those 50% discounts that are always sold out even if you apply as soon as ticket sales open, IME. And note that even then they're only on the less popular lines - you'll never see a discount like that for Tokyo-Kyoto.
                                                                                                                                                                                                                              • metadat 1 year ago
                                                                                                                                                                                                                                (¥14,170 is approximately $95USD)
                                                                                                                                                                                                                                • brnt 1 year ago
                                                                                                                                                                                                                                  Cheaper for the same seat size, allowed luggage amount?
                                                                                                                                                                                                                                • hifromLA 1 year ago
                                                                                                                                                                                                                                  The HSR route between San Francisco and Los Angeles is under construction. It’s not gone perfectly but it is starting to pick up momentum.
                                                                                                                                                                                                                                  • brandall10 1 year ago
                                                                                                                                                                                                                                    I just spent the summer traveling Europe, visited 17 cities where 14 were by rail. 3 were day trips.

                                                                                                                                                                                                                                    Got so used to how easy it it to literally walk into a station and be on a train in a few minutes that I almost missed Turin->Paris when a tram to the station was five minutes behind schedule. Average connection was 5 hours of travel time, but factoring in getting to/from the airport, early arrival, etc, it was mostly a wash in any time saved. All in all, total cost for transport was about $900 (not including going/coming back from Europe, which obviously exceeded that).

                                                                                                                                                                                                                                    • mbb70 1 year ago
                                                                                                                                                                                                                                      Agreed, Boston to NYC on Amtrak is only marginally better (sometimes) than flying and thats only ~200 miles
                                                                                                                                                                                                                                      • resolutebat 1 year ago
                                                                                                                                                                                                                                        Small correction: every 6 minutes, not 10! And each train has 16 (sixteen) carriages and can seat over 1,300 people.
                                                                                                                                                                                                                                        • vinniepukh 1 year ago
                                                                                                                                                                                                                                          Same experience on my first Japan trip earlier this year. Why can't we have nice things over here?
                                                                                                                                                                                                                                          • wongarsu 1 year ago
                                                                                                                                                                                                                                            But if there were nice things then other people would profit from that too. Especially those people [gestures vaguely]. /s

                                                                                                                                                                                                                                            In the country of individualism, options that are better but would also help other people who haven't directly contributed to it aren't very popular.

                                                                                                                                                                                                                                            • vinniepukh 1 year ago
                                                                                                                                                                                                                                              it's funny that there instances of collectivism in the US when there's either a monetary incentive or the desire to keep the "others" out

                                                                                                                                                                                                                                              for example, the restrictive residential permitting systems in many urban areas, which just happens to be another thing Japan gets right

                                                                                                                                                                                                                                            • pphysch 1 year ago
                                                                                                                                                                                                                                              [flagged]
                                                                                                                                                                                                                                            • 1 year ago
                                                                                                                                                                                                                                            • chandlerswift 1 year ago
                                                                                                                                                                                                                                              Would you please add an OpenStreetMap attribution[0]? It looks like you're using OSM data via OpenRailwayMap (which also requires its own attribution[1]) and Carto basemaps (which I'm not terribly familiar with, but at first glance appear to be based on OSM data[2])---each of which detail their respective attribution requirements.

                                                                                                                                                                                                                                              Leaflet makes this incredibly simple; just add the suggested text to the attribution field when you initialize the layers:

                                                                                                                                                                                                                                                      L.tileLayer('https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}{r}.png', {
                                                                                                                                                                                                                                                          maxZoom: 19,
                                                                                                                                                                                                                                                          attribution: '' // here!
                                                                                                                                                                                                                                                      }).addTo(map);
                                                                                                                                                                                                                                                      var railwayOverlay = L.tileLayer('https://{s}.tiles.openrailwaymap.org/standard/{z}/{x}/{y}.png', {
                                                                                                                                                                                                                                                          attribution: '', // and here!
                                                                                                                                                                                                                                                      }).addTo(map);
                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                              [0]: https://www.openstreetmap.org/copyright

                                                                                                                                                                                                                                              [1]: https://wiki.openstreetmap.org/wiki/OpenRailwayMap/API

                                                                                                                                                                                                                                              [2]: https://drive.google.com/file/d/1P7bhSE-N9iegI398QYDjKeVhnbS... via https://carto.com/legal

                                                                                                                                                                                                                                              • 1 year ago
                                                                                                                                                                                                                                              • elhospitaler 1 year ago
                                                                                                                                                                                                                                                • 1 year ago
                                                                                                                                                                                                                                                • Tiktaalik 1 year ago
                                                                                                                                                                                                                                                  In contrast have a look at a snapshot of air travel the other day.

                                                                                                                                                                                                                                                  https://x.com/Rainmaker1973/status/1729195110888620057?s=20

                                                                                                                                                                                                                                                  If we're looking for some low hanging fruit around how to possibly lower CO2 emissions, well folks here it is.

                                                                                                                                                                                                                                                  The solutions to our climate problem have been staring us in the face since the 1900s.

                                                                                                                                                                                                                                                  • tjohns 1 year ago
                                                                                                                                                                                                                                                    I'm not actually sure what the solution you're proposing is?

                                                                                                                                                                                                                                                    Even if you completely eliminated air travel (with no replacement - which is not realistic), you'd just reduce emissions by a mere 2%. Not a trivial number given the scale, but it's far from a "solution to our climate problem". (For comparison, the larger transportation sector including cars is is 16% of emissions. Cars alone are 12%.) [1]

                                                                                                                                                                                                                                                    It also turns out to be a very hard problem to solve. We don't have the tech to build an electric airliner yet, and given how hard it's been just to get a single high-speed rail line from SF to LA I'm not betting trains are going to be in a place to practically replace aviation in the US anytime in the next few decades.

                                                                                                                                                                                                                                                    [1]: https://ourworldindata.org/ghg-emissions-by-sector

                                                                                                                                                                                                                                                    • Tiktaalik 1 year ago
                                                                                                                                                                                                                                                      Pretty much just proposing giving people some options. Right now they have few.

                                                                                                                                                                                                                                                      Right now in North America on an enormous amount of routes there's pretty much no real alternative to driving or flying and on many others where a train does exist it's so poor in quality that few use it.

                                                                                                                                                                                                                                                      If rail was a real option then more people would use it, and that would be transferring people from a relatively much higher CO2 emission form of transport to a lower emission one. That's a win.

                                                                                                                                                                                                                                                      Every where I look I see data that shows that the CO2 emissions per user are dramatically lower for train than air travel.

                                                                                                                                                                                                                                                      Now clearly on some big routes flying is a must and train would be so incredibly lengthly that it would be a misery, but there's tons and tons of shorter routes where train would work really well, competing well against car/bus and air travel.

                                                                                                                                                                                                                                                      If one wanted to get aggressive about it, once the infrastructure as in place, one could do what France has done and to ban short haul flights.

                                                                                                                                                                                                                                                    • gruez 1 year ago
                                                                                                                                                                                                                                                      >If we're looking for some low hanging fruit around how to possibly lower CO2 emissions, well folks here it is.

                                                                                                                                                                                                                                                      I'm not really sure how you can call it "low hanging fruit" when its overall contribution to global emissions is only 2%, and how hard it is to build HSR projects in the US.

                                                                                                                                                                                                                                                      [1] https://www.iea.org/energy-system/transport/aviation

                                                                                                                                                                                                                                                      >In 2022 aviation accounted for 2% of global energy-related CO2 emissions

                                                                                                                                                                                                                                                      • Tiktaalik 1 year ago
                                                                                                                                                                                                                                                        It's low hanging fruit in that everything involved is well understood with very seasoned technology and a deep amount of suppliers and engineering knowledge. As I said, we were doing this stuff in the 19th century, and have kept doing it (in some countries, just not NA).

                                                                                                                                                                                                                                                        This sort of solution doesn't require any sort of technological breakthroughs, or technologies that do not exist.

                                                                                                                                                                                                                                                        Trying to solve climate change based on working on new technologies that don't currently exist and may not ever exist seems harder to me, and yet remarkably we see people pointing to this approach instead of well understood solutions we already have.

                                                                                                                                                                                                                                                        Accordingly I'd call implementing proven technology relatively easy. One could get started on it tomorrow.

                                                                                                                                                                                                                                                        • gruez 1 year ago
                                                                                                                                                                                                                                                          >It's low hanging fruit in that everything involved is well understood with very seasoned technology and a deep amount of suppliers and engineering knowledge.

                                                                                                                                                                                                                                                          >This sort of solution doesn't require any sort of technological breakthroughs, or technologies that do not exist.

                                                                                                                                                                                                                                                          You can say the same for solar panels and/or batteries? After all, they exist right now and can be mass produced. Moreover the electricity grid actually accounts for a significant chunk of global emissions, unlike aviation. The only thing really stopping them is cost, but then that's basically the same issue that HSR has, which is cost/delays/political issues.

                                                                                                                                                                                                                                                          >As I said, we were doing this stuff in the 19th century, and have kept doing it (in some countries, just not NA).

                                                                                                                                                                                                                                                          "[trains] in the 19th century" aren't a serious competitor to airplanes in the same way that ocean liners aren't a serious competitor to airplanes.

                                                                                                                                                                                                                                                      • kouru225 1 year ago
                                                                                                                                                                                                                                                        If we just made train travel an economic and logistical alternative to air travel, it’d make such a difference.
                                                                                                                                                                                                                                                        • 1 year ago
                                                                                                                                                                                                                                                        • gpvos 1 year ago
                                                                                                                                                                                                                                                          Netherlands: https://treinposities.nl/ , and for buses https://busposities.nl/kaart (zoom in).
                                                                                                                                                                                                                                                          • 1 year ago
                                                                                                                                                                                                                                                          • h1fra 1 year ago
                                                                                                                                                                                                                                                            Looking at the speed of the trains is a bit depressing. USA had so much potential to built the best high-speed railway network...
                                                                                                                                                                                                                                                            • gosub100 1 year ago
                                                                                                                                                                                                                                                              Most of the states are too big to be economical. I think the biggest disappointment with US rail is that it doesn't get enough trucks off the highway. There should be no reason for trucks to venture more than a couple hundred miles from the nearest rail terminal. Not only is it wasteful, but it's more dangerous having trucks driving across the entire country.
                                                                                                                                                                                                                                                              • steveBK123 1 year ago
                                                                                                                                                                                                                                                                Even in the densest areas of the country (NYC metro area), it's abysmal by developed world.

                                                                                                                                                                                                                                                                I got caught in probably the 2nd worst traffic driving to/from my parents (70mi away) this weekend I've had in 20 years. And yet it was still about 30min faster, each way, than if I took Metro North.

                                                                                                                                                                                                                                                              • stickfigure 1 year ago
                                                                                                                                                                                                                                                                Speed would be nice, but speed is not the problem. If the trains just ran on time, 50mph would be just fine. The problem with Amtrak is frequent multiple-hour delays that stack up. The schedule is totally unpredictable.
                                                                                                                                                                                                                                                                • saagarjha 1 year ago
                                                                                                                                                                                                                                                                  High-speed rail typically excels when it can get you somewhere in a few hours because you wouldn't want to hop on a plane for that. At 50 mph, that gets you…basically nowhere. If you're doing 200 then you can cross most states in that time.
                                                                                                                                                                                                                                                                  • mtalantikite 1 year ago
                                                                                                                                                                                                                                                                    For me it's also cost. I have family in the Boston area and often traveling from NYC on Amtrak is at least as expensive -- and usually more expensive -- than flying.

                                                                                                                                                                                                                                                                    But I'd also love if we could go faster than 50mph. TGV in France, which launched 41 years ago, travel between 167mph and 198mph [1].

                                                                                                                                                                                                                                                                    [1] https://simple.wikipedia.org/wiki/TGV

                                                                                                                                                                                                                                                                    • jrockway 1 year ago
                                                                                                                                                                                                                                                                      "On time" is a metric that is focused on heavily, but to me it's meaningless. The LIRR is "on time" via schedule padding; a 50 mile trip to Ronkonkoma takes 80 minutes on the fastest express train. With line speeds largely 80mph throughout the route, commuters are robbed of an hour every single day. But hey, at least the "on time performance" metric is at 99%. Easy to do when your average speed is 37mph on 80mph track.

                                                                                                                                                                                                                                                                      The LIRR Today has a great article, that I cannot for the life of me find, where the author used train speed data between stations to figure out what speed "most trains" accomplished (so accounting for curves, station stops, etc.) and redid the schedules according to that data. Without padding, everyone that uses the LIRR would save hours a week in commuting.

                                                                                                                                                                                                                                                                      Incidentally, the LIRR has been moving away from higher train speeds and better connections to reduce travel time in favor of arriving at terminals within 6 minutes of the scheduled time. Schedule padding, replacing 80mph switches with 60mph switches (for the Elmont work), and removing all scheduled connections at Jamaica. I think it's crazy and I'm glad I don't commute to the city from Long Island. The connections at Jamaica disappearing is the most sad to me; that station has a really unique setup where 3 trains arrive at once, and you can transfer through the middle train to get to the other two destinations. It used to work like clockwork, but obviously if the middle train is late, the OTP for 3 trains decreases. Since that's the metric they care about, and not "can I get from any city terminal to any destination easily", that's what gets optimized out. I don't think it's good. It's nice if the trains run on time, but I'd rather be 20 minutes late once a week than spend an extra 5 hours on the train every week. But, not what the agency values.

                                                                                                                                                                                                                                                                    • chroma 1 year ago
                                                                                                                                                                                                                                                                      HSR only makes economic sense in the northeast. Everywhere else is too spread out for rail to compete with air travel. The most popular air route in the western US (SF-LA) isn’t worth making high speed rail between. The project is expected to cost over $30 billion. Assuming 100% of air passengers use rail (4 million per year), at $150 per ticket it would take 50 years to break even… and that assumes zero maintenance costs. Also it would be slower than taking a plane.
                                                                                                                                                                                                                                                                    • thallium205 1 year ago
                                                                                                                                                                                                                                                                      That’s what I noticed! An Amtrak train in the middle of nowhere Montana is going 49MPH…
                                                                                                                                                                                                                                                                      • dylan604 1 year ago
                                                                                                                                                                                                                                                                        The train situation in the USofA is depressing on so many more levels than just speed. Availability is even worse. I'm in Dallas, but to get to Denver, I have to go to Chicago first and involves a >2 hour bus ride along the way. WTF?
                                                                                                                                                                                                                                                                        • 1 year ago
                                                                                                                                                                                                                                                                          • oldpersonintx 1 year ago
                                                                                                                                                                                                                                                                            it already has something much more sophisticated - a high-speed air network

                                                                                                                                                                                                                                                                            think your train is efficient? a plane can fly in a straight line between any two points in the US! beat that! ever see a train cross one of the great lakes? no challenge for a plane! rerouting a rail line can cost billions...but only a tiny bit of fuel to reroute a plane...not to mention I can go coast to coast in five hours on a plane but the world's fastest train would take much longer...

                                                                                                                                                                                                                                                                            • rsynnott 1 year ago
                                                                                                                                                                                                                                                                              High speed rail is most competitive with short and medium range air. Say you want to go from SF to LA. That’s a 90 minute flight. Plus a few hours of getting to and from the airports plus faffing around within the airports. Or it’s a 6 hour drive. Or, with a top-quality high-speed line it’d be a little under two hours on the train, handily beating any current option.

                                                                                                                                                                                                                                                                              High speed rail wouldn’t be all that competitive for going coast to coast in the US, definitely.

                                                                                                                                                                                                                                                                              • rangestransform 1 year ago
                                                                                                                                                                                                                                                                                in the northeast I still prefer to take acela over being dehumanized by the TSA
                                                                                                                                                                                                                                                                                • chroma 1 year ago
                                                                                                                                                                                                                                                                                  TSA can screen people the same for rail, they just tend not to. Ideally we’d go back to pre-9/11 screening for everything.
                                                                                                                                                                                                                                                                            • afhammad 1 year ago
                                                                                                                                                                                                                                                                              • 1 year ago
                                                                                                                                                                                                                                                                              • the_mitsuhiko 1 year ago
                                                                                                                                                                                                                                                                                For Austria you can see them all here: https://anachb.vor.at/ ("Kartenoptionen" -> "Livemap" -> "Alle einblenden"). Even covers buses, subways, trams and local trains as well as public transport ships.
                                                                                                                                                                                                                                                                                • 1 year ago
                                                                                                                                                                                                                                                                                • miki_tyler 1 year ago
                                                                                                                                                                                                                                                                                  This is so cool! I just happen to post my own project about train maps in HN like an hour ago!

                                                                                                                                                                                                                                                                                  Coincidence...??? I think not!