Repository navigation
Railways
github-actions[bot] edited this page Nov 8, 2026
·
4 revisions
Edited like any feature in iD; Lane Studio draws them (wiki: Key:railway).
- At its gauge:
gauge(mm), else 1435 mm (main lines, Underground, light rail, trams), 600 mm narrow gauge, 184 mm miniature. - Ballast, concrete sleepers (timber on heritage and narrow gauge lines,
railway:preserved=yes), steel rails;tracks=nside by side; conductor rails forelectrified=railand4th_rail. - Trams run in the road over its lanes unless
embedded=no. - Tunnels faded; disused track rusty; track being built striped; abandoned, razed and proposed lines a dashed bed; monorails their beam.
- Railways pass under roads, except at crossings.
Laid out as in the Office of Rail and Road's layouts and the Highway Code (rules 291–299):
| Tag | Drawn |
|---|---|
crossing:surface |
Panels across the road, coloured by surface; crossing=informal: rails alone |
crossing:barrier=half |
A boom across the incoming lanes, on the traffic's left |
full, double_half, yes
|
Two booms meeting in the middle |
gates |
White gates with red targets; at a user worked crossing (crossing:activation=user), one braced gate a side |
crossing:light (or barriers that lower themselves) |
Road traffic light signals on the nearside verge; miniature red/green lights at a user worked crossing |
crossing:saltire (or an open crossing) |
A St Andrew's cross |
| Barriers, gates or lights | Stop line; an open crossing without lights: give way line |
crossing:whistle |
Whistle boards 40 m out each way |
Barriers and lights stand outside all the tracks a road crosses. Footpath crossings (railway=crossing) and tram
crossings (railway=tram_level_crossing) get panels and rails.
- Platforms (
railway=platform, area or a line 3 m wide orwidth): white edge, yellow safety line on the track side. - Signals (
railway=signal) beside the line (railway:signal:position, left by default), facingrailway:signal:direction: colour-light heads with 2–4 aspects (railway:signal:main:states, else 3), distant signals yellow, shunt signals as position lights, each over itsrefplate. - Buffer stops, switches (with point motors), derailers and stop boards at the track; turntables and traversers as pits.
- Stations, stops, subway entrances and railway buildings are left to iD.
Copied from docs/ on every change; edit the files there, not here.
Lane Studio
- Guide
- FAQ
-
Tag coverage
- Tags: Accessibility
- Tags: Addresses
- Tags: Advertising
- Tags: Aerialways
- Tags: Aeroways
- Tags: Agriculture
- Tags: Amenities
- Tags: Animals
- Tags: Annotations
- Tags: Barriers
- Tags: Bicycles
- Tags: Boundaries
- Tags: Bridges
- Tags: Buildings
- Tags: Buses
- Tags: Changeset
- Tags: Children
- Tags: Climbing
- Tags: Clubs
- Tags: Communications
- Tags: Crafts
- Tags: Crossings
- Tags: Cycleways
- Tags: Diplomacy
- Tags: Education
- Tags: Emergencies
- Tags: Ferries
- Tags: Food and beverages
- Tags: Government
- Tags: GPS
- Tags: Hazards
- Tags: Health
- Tags: Highways
- Tags: Hiking
- Tags: Historic
- Tags: Import
- Tags: Industrial
- Tags: Infrastructure
- Tags: Landcover
- Tags: Landuse
- Tags: Leisure
- Tags: Lifecycle
- Tags: Man made
- Tags: Marine
- Tags: Marine navigation
- Tags: Maritime
- Tags: Mechanics
- Tags: Military
- Tags: Motorcycles
- Tags: Names
- Tags: NaPTAN
- Tags: Natural
- Tags: Offices
- Tags: Parking
- Tags: Pipelines
- Tags: Places
- Tags: Police
- Tags: Power
- Tags: Products
- Tags: Properties
- Tags: Public transport
- Tags: Railways
- Tags: References
- Tags: Religion
- Tags: Restrictions
- Tags: Riding
- Tags: Routes
- Tags: Shops
- Tags: Social facilities
- Tags: Social networks
- Tags: Sports
- Tags: Swimming and bathing
- Tags: Tourism
- Tags: Transport
- Tags: Vending machines
- Tags: Waste processing
- Tags: Water
- Tags: Water management
- Tags: Waterways
- Tags: Other
- Developers
- API
- Contributing
- Releasing
- Accessibility
- Privacy
- Security
- Code of conduct
- Changelog