{"schema_version":"1.0","country":"us","country_name":"United States","topic":"railways","question":"Where can I get the railway network (geometry) of the United States, with line type, electrification, infrastructure manager and traffic?","territory":"us","territory_level":"country","parent_url":null,"published_on":"2026-11-24","research_reviewed_on":"2026-11-24","access_checked_on":"2026-11-24","answer":{"official_data":"partial","non_official_data":"partial","summary":"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.","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."],"confidence":"medium","confidence_reason":"NARN and the crossing inventory were queried and cross-checked at two corridors (NEC in NJ, Hartford Line in CT); electrification rests on two OSM samples and FRA map pages were unreachable.","attributes":[{"attribute":"route_geometry","covered":"yes","source_ids":["ntad-narn-rail-lines"],"note":"NARN polylines, stated 1:24,000 or better: 302,774 features, 235,703 with COUNTRY='US'. Includes yards, sidings, industrial leads and abandoned lines.","gap":null,"gap_note":null},{"attribute":"line_type","covered":"yes","source_ids":["ntad-narn-rail-lines"],"note":"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.","gap":null,"gap_note":null},{"attribute":"electrification","covered":"partial","source_ids":["osm-railway-electrification"],"note":"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.","gap":"not_checked","gap_note":"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."},{"attribute":"infrastructure_manager","covered":"partial","source_ids":["ntad-narn-rail-lines"],"note":"RROWNER1-3 hold railroad marks for dispatching, maintenance and/or land ownership without saying which role; TRKRGHTS1-9 list railroads with trackage rights.","gap":"not_published","gap_note":"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."},{"attribute":"traffic","covered":"partial","source_ids":["fra-crossing-inventory-form71"],"note":"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.","gap":"not_checked","gap_note":"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)."}]},"sources":[{"source_id":"ntad-narn-rail-lines","name":"North American Rail Network (NARN) Lines","publisher":"Federal Railroad Administration (FRA); distributed by BTS in NTAD","official":true,"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","access":"api","format":"ArcGIS REST FeatureServer (JSON queries); hub downloads: CSV, GeoPackage, shapefile, GeoJSON, file geodatabase","license":"Public domain: U.S. government work, unrestricted public use (layer copyright text)","language":"en","has_coordinates":true,"location_precision":"exact","summary":"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.","coverage_note":"302,774 features across US, Canada and Mexico; filter COUNTRY='US' for 235,703. No electrification or traffic field.","data_date":"Revised 2026-10-19","caveats":["Filter NET before counting active network miles.","RROWNER marks mix owner, dispatcher and maintainer roles.","PASSNGR is service type, not traffic."],"test":{"tested_on":"2026-11-24","method":"api_query","http_status":200,"problems":["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)."]},"example":{"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."},"members_summary":null},{"source_id":"fra-crossing-inventory-form71","name":"Crossing Inventory Data (Form 71) - Current","publisher":"Federal Railroad Administration (FRA), via data.transportation.gov","official":true,"landing_url":"https://data.transportation.gov/api/views/m2f8-22s6.json","data_url":"https://data.transportation.gov/resource/m2f8-22s6.json","access":"api","format":"Socrata SODA API (JSON), 265 columns","license":"Public domain (Socrata licenseId PUBLIC_DOMAIN)","language":"en","has_coordinates":true,"location_precision":"exact","summary":"FRA Form 71 crossing inventory: railroad-reported through, switching and passenger train counts with count year and timetable speed at 438,962 crossing records.","coverage_note":"Points at crossings only; 52% of rows have a count year and 192,201 rows are closed crossings.","data_date":"Rows updated 2026-11-23; count years vary (51,282 rows 2025)","caveats":["Counts are self-reported and dated per row.","statecode is FIPS; Amtrak is ATK here, AMTK in NARN.","Not a per-line total."],"test":{"tested_on":"2026-11-24","method":"api_query","http_status":200,"problems":["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."]},"example":{"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."},"members_summary":null},{"source_id":"osm-railway-electrification","name":"OpenStreetMap railway ways with electrified, voltage and frequency tags (Overpass API)","publisher":"OpenStreetMap contributors","official":false,"landing_url":null,"data_url":"https://overpass-api.de/api/interpreter","access":"api","format":"Overpass QL, JSON","license":"ODbL 1.0 (stated in Overpass response text)","language":"en","has_coordinates":true,"location_precision":"exact","summary":"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.","coverage_note":"Two small bounding boxes in Connecticut; coverage elsewhere unknown.","data_date":"2026-11-24","caveats":["Volunteer data; a missing tag means unknown.","Sampled at two places only."],"test":{"tested_on":"2026-11-24","method":"api_query","http_status":200,"problems":["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."]},"example":{"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."},"members_summary":null}],"other_sources_count":0,"if_unstructured":{"summary":null},"local_terms":[{"term":"North American Rail Network Lines","language":"en","meaning":"Name of the FRA/BTS NARN layer on data.gov and NTAD."},{"term":"Crossing Inventory Data (Form 71)","language":"en","meaning":"FRA table of highway-rail crossings with train counts."},{"term":"reporting mark","language":"en","meaning":"Short railroad code used in RROWNER and TRKRGHTS fields (AMTK, UP, BNSF, CSXT, NS)."},{"term":"trackage rights","language":"en","meaning":"Right of one railroad to run over another's track; listed in TRKRGHTS1-9."},{"term":"subdivision","language":"en","meaning":"Railroad-defined line section (SUBDIV field) used in NARN and the crossing inventory."},{"term":"STRACNET","language":"en","meaning":"Strategic Rail Corridor Network flag in NARN."},{"term":"NARN","language":"en","meaning":"North American Rail Network."},{"term":"NTAD","language":"en","meaning":"National Transportation Atlas Database published by BTS."}],"provenance":{"pass_count":1,"models":["claude-sonnet-5-5"],"minutes_estimate":16,"pages_opened":17,"passes":[{"pass":1,"date":"2026-11-24","model":"claude-sonnet-5-5"}],"note":"Minutes are researcher estimates. Counts describe documented passes, not publication approval. Missing history or effort is not reconstructed."},"card_url":"https://georutter.org/v1/us/railways.json","detail_url":"https://georutter.org/v1/us/railways/detail.json","html_url":"https://georutter.org/us/railways/","country_url":"https://georutter.org/v1/countries/us.json"}
