Station Feature
GeoJSON feature
This endpoint wraps the data from the main station endpoint within a GeoJSON feature.
These features can be used with libraries like Leaflet or OpenLayers to plot a station onto a map.
Please make certain you have read the Conditions of use before using this API.
$ curl -s http://api.area51.onl/rail/1/station/MDE/feature | jq '.' { "type": "Feature", "properties": { "location": { "name": "Maidstone East", "crs": "MDE", "stanox": 89403, "nalco": 511500, "nlccheck": "Q", "caps": 32, "tiplocs": [ "MSTONEE" ] }, "operator": { "code": "SE", "name": "Southeastern", "url": "http://www.nationalrail.co.uk/tocs_maps/tocs/SE.aspx" } }, "geometry": { "type": "Point", "coordinates": [ 0.520249, 51.2776, 0 ] }, "id": "MDE" }