us / railwaysUnited States railways data sources
Where can I get the railway network (geometry) of the United States, with line type, electrification, infrastructure manager and traffic?
- Research reviewed
- 2026-11-24
- Sources tested
- 2026-11-24
- Access checked
- 2026-11-24
- Published
- 2026-11-24
- Sources
- 3 on this page · 0 in the detail
Answer
- Official data
- Partial coverage
- Non official data
- Partial coverage
- Confidence
- Medium
FRA's North American Rail Network (NARN) Lines, distributed by BTS in NTAD, is the national line layer: 302,774 polylines (235,703 in the US) at 1:24,000 or better, with owner, dispatcher or maintainer marks, trackage rights, passenger-service type and a network class that marks abandoned and out-of-service lines. It has no electrification or traffic field. Reported train counts exist only at highway-rail crossings (FRA Form 71, 438,962 rows). Electrification was found only in OpenStreetMap tags, sampled at two places.
Local search terms
- North American Rail Network Lines — Name of the FRA/BTS NARN layer on data.gov and NTAD.
- Crossing Inventory Data (Form 71) — FRA table of highway-rail crossings with train counts.
- reporting mark — Short railroad code used in RROWNER and TRKRGHTS fields (AMTK, UP, BNSF, CSXT, NS).
- trackage rights — Right of one railroad to run over another's track; listed in TRKRGHTS1-9.
- subdivision — Railroad-defined line section (SUBDIV field) used in NARN and the crossing inventory.
- STRACNET — Strategic Rail Corridor Network flag in NARN.
- NARN — North American Rail Network.
- NTAD — National Transportation Atlas Database published by BTS.
Requested attributes
| Attribute | Coverage | Sources | Scope and limitations |
|---|---|---|---|
Railway network geometry route_geometry | Covered | ntad-narn-rail-lines | NARN polylines, stated 1:24,000 or better: 302,774 features, 235,703 with COUNTRY='US'. Includes yards, sidings, industrial leads and abandoned lines. |
Line type line_type | Covered | ntad-narn-rail-lines | NET is the network class (M main, I industrial lead, Y yard, S siding, A or R abandoned, X out of service, T trail); PASSNGR adds passenger service type. |
Electrification electrification | Partially covered | osm-railway-electrification | Only OSM tags: contact line, 13 kV, 60 Hz on the New Haven Line; electrified=no on the Hartford Line. NARN and the crossing inventory have no such field. Not checked: No official line-level field found in the NARN dictionary or crossing columns. FRA map pages were not reachable (railroads.dot.gov 403, gis.fra.dot.gov no connection). OSM coverage was sampled at two places only. |
Infrastructure manager infrastructure_manager | Partially covered | ntad-narn-rail-lines | RROWNER1-3 hold railroad marks for dispatching, maintenance and/or land ownership without saying which role; TRKRGHTS1-9 list railroads with trackage rights. Not published: Roles are merged in one field (3,076 US rows carry a second or third mark) and train operators are not a field. Marks differ between datasets: AMTK in NARN, ATK in the crossing inventory. |
Traffic traffic | Partially covered | fra-crossing-inventory-form71 | Reported trains per day at crossing points (daylight and night through trains, passenger trains per day) with the count year; no per-line tonnage or train total was found. Not checked: Crossing counts are self-reported points with mixed years. STB waybill data and state density maps were not opened (Iowa DOT page returned 403 to curl). |
Main caveats
- NET separates the active network from abandoned (A, R), out-of-service (X) and trail (T) features. Filter before measuring: US rows total 235,703, of which 81,529 are main network (M).
- PASSNGR is the type of passenger service on a line, not a train count or an electrification flag. Do not infer either from it.
- RROWNER1-3 mix dispatcher, maintainer and land owner; TRKRGHTS lists railroads with rights, not the operators that actually run trains.
- Crossing counts are self-reported: 52% of 438,962 rows give a count year (51,282 rows 2025, 12,274 rows 2019) and 192,201 rows are closed crossings.
- Subdivision names and railroad codes differ between datasets (Hartford Line in NARN vs New Haven in the crossing inventory; AMTK vs ATK).
- railroads.dot.gov and publications.iowa.gov refused default curl requests (403) and gis.fra.dot.gov did not connect; NARN and crossing data were reachable.
Sources
ntad-narn-rail-linesNorth American Rail Network (NARN) Lines
Federal Railroad Administration (FRA); distributed by BTS in NTAD · Official · ArcGIS REST FeatureServer (JSON queries); hub downloads: CSV, GeoPackage, shapefile, GeoJSON, file geodatabase · API · License: Public domain: U.S. government work, unrestricted public use (layer copyright text)
FRA's national rail line layer (NARN): geometry, railroad owner marks, trackage rights, passenger service type and network class including abandoned and out-of-service lines.
- Landing url
- https://catalog.data.gov/dataset/north-american-rail-network-lines
- Data url
- https://services.arcgis.com/xOi1kZaI0eWDREZv/arcgis/rest/services/NTAD_North_American_Rail_Network_Lines/FeatureServer/0
- Coverage note
- 302,774 features across US, Canada and Mexico; filter COUNTRY='US' for 235,703. No electrification or traffic field.
- Date of data
- Revised 2026-10-19
- Language
en- Location precision
- Exact
- Has coordinates
- Yes
- Test
- 2026-11-24 · API query · HTTP 200
- The CSV export has attributes only, with no geometry column.
- The data.gov record north-american-rail-network-lines-24470 returned 404.
- The GeoPackage export is 136,613,888 bytes (header only; not downloaded).
Caveats
- Filter NET before counting active network miles.
- RROWNER marks mix owner, dispatcher and maintainer roles.
- PASSNGR is service type, not traffic.
Example request
https://services.arcgis.com/xOi1kZaI0eWDREZv/arcgis/rest/services/NTAD_North_American_Rail_Network_Lines/FeatureServer/0/query?where=STATEAB%3D%27NJ%27+AND+PASSNGR%3D%27B%27+AND+NET%3D%27M%27&outFields=FRAARCID,RROWNER1,RROWNER2,RROWNER3,TRKRGHTS1,TRKRGHTS2,TRKRGHTS3,SUBDIV,BRANCH,PASSNGR,TRACKS,NET,MILES,STRACNET&resultRecordCount=4&returnGeometry=false&f=json
Example result
First feature: FRAARCID 379940, RROWNER1 AMTK, TRKRGHTS1 CSAO, TRKRGHTS2 CSXT, TRKRGHTS3 NJT, SUBDIV NORTHEAST CORRIDOR, PASSNGR B, TRACKS 4, NET M, MILES 0.93. All 79 matching NJ segments have RROWNER1 AMTK.
fra-crossing-inventory-form71Crossing Inventory Data (Form 71) - Current
Federal Railroad Administration (FRA), via data.transportation.gov · Official · Socrata SODA API (JSON), 265 columns · API · License: Public domain (Socrata licenseId PUBLIC_DOMAIN)
FRA Form 71 crossing inventory: railroad-reported through, switching and passenger train counts with count year and timetable speed at 438,962 crossing records.
- Landing url
- https://data.transportation.gov/api/views/m2f8-22s6.json
- Data url
- https://data.transportation.gov/resource/m2f8-22s6.json
- Coverage note
- Points at crossings only; 52% of rows have a count year and 192,201 rows are closed crossings.
- Date of data
- Rows updated 2026-11-23; count years vary (51,282 rows 2025)
- Language
en- Location precision
- Exact
- Has coordinates
- Yes
- Test
- 2026-11-24 · API query · HTTP 200
- Counts are reported by railroads and state agencies; no independent verification was made.
- The FRA developer site safetydata.fra.dot.gov (OData) lists the same inventory but has a Sign In link; it was not used.
Caveats
- Counts are self-reported and dated per row.
- statecode is FIPS; Amtrak is ATK here, AMTK in NARN.
- Not a per-line total.
Example request
https://data.transportation.gov/resource/m2f8-22s6.json?$select=crossingid,cityname,railroadname,railroadsubdivision,railroadmilepostnumber,typeoftrainservice1,numberpassengertrainperday,totaldaylightthrutrains,totalnighttimethrutrains,totalswitchingtrains,trainsperweek,trainsperyear,maximumtimetablespeed,latitude,longitude,reasondescription,revisiondate,crossingposition,annualaveragedailytrafficcount,annualaveragedailytrafficyear&$where=statecode%3D%2709%27+AND+railroadcode%3D%27ATK%27+AND+railroadsubdivision+LIKE+%27NEW+HAVEN%25%27+AND+totaldaylightthrutrains%3E0&$limit=2&$order=revisiondate+DESC
Example result
First row: crossingid 500642U, WALLINGFORD, Amtrak, subdivision NEW HAVEN, milepost 0012.65, passenger trains per day 34, daylight through 22, night through 12, switching 2, trainsperyear 2019, max timetable speed 40, lat 41.457314, lon -72.824967, revised 2026-02-17.
osm-railway-electrificationOpenStreetMap railway ways with electrified, voltage and frequency tags (Overpass API)
OpenStreetMap contributors · Non-official · Overpass QL, JSON · API · License: ODbL 1.0 (stated in Overpass response text)
Non-official OSM tags are the only electrification data found: contact line, 13 kV and 60 Hz on the New Haven Line sample; electrified=no on the Hartford Line sample.
- Landing url
- Data url
- https://overpass-api.de/api/interpreter
- Coverage note
- Two small bounding boxes in Connecticut; coverage elsewhere unknown.
- Date of data
- 2026-11-24
- Language
en- Location precision
- Exact
- Has coordinates
- Yes
- Test
- 2026-11-24 · API query · HTTP 200
- The default curl client received 406 Not Acceptable; a generic client identification was accepted.
- Several queries returned 502 (server at capacity) and a second public instance returned an empty response once.
Caveats
- Volunteer data; a missing tag means unknown.
- Sampled at two places only.
Example request
https://overpass-api.de/api/interpreter?data=[out:json][timeout:60];way["railway"="rail"]["electrified"](41.2950,-72.9300,41.3000,-72.9200); out tags 5;
Example result
5 ways at timestamp 2026-11-24T09:51:14Z: two ways named New Haven Line with electrified=contact_line, frequency=60, voltage=13000, operator Metro-North Railroad; three ways with electrified=no.
Additional sources in the detail: 0. Read the full detail; locate each source by its source_id.
Research provenance
- Pass count
- 1
- Minutes estimate
- 16
- Pages opened
- 17
| Pass | Date |
|---|---|
| 1 | 2026-11-24 |