Secure websites use HTTPS
Updated 4 months ago
LTA (Land Transport Authority)Attribute Legends
Attributes | Data Type | Description |
---|---|---|
Name | Text | - |
Description | Text | - |
Dataset preview
This code can be used to view the raw JSON dataset for LTA Traffic Signal Aspect (GEOJSON). 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>BEARG_NUM<\/th> <td>290<\/td> <\/tr><tr bgcolor=\"\"> <th>TYP_NAM<\/th> <td>Pedestrian Signal<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>UNIQUE_ID<\/th> <td>18410<\/td> <\/tr><tr bgcolor=\"\"> <th>INC_CRC<\/th> <td>F6EA2D47D3C9EECA<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D<\/th> <td>20220127101959<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "Point", "coordinates": [ 103.786891894386997, 1.30154381850367, 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>BEARG_NUM<\/th> <td>315<\/td> <\/tr><tr bgcolor=\"\"> <th>TYP_NAM<\/th> <td>Pedestrian Signal<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>UNIQUE_ID<\/th> <td>18411<\/td> <\/tr><tr bgcolor=\"\"> <th>INC_CRC<\/th> <td>D323E958A6CA07FB<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D<\/th> <td>20220127101959<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "Point", "coordinates": [ 103.785304871484996, 1.2930933777421, 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>BEARG_NUM<\/th> <td>88.67037912<\/td> <\/tr><tr bgcolor=\"\"> <th>TYP_NAM<\/th> <td>Pedestrian Signal<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>UNIQUE_ID<\/th> <td>18412<\/td> <\/tr><tr bgcolor=\"\"> <th>INC_CRC<\/th> <td>33E2EDF8162EAC5F<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D<\/th> <td>20220127101959<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "Point", "coordinates": [ 103.936264402714997, 1.35595886444776, 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>BEARG_NUM<\/th> <td>246.61895435<\/td> <\/tr><tr bgcolor=\"\"> <th>TYP_NAM<\/th> <td>Ground Signal<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>UNIQUE_ID<\/th> <td>18413<\/td> <\/tr><tr bgcolor=\"\"> <th>INC_CRC<\/th> <td>2B50FF1FDB7F483B<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D<\/th> <td>20220127101959<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "Point", "coordinates": [ 103.936232662807001, 1.35591771457938, 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>BEARG_NUM<\/th> <td>269<\/td> <\/tr><tr bgcolor=\"\"> <th>TYP_NAM<\/th> <td>Ground Signal<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>UNIQUE_ID<\/th> <td>18414<\/td> <\/tr><tr bgcolor=\"\"> <th>INC_CRC<\/th> <td>970D844D3598AB64<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D<\/th> <td>20220127101959<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "Point", "coordinates": [ 103.936225780057001, 1.35579590623124, 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>BEARG_NUM<\/th> <td>359<\/td> <\/tr><tr bgcolor=\"\"> <th>TYP_NAM<\/th> <td>Pedestrian Signal<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>UNIQUE_ID<\/th> <td>18415<\/td> <\/tr><tr bgcolor=\"\"> <th>INC_CRC<\/th> <td>E7C3748E94017F51<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D<\/th> <td>20220127101959<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "Point", "coordinates": [ 103.936464390287, 1.35569524403973, 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>BEARG_NUM<\/th> <td>89<\/td> <\/tr><tr bgcolor=\"\"> <th>TYP_NAM<\/th> <td>Ground Signal<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>UNIQUE_ID<\/th> <td>18416<\/td> <\/tr><tr bgcolor=\"\"> <th>INC_CRC<\/th> <td>017FAAD29686D2B5<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D<\/th> <td>20220127101959<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "Point", "coordinates": [ 103.936471836497006, 1.35569081505535, 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>BEARG_NUM<\/th> <td>181<\/td> <\/tr><tr bgcolor=\"\"> <th>TYP_NAM<\/th> <td>Overhead Signal<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>UNIQUE_ID<\/th> <td>18417<\/td> <\/tr><tr bgcolor=\"\"> <th>INC_CRC<\/th> <td>9E769538A7F369E1<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D<\/th> <td>20220127101959<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "Point", "coordinates": [ 103.936529561347996, 1.35588707832517, 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>BEARG_NUM<\/th> <td>359<\/td> <\/tr><tr bgcolor=\"\"> <th>TYP_NAM<\/th> <td>Overhead Signal<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>UNIQUE_ID<\/th> <td>18418<\/td> <\/tr><tr bgcolor=\"\"> <th>INC_CRC<\/th> <td>F395402FAE253F9D<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D<\/th> <td>20220127101959<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "Point", "coordinates": [ 103.936327105954007, 1.35569572742356, 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>BEARG_NUM<\/th> <td>178.57400429<\/td> <\/tr><tr bgcolor=\"\"> <th>TYP_NAM<\/th> <td>Pedestrian Signal<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>UNIQUE_ID<\/th> <td>18419<\/td> <\/tr><tr bgcolor=\"\"> <th>INC_CRC<\/th> <td>9B356D34F2467A9B<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D<\/th> <td>20220127101959<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "Point", "coordinates": [ 103.843428204777993, 1.43126235691007, 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>BEARG_NUM<\/th> <td>262.87321391<\/td> <\/tr><tr bgcolor=\"\"> <th>TYP_NAM<\/th> <td>Ground Signal<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>UNIQUE_ID<\/th> <td>18420<\/td> <\/tr><tr bgcolor=\"\"> <th>INC_CRC<\/th> <td>B8FDBDEE7E29ECCA<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D<\/th> <td>20220127101959<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "Point", "coordinates": [ 103.843427662924995, 1.43126217151789, 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>BEARG_NUM<\/th> <td>177.07827595<\/td> <\/tr><tr bgcolor=\"\"> <th>TYP_NAM<\/th> <td>Overhead Signal<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>UNIQUE_ID<\/th> <td>18421<\/td> <\/tr><tr bgcolor=\"\"> <th>INC_CRC<\/th> <td>67A7C48ABA38D879<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D<\/th> <td>20220127101959<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "Point", "coordinates": [ 103.843531131497002, 1.43126107768147, 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>BEARG_NUM<\/th> <td>5.6746035<\/td> <\/tr><tr bgcolor=\"\"> <th>TYP_NAM<\/th> <td>Pedestrian Signal<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>UNIQUE_ID<\/th> <td>18422<\/td> <\/tr><tr bgcolor=\"\"> <th>INC_CRC<\/th> <td>534EBEDC72BC1BD2<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D<\/th> <td>20220127101959<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "Point", "coordinates": [ 103.843453189556001, 1.43112086817875, 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>BEARG_NUM<\/th> <td>90<\/td> <\/tr><tr bgcolor=\"\"> <th>TYP_NAM<\/th> <td>Ground Signal<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>UNIQUE_ID<\/th> <td>18423<\/td> <\/tr><tr bgcolor=\"\"> <th>INC_CRC<\/th> <td>B5A341E1AED64895<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D<\/th> <td>20220127101959<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "Point", "coordinates": [ 103.843453596619, 1.43112073161801, 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>BEARG_NUM<\/th> <td>1.98024938<\/td> <\/tr><tr bgcolor=\"\"> <th>TYP_NAM<\/th> <td>Overhead Signal<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>UNIQUE_ID<\/th> <td>18424<\/td> <\/tr><tr bgcolor=\"\"> <th>INC_CRC<\/th> <td>B9F405CDEB797F1A<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D<\/th> <td>20220127101959<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "Point", "coordinates": [ 103.843365225322003, 1.43112099698723, 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>BEARG_NUM<\/th> <td>263.91661567<\/td> <\/tr><tr bgcolor=\"\"> <th>TYP_NAM<\/th> <td>Pedestrian Signal<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>UNIQUE_ID<\/th> <td>18425<\/td> <\/tr><tr bgcolor=\"\"> <th>INC_CRC<\/th> <td>AA14FABDA0410116<\/td> <\/tr
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
datasetId = "d_44cc2bba6131f9057fb92f367eba69ed"
url = "https://api-open.data.gov.sg/v1/public/api/datasets/" + datasetId + "/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)
23 Jan 2019
Free forever for personal or commercial use, under the Open Data Licence.