Skip to content

Railway layer

Bocher edited this page Oct 25, 2023 · 5 revisions

The Railway layer represents any kind of runways for wheeled equipment. Geometries must be LINESTRING or MULTILINESTRING.

Name Type Constraints Definition
the_geom LINESTRING or MULTILINESTRING X Y dimensions Geometry
id_railway INTEGER Primary Key Unique Identifier
id_source VARCHAR not null Identifier of the feature from the input datasource
type VARCHAR not null; in type list Type of rail
zindex INTEGER not null; >= -4; <= 4 Defines the position with respect to the ground. 0 indicates that the object is on the ground. 1 to 4 indicates that the object is above the ground surface. -4 to -1 value indicates that the object is underground.
crossing VARCHAR bridge or null Indicates whether the rail is located on a bridge or not (null). A bridge is defined as an artificial construction that spans features such as roads, railways, waterways or valleys and carries a road, railway or other feature
usage VARCHAR null ; in usage list Indicates the usage of the rail way
width float not null Width of the rail way (expressed in meters). A default value is used corresponding to the standard gauge (1.435) plus 1 meter for balasting.

type column values

List of all possible values for the type values.

Term Definition Source
highspeed Railway track for highspeed rail. 1
rail Railway track for full sized passenger or freight trains in the standard gauge for the country or state. 2
service track Railway track mainly used for sorting or temporary parking of freight trains. 3
disused A section of railway which is no longer used but where the track and infrastructure remain in place. 4
funicular Cable railway in which a cable attached to a pair of tram-like vehicles on rails moves them up and down a steep slope, the ascending and descending vehicles counterbalancing each other. 5
subway Rails used for city public transport that are always completely separated from other traffic, often underground 6
tram Railway track which is mainly or exclusively used for trams, or where tram tracks are laid within a normal road open to all traffic, often called street running. 7

usage column values

The list of all possible values for the usage column is closed from OSM definition (https://wiki.openstreetmap.org/wiki/Key:usage). Supported values are : main, branch, industrial, military, tourism, scientific, test

Clone this wiki locally