Secure websites use HTTPS
31 Jul 2023
Free forever for personal or commercial use, under the Open Data Licence.
This dataset can be reused and cited in research publications.
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_ae38cc7a5c706d33f115bebc01f9e4f7"
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)
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 2003 MRT Line. 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>OID<\/th> <td>22147<\/td> <\/tr><tr bgcolor=\"\"> <th>GRND_LEVEL<\/th> <td>UNDERGROUND<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC<\/th> <td>BE7D971376D0615A<\/td> <\/tr><tr bgcolor=\"\"> <th>FMEL_UPD_D<\/th> <td>20170412182024<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "LineString", "coordinates": [ [ 103.846141181090999, 1.28724108864952, 0.0 ], [ 103.846180632724995, 1.28730379258815, 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>OID<\/th> <td>22148<\/td> <\/tr><tr bgcolor=\"\"> <th>GRND_LEVEL<\/th> <td>UNDERGROUND<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC<\/th> <td>316A7C5F391B2CD1<\/td> <\/tr><tr bgcolor=\"\"> <th>FMEL_UPD_D<\/th> <td>20170412182024<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "LineString", "coordinates": [ [ 103.846067624045006, 1.28709522943619, 0.0 ], [ 103.846093736759002, 1.28714134829589, 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>OID<\/th> <td>22149<\/td> <\/tr><tr bgcolor=\"\"> <th>GRND_LEVEL<\/th> <td>UNDERGROUND<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC<\/th> <td>50BC64126D1C973E<\/td> <\/tr><tr bgcolor=\"\"> <th>FMEL_UPD_D<\/th> <td>20170412182024<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "LineString", "coordinates": [ [ 103.846093736759002, 1.28714134829589, 0.0 ], [ 103.846141181090999, 1.28724108864952, 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>OID<\/th> <td>22150<\/td> <\/tr><tr bgcolor=\"\"> <th>GRND_LEVEL<\/th> <td>UNDERGROUND<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC<\/th> <td>A37765088C125722<\/td> <\/tr><tr bgcolor=\"\"> <th>FMEL_UPD_D<\/th> <td>20170412182024<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "LineString", "coordinates": [ [ 103.846180632724995, 1.28730379258815, 0.0 ], [ 103.846197197508005, 1.28734153617198, 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>OID<\/th> <td>22151<\/td> <\/tr><tr bgcolor=\"\"> <th>GRND_LEVEL<\/th> <td>UNDERGROUND<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC<\/th> <td>B5B3C14D2C880911<\/td> <\/tr><tr bgcolor=\"\"> <th>FMEL_UPD_D<\/th> <td>20170412182024<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "LineString", "coordinates": [ [ 103.846074254971995, 1.28739657010863, 0.0 ], [ 103.846110094563002, 1.28747738759041, 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>OID<\/th> <td>22152<\/td> <\/tr><tr bgcolor=\"\"> <th>GRND_LEVEL<\/th> <td>UNDERGROUND<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC<\/th> <td>A5D6BCE5CB7BBE53<\/td> <\/tr><tr bgcolor=\"\"> <th>FMEL_UPD_D<\/th> <td>20170412182024<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "LineString", "coordinates": [ [ 103.846276853605005, 1.28707996631466, 0.0 ], [ 103.846466709698007, 1.28758488581007, 0.0 ] ] } },
{ "type": "Feature", "properties": { "Name": "kml_7", "Description": "<center><table><tr><th colspan='2' align='center'><em>Attributes<\/em><\/th><\/tr><tr bgcolor=\"#E3E3F3\"> <th>OID<\/th> <td>22153<\/td> <\/tr><tr bgcolor=\"\"> <th>GRND_LEVEL<\/th> <td>UNDERGROUND<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC<\/th> <td>B413C86D304A4A90<\/td> <\/tr><tr bgcolor=\"\"> <th>FMEL_UPD_D<\/th> <td>20170412182024<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "LineString", "coordinates": [ [ 103.846343392514001, 1.28747246484955, 0.0 ], [ 103.846389335466, 1.28758488801873, 0.0 ] ] } },
{ "type": "Feature", "properties": { "Name": "kml_8", "Description": "<center><table><tr><th colspan='2' align='center'><em>Attributes<\/em><\/th><\/tr><tr bgcolor=\"#E3E3F3\"> <th>OID<\/th> <td>22154<\/td> <\/tr><tr bgcolor=\"\"> <th>GRND_LEVEL<\/th> <td>UNDERGROUND<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC<\/th> <td>D652819C8D4D05CF<\/td> <\/tr><tr bgcolor=\"\"> <th>FMEL_UPD_D<\/th> <td>20170412182024<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "LineString", "coordinates": [ [ 103.846343392514001, 1.28747246484955, 0.0 ], [ 103.846227493645998, 1.28717185184598, 0.0 ] ] } },
{ "type": "Feature", "properties": { "Name": "kml_9", "Description": "<center><table><tr><th colspan='2' align='center'><em>Attributes<\/em><\/th><\/tr><tr bgcolor=\"#E3E3F3\"> <th>OID<\/th> <td>22155<\/td> <\/tr><tr bgcolor=\"\"> <th>GRND_LEVEL<\/th> <td>UNDERGROUND<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC<\/th> <td>9897962C89CEE67E<\/td> <\/tr><tr bgcolor=\"\"> <th>FMEL_UPD_D<\/th> <td>20170412182024<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "LineString", "coordinates": [ [ 103.846197197508005, 1.28734153617198, 0.0 ], [ 103.846233832319996, 1.2874241316293, 0.0 ] ] } },
{ "type": "Feature", "properties": { "Name": "kml_10", "Description": "<center><table><tr><th colspan='2' align='center'><em>Attributes<\/em><\/th><\/tr><tr bgcolor=\"#E3E3F3\"> <th>OID<\/th> <td>22156<\/td> <\/tr><tr bgcolor=\"\"> <th>GRND_LEVEL<\/th> <td>UNDERGROUND<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC<\/th> <td>2A04D01DF959471F<\/td> <\/tr><tr bgcolor=\"\"> <th>FMEL_UPD_D<\/th> <td>20170412182024<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "LineString", "coordinates": [ [ 103.846233832319996, 1.2874241316293, 0.0 ], [ 103.846269511974, 1.28750451049261, 0.0 ] ] } },
{ "type": "Feature", "properties": { "Name": "kml_11", "Description": "<center><table><tr><th colspan='2' align='center'><em>Attributes<\/em><\/th><\/tr><tr bgcolor=\"#E3E3F3\"> <th>OID<\/th> <td>22157<\/td> <\/tr><tr bgcolor=\"\"> <th>GRND_LEVEL<\/th> <td>UNDERGROUND<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC<\/th> <td>AE6D6AEDAAB23AF0<\/td> <\/tr><tr bgcolor=\"\"> <th>FMEL_UPD_D<\/th> <td>20170412182024<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "LineString", "coordinates": [ [ 103.846269511974, 1.28750451049261, 0.0 ], [ 103.846300577624007, 1.28758489028332, 0.0 ] ] } },
{ "type": "Feature", "properties": { "Name": "kml_12", "Description": "<center><table><tr><th colspan='2' align='center'><em>Attributes<\/em><\/th><\/tr><tr bgcolor=\"#E3E3F3\"> <th>OID<\/th> <td>22158<\/td> <\/tr><tr bgcolor=\"\"> <th>GRND_LEVEL<\/th> <td>UNDERGROUND<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC<\/th> <td>D9B5B0239FBBE3CE<\/td> <\/tr><tr bgcolor=\"\"> <th>FMEL_UPD_D<\/th> <td>20170412182024<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "LineString", "coordinates": [ [ 103.846227493645998, 1.28717185184598, 0.0 ], [ 103.846051232080995, 1.28693581079175, 0.0 ] ] } },
{ "type": "Feature", "properties": { "Name": "kml_13", "Description": "<center><table><tr><th colspan='2' align='center'><em>Attributes<\/em><\/th><\/tr><tr bgcolor=\"#E3E3F3\"> <th>OID<\/th> <td>22159<\/td> <\/tr><tr bgcolor=\"\"> <th>GRND_LEVEL<\/th> <td>UNDERGROUND<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC<\/th> <td>C9D46BC565AEA03D<\/td> <\/tr><tr bgcolor=\"\"> <th>FMEL_UPD_D<\/th> <td>20170412182024<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "LineString", "coordinates": [ [ 103.846124401725007, 1.28687614856846, 0.0 ], [ 103.846276853605005, 1.28707996631466, 0.0 ] ] } },
{ "type": "Feature", "properties": { "Name": "kml_14", "Description": "<center><table><tr><th colspan='2' align='center'><em>Attributes<\/em><\/th><\/tr><tr bgcolor=\"#E3E3F3\"> <th>OID<\/th> <td>22160<\/td> <\/tr><tr bgcolor=\"\"> <th>GRND_LEVEL<\/th> <td>UNDERGROUND<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC<\/th> <td>B760991CEFC6AFEB<\/td> <\/tr><tr bgcolor=\"\"> <th>FMEL_UPD_D<\/th> <td>20170412182024<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "LineString", "coordinates": [ [ 103.846051232080995, 1.28693581079175, 0.0 ], [ 103.846042692387002, 1.28694276087864, 0.0 ] ] } },
{ "type": "Feature", "properties": { "Name": "kml_15", "Description": "<center><table><tr><th colspan='2' align='center'><em>Attributes<\/em><\/th><\/tr><tr bgcolor=\"#E3E3F3\"> <th>OID<\/th> <td>22161<\/td> <\/tr><tr bgcolor=\"\"> <th>GRND_LEVEL<\/th> <td>UNDERGROUND<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC<\/th> <td>49C8A2D73FFC74CE<\/td> <\/tr><tr bgcolor=\"\"> <th>FMEL_UPD_D<\/th> <td>20170412182024<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "LineString", "coordinates": [ [ 103.846042692387002, 1.28694276087864, 0.0 ], [ 103.846010396850005, 1.28690266150185, 0.0 ] ] } },
{ "type": "Feature", "properties": { "Name": "kml_16", "Description": "<center><table><tr><th colspan='2' align='center'><em>Attributes<\/em><\/th><\/tr><tr bgcolor=\"#E3E3F3\"> <th>OID<\/th> <td>22162<\/td> <\/tr><tr bgcolor=\"\"> <th>GRND_LEVEL<\/th> <td>UNDERGROUND<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC<\/th> <td>6E725F5C20998746<\/td> <\/tr><tr bgcolor=\"\"> <th>FMEL_UPD_D<\/th> <td>20170412182024<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "LineString", "coordinates": [ [ 103.846077076136993, 1.28680254888026, 0.0 ], [ 103.846098377065005, 1.28682879525047, 0.0 ] ] } },
{ "type": "Feature", "properties": { "Name": "kml_17", "Description": "<center><table><tr><th colspan='2' align=