Docs
Contents

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

IDus_ferrocarriles_grade_crossings
Records242,093
Size10.0 MB
GeometryPOINT
CRSEPSG:4326
Versionv/2026-09
Sourcebts_ntad
Upstream layerntad:Highway_Rail_Grade_Crossings
LicenceDominio 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/download

sha256 of this version:

85e95625e85a8e209027219481f8b7646e39d034f68ebfb0dca74e993e056290

Query it without downloading it

import duckdb
con = 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.

ColumnTypeFilledDistinctValues
CROSSINGVARCHAR100 %242,093
RAILROADVARCHAR100 %1,134
HIGHWAYVARCHAR100 %41,335
STREETVARCHAR100 %115,922
TYPEXINGVARCHAR100 %3Public · Private · “
POSXINGVARCHAR100 %3At Grade · RR Under · RR Over
WDCODEVARCHAR100 %11“ · All other Gates · Crossbucks · Flashing lights · Stop signs · No signs or signals · Four Quad (full barrier) G · Highway signals, bells
WHISTBANVARCHAR100 %50 · “ · 1 · 3 · 2
AADTVARCHAR100 %19,596
AADTYEARVARCHAR100 %104
MAINTRKBIGINT100 %18Range: 0 → 55
SIDINGTRKBIGINT100 %110 · 1 · 2 · 3 · 4 · 5 · 6 · 9
YARDTRKBIGINT100 %32Range: 0 → 36
TRANSITTRKBIGINT100 %50 · 2 · 1 · 3 · 4
STATENAMEVARCHAR100 %50
STATEABVARCHAR100 %50
COUNTYNAMEVARCHAR100 %1,627
CITYNAMEVARCHAR100 %10,846
XPURPOSEVARCHAR100 %31 · 2 · 3
estado_nombreVARCHAR100 %50
posicion_nombreVARCHAR100 %3A nivel · Ferrocarril por debajo · Ferrocarril por encima
tipo_cruce_nombreVARCHAR99.81 %2Público · Privado
_fuenteVARCHAR100 %1bts_ntad
_fecha_capturaDATE100 %12026-09-12
_fecha_edicionDATE0 %—
_licenciaVARCHAR100 %1Dominio público («not prot
_atribucionVARCHAR100 %1National Transportation At
bboxSTRUCT(xmin DOUBLE, ymin DOUBLE, xmax DOUBLE, ymax DOUBLE)100 %—
geometryGEOMETRY(‘EPSG:4326’)100 %—