MicroburbsMicroburbs
Free sandbox: try any request below on the sample suburbs, no signup. For every suburb, create an API key.
Classic docs
Microburbs Property Data API
Dataset · Transport

Rail Level Crossings on Public Roads, Western Australia

Point locations of 1,286 rail crossings on public access roads across Western Australia. Each record gives the road, its network type, the local government area, the crossing type and the warning protection in place. Callers get the crossings per suburb as GeoJSON or near an address.

Endpoints

Rail Level Crossings on Public Roads, Western Australia (map)

GET/v1/suburbs/{suburb_name}/layers/rail-level-crossings-western-australia10¢ per call
Query parameterDescription
fieldsComma-separated field slugs (below). Omit for all.
limitFeatures per page, 1 to 500 (default 200).
offsetItems to skip, for the next page (`next_offset`).
curl -X GET 'https://api.microburbs.com.au/v1/suburbs/Merredin/layers/rail-level-crossings-western-australia' \
  -H 'Authorization: Bearer test'

test is the public sandbox key: it works only for the sandbox's allowlisted suburbs and addresses. Use your own key for anything else.

Rail Level Crossings on Public Roads, Western Australia nearby

GET/v1/properties/{gnaf_id}/layers/rail-level-crossings-western-australia/nearby10¢ per call
Query parameterDescription
radius_mSearch radius in metres, 1 to 2000 (default 500).
fieldsComma-separated field slugs (below). Omit for all.
limitFeatures per page, 1 to 500 (default 200).
offsetItems to skip, for the next page (`next_offset`).
curl -X GET 'https://api.microburbs.com.au/v1/properties/GAWA_162247976/layers/rail-level-crossings-western-australia/nearby' \
  -H 'Authorization: Bearer test'

test is the public sandbox key: it works only for the sandbox's allowlisted suburbs and addresses. Use your own key for anything else.

About this dataset

Western Australia, from the south-west and Albany up to the Pilbara and Kimberley fringe (latitudes about -35.04 to -20.34, longitudes about 113.63 to 123.57). 1,286 crossing points across the Metropolitan, Wheatbelt, Mid West-Gascoyne and Goldfields-Esperance regions and others. The layer records a temporal start of 4 February 2025. Current to 2026-09-30; refreshed As published; no update frequency is stated..

What it is

A point layer of rail crossings where the freight or passenger rail network meets public access roads in Western Australia. Each crossing carries the road identifier and name, its position along the road, the road network type, and the Main Roads region and local government area.

What it shows

It shows where roads cross rail lines and how each crossing is classed (for example public, private, occupation or railway operator). It also shows the protection at the crossing, such as flashing lights, stop signs, give way signs or no signs. Some records add maximum train speed, pedestrian facilities and inspection dates.

Why use it

Rail crossings affect road safety, noise, traffic delay and access. They matter when assessing a property or site near a rail line, and when planning routes or developments. Analysts can see which nearby crossings are unprotected and which have active warning devices.

How it is built

We take the crossing points and their attributes as supplied and serve them as map features. Features are grouped by suburb and can also be searched near an address. All 1,286 points fall inside a suburb. Many optional attributes are blank in the source records, and we do not fill them in.

Shortcomings

  • ADVANCED_FLASHING, PED_FACILITY, MAX_TRAIN_SPEED and DATE_INSPECTED are mostly or entirely blank (98%, 100%, 95% and 99% respectively), so they cannot support analysis on their own.
  • IN_USE is blank for 93% of rows, so you cannot tell whether most crossings are active.
  • DATE_INSPECTED is stored as a millisecond timestamp, not a formatted date, and covers very few rows.
  • The layer is for information only. It covers crossings on public access roads and may omit crossings on other tracks, and details can change.

Fields

FieldUnitDescription
road
Road number
Road identifier code for the road that crosses the rail line.
road_name
Road name
Official name of the road at the crossing.
common_usage_name
Common usage name
Name by which the road is commonly known, which can differ from the official name.
start_slk
Start straight line kilometre
kmStraight line kilometre along the road where the crossing starts.
end_slk
End straight line kilometre
kmStraight line kilometre along the road where the crossing ends.
cwy
Carriageway
Carriageway the crossing is on: Single, Left or Right.
start_true_dist
Start true distance
kmTrue distance along the road at the start of the crossing.
end_true_dist
End true distance
kmTrue distance along the road at the end of the crossing.
network_type
Road network type
Classification of the road, such as State Road, Local Road, Miscellaneous Road or Main Roads Controlled Path.
ra_no
Road region number
Code for the Main Roads region containing the crossing.
ra_name
Road region name
Name of the Main Roads region, such as Metropolitan, Wheatbelt or Goldfields - Esperance.
lg_no
Local government number
Numeric code of the local government area containing the crossing.
lg_name
Local government name
Name of the local government area containing the crossing.
xing_no
Crossing number
Identifier of the crossing, held as text with leading zeros.
xing_type
Crossing type
Type of crossing, such as Public, Private, Occupation or Railway Operator; blank for about 1% of rows.
iit_protection
Crossing protection
Warning or control at the crossing, such as Flashing Lights, Stop Signs, Give Way or Unsigned; blank for about 2% of rows.
advanced_flashing
Advanced flashing
Whether the crossing has advanced flashing lights; blank for 98% of rows.
ped_facility
Pedestrian facility
Pedestrian provision at the crossing, such as Footpath, Maze or Maze + Bells; blank in all rows.
max_train_speed
Maximum train speed
km/hMaximum train speed at the crossing, from 15 to 120; blank for 95% of rows.
date_inspected
Date inspected
Inspection date as a millisecond timestamp since 1970; blank for 99% of rows.
in_use
In use
Whether the crossing is in use; blank for 93% of rows.
route_ne_id
Route network element ID
Identifier of the road network route element the crossing is linked to.

Data source: WA Government