Secure websites use HTTPS
Scam alert
Waitlist for API key is now open. Register here for higher rate limits, priority support and maintenance notifications. Rate limits will be rolled out from 1 October 2025 onwards.
Last updated: 06 Jun 2024, 14:27 SGT
Indicative line of MRT, LRT and Railway network layer. This layer is extracted from the latest Master Plan 2019 which may be updated from time to time. For the latest Master Plan, please visit URA's web site at https://www.ura.gov.sg/.
Attribute Legend
Attributes | Data Type | Description |
---|---|---|
Name | Text | - |
Description | Text | - |
Dataset preview
This code can be used to view the raw JSON dataset for Master Plan 2019 Rail Line layer. Large datasets may be truncated in the preview. Please download the dataset for complete data.
{
"type": "FeatureCollection",
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
"features": [
{ "type": "Feature", "properties": { "Name": "kml_1", "Description": "<center><table><tr><th colspan='2' align='center'><em>Attributes<\/em><\/th><\/tr><tr bgcolor=\"#E3E3F3\"> <th>GRND_LEVEL<\/th> <td>ABOVEGROUND<\/td> <\/tr><tr bgcolor=\"\"> <th>RAIL_TYPE<\/th> <td>MRT<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC<\/th> <td>19247B0E0E15AF87<\/td> <\/tr><tr bgcolor=\"\"> <th>FMEL_UPD_D<\/th> <td>20191209172332<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "LineString", "coordinates": [ [ 103.769038646571005, 1.43185966258784, 0.0 ], [ 103.769064495240997, 1.4318692947856, 0.0 ], [ 103.769161168555996, 1.43190383423827, 0.0 ], [ 103.769254660073003, 1.4319341239946, 0.0 ], [ 103.769375497479999, 1.43196832407739, 0.0 ], [ 103.769497107741998, 1.43200036274743, 0.0 ], [ 103.769602999119996, 1.43202482512052, 0.0 ], [ 103.769705726618, 1.43204691796873, 0.0 ], [ 103.769803134504002, 1.4320668510446, 0.0 ], [ 103.769900523546994, 1.43208585171735, 0.0 ], [ 103.769988386687999, 1.43210172573736, 0.0 ], [ 103.770193193031005, 1.43214179290683, 0.0 ], [ 103.770585476330993, 1.4322230743511, 0.0 ], [ 103.771204505016001, 1.43235150186084, 0.0 ], [ 103.771744494659004, 1.43246918504201, 0.0 ] ] } },
{ "type": "Feature", "properties": { "Name": "kml_2", "Description": "<center><table><tr><th colspan='2' align='center'><em>Attributes<\/em><\/th><\/tr><tr bgcolor=\"#E3E3F3\"> <th>GRND_LEVEL<\/th> <td>UNDERGROUND<\/td> <\/tr><tr bgcolor=\"\"> <th>RAIL_TYPE<\/th> <td>MRT<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC<\/th> <td>66F16A9502E84AAB<\/td> <\/tr><tr bgcolor=\"\"> <th>FMEL_UPD_D<\/th> <td>20191209172332<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "LineString", "coordinates": [ [ 103.877734616645995, 1.35369751712885, 0.0 ], [ 103.878031096661005, 1.35397462690474, 0.0 ] ] } },
{ "type": "Feature", "properties": { "Name": "kml_3", "Description": "<center><table><tr><th colspan='2' align='center'><em>Attributes<\/em><\/th><\/tr><tr bgcolor=\"#E3E3F3\"> <th>GRND_LEVEL<\/th> <td>UNDERGROUND<\/td> <\/tr><tr bgcolor=\"\"> <th>RAIL_TYPE<\/th> <td>MRT<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC<\/th> <td>33321452CB2EF3CA<\/td> <\/tr><tr bgcolor=\"\"> <th>FMEL_UPD_D<\/th> <td>20191209172332<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "LineString", "coordinates": [ [ 103.876542425451007, 1.35234448250948, 0.0 ], [ 103.876661021595993, 1.35245274995481, 0.0 ] ] } },
{ "type": "Feature", "properties": { "Name": "kml_4", "Description": "<center><table><tr><th colspan='2' align='center'><em>Attributes<\/em><\/th><\/tr><tr bgcolor=\"#E3E3F3\"> <th>GRND_LEVEL<\/th> <td>ABOVEGROUND<\/td> <\/tr><tr bgcolor=\"\"> <th>RAIL_TYPE<\/th> <td>MRT<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC<\/th> <td>4E3C7F23EFA39E37<\/td> <\/tr><tr bgcolor=\"\"> <th>FMEL_UPD_D<\/th> <td>20191209172332<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "LineString", "coordinates": [ [ 103.834094152624004, 1.39450291448377, 0.0 ], [ 103.833979405820997, 1.39457525098504, 0.0 ] ] } },
{ "type": "Feature", "properties": { "Name": "kml_5", "Description": "<center><table><tr><th colspan='2' align='center'><em>Attributes<\/em><\/th><\/tr><tr bgcolor=\"#E3E3F3\"> <th>GRND_LEVEL<\/th> <td>ABOVEGROUND<\/td> <\/tr><tr bgcolor=\"\"> <th>RAIL_TYPE<\/th> <td>MRT<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC<\/th> <td>F49903A9C3D88B3E<\/td> <\/tr><tr bgcolor=\"\"> <th>FMEL_UPD_D<\/th> <td>20191209172332<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "LineString", "coordinates": [ [ 103.834042657717006, 1.39448963843499, 0.0 ], [ 103.833921502243996, 1.39456602558216, 0.0 ] ] } },
{ "type": "Feature", "properties": { "Name": "kml_6", "Description": "<center><table><tr><th colspan='2' align='center'><em>Attributes<\/em><\/th><\/tr><tr bgcolor=\"#E3E3F3\"> <th>GRND_LEVEL<\/th> <td>ABOVEGROUND<\/td> <\/tr><tr bgcolor=\"\"> <th>RAIL_TYPE<\/th> <td>MRT<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC<\/th> <td>68F669414248D951<\/td> <\/tr><tr bgcolor=\"\"> <th>FMEL_UPD_D<\/th> <td>20191209172332<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 103.828023044713007, 1.40536491411641, 0.0 ], [ 103.828044527011002, 1.40542885722281, 0.0 ], [ 103.828064750402007, 1.40548963505211, 0.0 ], [ 103.828084974687997, 1.4055523120456, 0.0 ], [ 103.828110771067998, 1.40562647537871, 0.0 ], [ 103.828130275606995, 1.40568164524451, 0.0 ], [ 103.828153464332004, 1.40574097609713, 0.0 ], [ 103.828174405705994, 1.40579750341608, 0.0 ], [ 103.828201529324005, 1.40586104499574, 0.0 ], [ 103.828220848767998, 1.40591177714608, 0.0 ], [ 103.828243853299, 1.40596603632395, 0.0 ], [ 103.828269283088005, 1.40603024260657, 0.0 ], [ 103.828290940651996, 1.40608079388857, 0.0 ], [ 103.828334296223005, 1.40617953515756, 0.0 ], [ 103.828359550806994, 1.40623705728436, 0.0 ], [ 103.828387680863997, 1.40629304199818, 0.0 ], [ 103.828418596513998, 1.40635870431673, 0.0 ], [ 103.828441210177004, 1.4064094147673, 0.0 ], [ 103.828486105055006, 1.40649861680498, 0.0 ], [ 103.8286686868, 1.4068412653253, 0.0 ], [ 103.828690185355001, 1.40687911752367, 0.0 ], [ 103.828700550489003, 1.40689768594603, 0.0 ], [ 103.828731745623998, 1.40695892139893, 0.0 ], [ 103.828734839437004, 1.40696549974879, 0.0 ], [ 103.828764730719001, 1.4070305968329, 0.0 ], [ 103.828794116994004, 1.40709855351456, 0.0 ], [ 103.828807159885997, 1.40713000912864, 0.0 ], [ 103.828831882524, 1.40719067843556, 0.0 ], [ 103.828852099672005, 1.40724509043899, 0.0 ], [ 103.828875032336995, 1.40730283231569, 0.0 ], [ 103.828893776702003, 1.40735985069292, 0.0 ], [ 103.828919797750004, 1.40744630974936, 0.0 ], [ 103.828927458137002, 1.4074713606466, 0.0 ], [ 103.828948524414997, 1.40754567951096, 0.0 ], [ 103.828963929639002, 1.40760471642162, 0.0 ], [ 103.828980322399005, 1.40766929618094, 0.0 ], [ 103.828995648531006, 1.40773815900597, 0.0 ], [ 103.829015522362994, 1.4078283847256, 0.0 ], [ 103.829030615723994, 1.40791885551876, 0.0 ], [ 103.829041875770997, 1.40798367582875, 0.0 ], [ 103.829051689089994, 1.40805220131527, 0.0 ], [ 103.829059165199993, 1.4081159770777, 0.0 ], [ 103.829066168655004, 1.4081788891716, 0.0 ], [ 103.829072304936005, 1.40826441398105, 0.0 ], [ 103.829076824699001, 1.40832978232286, 0.0 ], [ 103.829079496968006, 1.40839744593705, 0.0 ], [ 103.829081068476995, 1.40846136819535, 0.0 ], [ 103.829081872588006, 1.40852926603629, 0.0 ], [ 103.829082742276995, 1.40860691472981, 0.0 ], [ 103.829083079997005, 1.40868906986806, 0.0 ], [ 103.829082150730997, 1.40876010404, 0.0 ], [ 103.829081793898993, 1.40881158495921, 0.0 ], [ 103.829082057017999, 1.40890344844454, 0.0 ], [ 103.829084567535006, 1.40897529202842, 0.0 ], [ 103.829086756316997, 1.40907009922193, 0.0 ], [ 103.829089019655996, 1.40917894937942, 0.0 ], [ 103.829088772358006, 1.40928208847365, 0.0 ], [ 103.829090917084002, 1.40939093320453, 0.0 ], [ 103.829094593920004, 1.40948774627972, 0.0 ], [ 103.829098165673003, 1.40955644267853, 0.0 ], [ 103.829104381945996, 1.40963422070519, 0.0 ], [ 103.829109891955994, 1.40969868468401, 0.0 ], [ 103.829117317747006, 1.40976450702097, 0.0 ], [ 103.829124754347006, 1.40981670240148, 0.0 ], [ 103.829137455700007, 1.40990210965419, 0.0 ], [ 103.829151240775005, 1.40997229194117, 0.0 ], [ 103.829165737541004, 1.41003654341037, 0.0 ], [ 103.829184020024996, 1.41011442003389, 0.0 ], [ 103.829203291856004, 1.4101902953015, 0.0 ], [ 103.829218715975998, 1.41024829038195, 0.0 ], [ 103.829232551407998, 1.41030068111589, 0.0 ], [ 103.829247336639995, 1.41035585638808, 0.0 ], [ 103.829261847807004, 1.41040922112301, 0.0 ], [ 103.829276039988997, 1.41045555985355, 0.0 ], [ 103.829290828834999, 1.41050095352467, 0.0 ], [ 103.829309673883998, 1.4105536580811, 0.0 ], [ 103.829327511627, 1.41060226044064, 0.0 ], [ 103.829348846656998, 1.41065629441606, 0.0 ], [ 103.829368136520003, 1.41070261597181, 0.0 ], [ 103.829393095540993, 1.41076149463078, 0.0 ], [ 103.829414366782004, 1.41081060886541, 0.0 ], [ 103.829442025150996, 1.41087290602419, 0.0 ], [ 103.829472578763003, 1.41093681476404, 0.0 ], [ 103.829496972596004, 1.41098494234197, 0.0 ], [ 103.829522918284994, 1.41103458925366, 0.0 ], [ 103.829555656368996, 1.41109503337756, 0.0 ], [ 103.829589078284997, 1.41115180216692, 0.0 ], [ 103.829621403031993, 1.41120623588624, 0.0 ], [ 103.829659263061004, 1.41126701644023, 0.0 ], [ 103.829698320907994, 1.41132717841049, 0.0 ], [ 103.829745245862995, 1.41139714731513, 0.0 ], [ 103.829793692128007, 1.41146631676337, 0.0 ], [ 103.829836825076001, 1.41152249139672, 0.0 ], [ 103.829872774741006, 1.4115700827001, 0.0 ], [ 103.829917891766996, 1.41162894510457, 0.0 ], [ 103.829992093282002, 1.41172423804392, 0.0 ], [ 103.830051162641993, 1.41179744729575, 0.0 ], [ 103.830125620269001, 1.4118903102051, 0.0 ], [ 103.830194908348005, 1.41197307949879, 0.0 ], [ 103.830229416701997, 1.41201498053647, 0.0 ], [ 103.830559963889002, 1.41242518236193, 0.0 ], [ 103.830587593583999, 1.41246103409534, 0.0 ], [ 103.830617312485003, 1.41250383677226, 0.0 ], [ 103.830656311970003, 1.41256319474616, 0.0 ], [ 103.830683798782005, 1.41260822848547, 0.0 ], [ 103.830698887816993, 1.41263544533602, 0.0 ], [ 103.830987931981994, 1.4132126604637, 0.0 ], [ 103.831314476052995, 1.41386933028903, 0.0 ], [ 103.831911716696993, 1.41507381508704, 0.0 ], [ 103.831949456426997, 1.41515139687482, 0.0 ], [ 103.831963851780998, 1.41518200869835, 0.0 ], [ 103.832016233980994, 1.41529148017476, 0.0 ], [ 103.832049735981997, 1.4153647065416, 0.0 ], [ 103.832088253893005, 1.41545186192397, 0.0 ], [ 103.832123613272998, 1.41553533021223, 0.0 ], [ 103.832154722339993, 1.41561292194084, 0.0 ], [ 103.832185651689002, 1.41569312999378, 0.0 ], [ 103.832211424050996, 1.41
This code can be used to test a sample API query. It retrieves the data catalogue of this dataset. For a complete guide on query parameters and syntax, please refer to the API documentation
import requests
dataset_id = "d_222bfc84eb86c7c11994d02f8939da8d"
url = "https://api-open.data.gov.sg/v1/public/api/datasets/" + dataset_id + "/poll-download"
response = requests.get(url)
json_data = response.json()
if json_data['code'] != 0:
print(json_data['errMsg'])
exit(1)
url = json_data['data']['url']
response = requests.get(url)
print(response.text)
This dataset can be reused and cited in research publications.
03 Jul 2023
Free forever for personal or commercial use, under the Open Data Licence.