Places API

Railway Railway Crossing API

The Railway Railway Crossing API returns mapped locations of railway tracks intersecting roads or paths, with about 32,130 records. It provides coordinates and OpenStreetMap tags, alongside settlement, population, flood, climate and land-use context. Developers can use the data to map crossings, assess nearby conditions and build transport or location analysis tools.

China, Japan · JSON, GeoJSON, CSV, Parquet

POSThttps://api.outerview.ai/v1/stream
curl https://api.outerview.ai/v1/stream \
  -X POST \
  -H "Authorization: Bearer $OUTERVIEW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "railway railway crossing",
    "region_id": "63711",
    "limit": 50
  }'

Key facts

  • The Railway Railway Crossing dataset contains about 32,130 records.
  • China accounts for 41% of the records.
  • Japan accounts for 28.5% of the records.
  • Latitude and longitude are present for 100% of records.

Quick start

  1. 1. Create an account and generate an API key on the developer platform.
  2. 2. Send it as a Bearer token in the Authorization header.
  3. 3. Query by place, radius or date (the example searches Torino).

Bulk download

GET https://api.outerview.ai/api/v1/beacon/railway-railway-crossing/download?format=geojson

Add &region_slug=… to limit to one place. Formats: csv, geojson, parquet.

Sample records

Real records from the data, trimmed to the main fields.

10 records
NameCountryLatitudeLongitude
04China39.66491106.79982
02China39.66655106.80004
01China39.67886106.80083
03China39.678106.80049
菱1China40.02014109.64342
菱1China40.19752109.743
菱1China40.60212109.85934
菱5China36.01626120.1884
菱3China36.0178120.18884
菱1China36.01835120.18975

Overview

This API covers railway crossings: places where railway tracks intersect a road or path, often marked by warning signs, barriers or crossing stripes. The data is sourced from OpenStreetMap contributors under the ODbL.

It is intended for developers and data buyers building transport maps, infrastructure inventories, location analysis and planning tools.

Coverage

The dataset contains about 32,130 records across countries including China, Japan, South Korea, France and Italy. China accounts for 41% of the records and Japan for 28.5%.

Coverage includes locations such as Hebei, Tokyo, Seoul, Torino and Lyon. The supplied coverage breakdown identifies regions and cities, while individual record availability may vary.

Fields

Each record includes latitude and longitude, OpenStreetMap tags in properties, a source dataset label and a settlement class identifying city, town or countryside. Coordinates, properties, source and settlement class are present for all records.

Context fields include estimated population within 1 km for 99% of records, flood zone for 96%, climate group for 93% and land-use categories for 56%.

  • latLatitude
  • lngLongitude
  • propertiesAll OpenStreetMap tags for the place
  • sourceSource dataset
  • settlement_classCity, town or countryside
  • ghsl_pop_1km_2020How many people live here (people)
  • flood_zoneFlood risk
  • climate_groupClimate group
  • land_use_categoriesLand use

Queries

Filter records by region, radius, date or selected fields, and use stream queries for live lookups or bulk downloads for whole datasets. The available facts do not specify query syntax or date-field semantics.

Available output formats are JSON, GeoJSON, CSV and Parquet.

Use cases

Use the data to map railway crossings alongside roads and rail lines, inventory crossing locations for transport planning, or identify nearby settlements and population context.

Other applications include adding crossing points to navigation maps, comparing infrastructure coverage by region, screening locations against flood-zone context and combining crossing locations with land-use or climate data.

Pricing

Data is available in JSON, GeoJSON, CSV and Parquet. Access uses an API key, with a free tier and paid plans for higher limits and bulk downloads.

Specific prices and plan limits are not provided here.

Frequently asked questions

Is there an API for railway crossings in China?

Yes. The Railway Railway Crossing API includes mapped railway crossing records in China, which accounts for 41% of the dataset. Records include latitude and longitude, OpenStreetMap tags and contextual fields such as settlement class and nearby population.

How many railway crossing records are available?

The dataset contains about 32,130 railway crossing records. The country breakdown is led by China and Japan, and the supplied coverage information also names regions and cities with records.

What fields does the railway crossing API return?

Records include latitude, longitude, OpenStreetMap properties, source dataset and settlement class. Additional fields provide nearby population, flood zone, climate group and land-use categories, with coverage varying by field.

Can I get railway crossing data as GeoJSON?

Yes. GeoJSON is one of the available formats, alongside JSON, CSV and Parquet. The data includes coordinates for every record, so the locations can be represented in geographic workflows.

Can I filter railway crossings by region or radius?

The API supports filtering by region and radius, as well as selecting fields. The supplied information does not specify the query syntax or define which geographic boundaries are available for regional filtering.

How often is railway crossing data updated?

The update frequency is not specified in the available dataset information. The records are sourced from OpenStreetMap contributors, but no refresh schedule or record-level update timestamp is provided here.

Does the API include crossing barriers or warning signs?

Records include OpenStreetMap tags in the properties field, which contains the mapped tags for each place. The available information does not guarantee that every crossing has tags identifying barriers, warning signs or other specific features.

Can I download the full railway crossing dataset?

Bulk downloads are available on paid plans, and the dataset can be provided in JSON, GeoJSON, CSV or Parquet. Plan prices and specific download limits are not stated in the available information.

Start building with the Railway Railway Crossing API

Free to try. Paid plans raise limits and unlock bulk downloads.