Get an API key
Fields · utilities

nearest_rail_line_distance_m

Geodesic distance to the nearest usable BTS NTAD / FRA North American Rail Network line segment (searched up to 200 km); abandoned, removed, trail and out-of-service segments (NET A, R, T, X) are excluded.

Name nearest_rail_line_distance_m
Layer utilities
Type, unit float, meters
Sources (in order) BTS_NTAD_RAIL
Cache 90 days (ttl_seconds 7776000)

What it is

Geodesic distance to the nearest usable BTS NTAD / FRA North American Rail Network line segment (searched up to 200 km); abandoned, removed, trail and out-of-service segments (NET A, R, T, X) are excluded.

Nulls

status "absent": no usable rail line within 200 km. "failed": BTS did not answer or a search circle hit the row limit.

Example

curl -s https://api.invariant-ai.com/v1/fetch \
  -H "X-API-Key: $INVARIANT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"lat": 39.0438, "lng": -77.4874, "fields": ["nearest_rail_line_distance_m"]}'

Field object keys are described in Responses. Live definition: GET /v1/meta/fields.