Highway-rail grade crossings (FRA)
What it is
The 242,093 crossings between rail and road from the FRA’s Highway-Rail Grade Crossing Inventory, with the relative position (posicion_nombre: at grade, railroad under, or railroad over), the type (tipo_cruce_nombre: public or private, 99.8% filled) and the warning device (WDCODE: gates, flashing lights, stop signs, no signage…). Includes daily road traffic (AADT) with its reference year (AADTYEAR), number of main, siding and yard tracks (MAINTRK, SIDINGTRK, YARDTRK) and whether there is a whistle ban (WHISTBAN). This is the required layer for assessing the risk of any road crossing over an existing rail line.
The upstream service publishes no abstract for this layer.
At a glance
| ID | us_ferrocarriles_grade_crossings |
| Records | 242,093 |
| Size | 10.0 MB |
| Geometry | POINT |
| CRS | EPSG:4326 |
| Version | v/2026-09 |
| Source | bts_ntad |
| Upstream layer | ntad:Highway_Rail_Grade_Crossings |
| Licence | Dominio público («not protected by any U.S. copyrights… unrestricted public use») |
Extent: -150.12334, 0.0 → 0.0, 64.91895
Download
curl -H "x-api-key: $GEOVIS_API_KEY" \ https://datos.geovis.es/v1/data/datasets/us_ferrocarriles_grade_crossings/downloadsha256 of this version:
85e95625e85a8e209027219481f8b7646e39d034f68ebfb0dca74e993e056290Query it without downloading it
import duckdbcon = duckdb.connect(); con.execute("INSTALL spatial; LOAD spatial; INSTALL httpfs; LOAD httpfs;")con.execute("SELECT count(*) FROM read_parquet('<url-firmada>')").fetchone()Columns
Column names are kept exactly as the agency publishes them. They are not translated: renaming them would break traceability against the official source.
The literals below are the ones present in the data: they work as-is in a WHERE. Only columns with few distinct values are enumerated; for the rest, the count is given.
| Column | Type | Filled | Distinct | Values |
|---|---|---|---|---|
CROSSING | VARCHAR | 100 % | 242,093 | |
RAILROAD | VARCHAR | 100 % | 1,134 | |
HIGHWAY | VARCHAR | 100 % | 41,335 | |
STREET | VARCHAR | 100 % | 115,922 | |
TYPEXING | VARCHAR | 100 % | 3 | Public · Private · “ |
POSXING | VARCHAR | 100 % | 3 | At Grade · RR Under · RR Over |
WDCODE | VARCHAR | 100 % | 11 | “ · All other Gates · Crossbucks · Flashing lights · Stop signs · No signs or signals · Four Quad (full barrier) G · Highway signals, bells |
WHISTBAN | VARCHAR | 100 % | 5 | 0 · “ · 1 · 3 · 2 |
AADT | VARCHAR | 100 % | 19,596 | |
AADTYEAR | VARCHAR | 100 % | 104 | |
MAINTRK | BIGINT | 100 % | 18 | Range: 0 → 55 |
SIDINGTRK | BIGINT | 100 % | 11 | 0 · 1 · 2 · 3 · 4 · 5 · 6 · 9 |
YARDTRK | BIGINT | 100 % | 32 | Range: 0 → 36 |
TRANSITTRK | BIGINT | 100 % | 5 | 0 · 2 · 1 · 3 · 4 |
STATENAME | VARCHAR | 100 % | 50 | |
STATEAB | VARCHAR | 100 % | 50 | |
COUNTYNAME | VARCHAR | 100 % | 1,627 | |
CITYNAME | VARCHAR | 100 % | 10,846 | |
XPURPOSE | VARCHAR | 100 % | 3 | 1 · 2 · 3 |
estado_nombre | VARCHAR | 100 % | 50 | |
posicion_nombre | VARCHAR | 100 % | 3 | A nivel · Ferrocarril por debajo · Ferrocarril por encima |
tipo_cruce_nombre | VARCHAR | 99.81 % | 2 | Público · Privado |
_fuente | VARCHAR | 100 % | 1 | bts_ntad |
_fecha_captura | DATE | 100 % | 1 | 2026-09-12 |
_fecha_edicion | DATE | 0 % | — | |
_licencia | VARCHAR | 100 % | 1 | Dominio público («not prot |
_atribucion | VARCHAR | 100 % | 1 | National Transportation At |
bbox | STRUCT(xmin DOUBLE, ymin DOUBLE, xmax DOUBLE, ymax DOUBLE) | 100 % | — | |
geometry | GEOMETRY(‘EPSG:4326’) | 100 % | — |