Secure websites use HTTPS
Real-time Weather APIs will be unavailable from 24 Nov 2024 12:00 AM to 12:00 PM due to upstream maintenance.
Updated 6 months ago
SPF (Singapore Police Force)Attribute Legend
Attributes | Data Type | Description |
---|---|---|
Name | Text | - |
Description | Text | - |
Dataset preview
This code can be used to view the raw JSON dataset for Singapore Police Force Red Light Cameras. 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>ID</th> <td>127</td> </tr><tr bgcolor=\"\"> <th>ROAD_NAME</th> <td>Punggol East</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>DIRECTION</th> <td>Punggol Drive</td> </tr><tr bgcolor=\"\"> <th>LATITUDE</th> <td>1.39537</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>LONGITUDE</th> <td>103.91656</td> </tr><tr bgcolor=\"\"> <th>DESCP</th> <td>Punggol East by Punggol Central</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC</th> <td>EF4455CF328E4C20</td> </tr><tr bgcolor=\"\"> <th>FMEL_UPD_D</th> <td>20170208135432</td> </tr></table></center>"
},
"geometry": {
"type": "Point",
"coordinates": [
103.916560000004,
1.39537000000278,
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>ID</th> <td>128</td> </tr><tr bgcolor=\"\"> <th>ROAD_NAME</th> <td>Sengkang East Drive</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>DIRECTION</th> <td>Punggol East</td> </tr><tr bgcolor=\"\"> <th>LATITUDE</th> <td>1.381601</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>LONGITUDE</th> <td>103.903325</td> </tr><tr bgcolor=\"\"> <th>DESCP</th> <td>Sengkang East Drive by Sengkang East Avenue</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC</th> <td>C84EABB88A2CCC87</td> </tr><tr bgcolor=\"\"> <th>FMEL_UPD_D</th> <td>20170208135432</td> </tr></table></center>"
},
"geometry": {
"type": "Point",
"coordinates": [
103.903324999996,
1.38160099999845,
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>ID</th> <td>129</td> </tr><tr bgcolor=\"\"> <th>ROAD_NAME</th> <td>Compassvale Drive</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>DIRECTION</th> <td>Rivervale Lane</td> </tr><tr bgcolor=\"\"> <th>LATITUDE</th> <td>1.388908</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>LONGITUDE</th> <td>103.894491</td> </tr><tr bgcolor=\"\"> <th>DESCP</th> <td>Compassvale Drive by Sengkang Central</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC</th> <td>FE8F5D28000B2515</td> </tr><tr bgcolor=\"\"> <th>FMEL_UPD_D</th> <td>20170208135432</td> </tr></table></center>"
},
"geometry": {
"type": "Point",
"coordinates": [
103.894490999998,
1.38890800000021,
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>ID</th> <td>130</td> </tr><tr bgcolor=\"\"> <th>ROAD_NAME</th> <td>Sengkang East Way</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>DIRECTION</th> <td>Compassvale Road</td> </tr><tr bgcolor=\"\"> <th>LATITUDE</th> <td>1.39306</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>LONGITUDE</th> <td>103.89478</td> </tr><tr bgcolor=\"\"> <th>DESCP</th> <td>Sengkang East Way by Sengkang Square</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC</th> <td>82B9FAF9208B6F53</td> </tr><tr bgcolor=\"\"> <th>FMEL_UPD_D</th> <td>20170208135432</td> </tr></table></center>"
},
"geometry": {
"type": "Point",
"coordinates": [
103.894780000002,
1.39305999999673,
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>ID</th> <td>131</td> </tr><tr bgcolor=\"\"> <th>ROAD_NAME</th> <td>Yio Chu Kang Road</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>DIRECTION</th> <td>Serangoon Garden Way</td> </tr><tr bgcolor=\"\"> <th>LATITUDE</th> <td>1.358214</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>LONGITUDE</th> <td>103.874322</td> </tr><tr bgcolor=\"\"> <th>DESCP</th> <td>Yio Chu Kang Road by Yio Chu Kang Link</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC</th> <td>4FFD3A3116AC2EE9</td> </tr><tr bgcolor=\"\"> <th>FMEL_UPD_D</th> <td>20170208135432</td> </tr></table></center>"
},
"geometry": {
"type": "Point",
"coordinates": [
103.874321999997,
1.35821400000322,
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>ID</th> <td>132</td> </tr><tr bgcolor=\"\"> <th>ROAD_NAME</th> <td>Yishun Avenue 3</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>DIRECTION</th> <td>Yishun Avenue 2</td> </tr><tr bgcolor=\"\"> <th>LATITUDE</th> <td>1.423012</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>LONGITUDE</th> <td>103.83144</td> </tr><tr bgcolor=\"\"> <th>DESCP</th> <td>Yishun Avenue 3 by Yishun Ring Road</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC</th> <td>8115A1A36D376562</td> </tr><tr bgcolor=\"\"> <th>FMEL_UPD_D</th> <td>20170208135432</td> </tr></table></center>"
},
"geometry": {
"type": "Point",
"coordinates": [
103.831439999999,
1.42301200000383,
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>ID</th> <td>133</td> </tr><tr bgcolor=\"\"> <th>ROAD_NAME</th> <td>Woodlands Avenue 5</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>DIRECTION</th> <td>Woodlands Avenue 3</td> </tr><tr bgcolor=\"\"> <th>LATITUDE</th> <td>1.438</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>LONGITUDE</th> <td>103.78295</td> </tr><tr bgcolor=\"\"> <th>DESCP</th> <td>Woodlands Avenue 5 by Marsiling Rise</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC</th> <td>E0F3015451CD6863</td> </tr><tr bgcolor=\"\"> <th>FMEL_UPD_D</th> <td>20170208135432</td> </tr></table></center>"
},
"geometry": {
"type": "Point",
"coordinates": [
103.782950000004,
1.43799999999884,
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>ID</th> <td>134</td> </tr><tr bgcolor=\"\"> <th>ROAD_NAME</th> <td>Yio Chu Kang Road</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>DIRECTION</th> <td>Upp Thomson Road</td> </tr><tr bgcolor=\"\"> <th>LATITUDE</th> <td>1.38101</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>LONGITUDE</th> <td>103.83444</td> </tr><tr bgcolor=\"\"> <th>DESCP</th> <td>Yio Chu Kang Road by Ang Mo Kio Avenue 5</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC</th> <td>F49D0BDB9F95FC4B</td> </tr><tr bgcolor=\"\"> <th>FMEL_UPD_D</th> <td>20170208135432</td> </tr></table></center>"
},
"geometry": {
"type": "Point",
"coordinates": [
103.834440000004,
1.38101000000199,
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>ID</th> <td>135</td> </tr><tr bgcolor=\"\"> <th>ROAD_NAME</th> <td>Thomson Road</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>DIRECTION</th> <td>City</td> </tr><tr bgcolor=\"\"> <th>LATITUDE</th> <td>1.33949</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>LONGITUDE</th> <td>103.837426</td> </tr><tr bgcolor=\"\"> <th>DESCP</th> <td>Thomson Road by Marymount Road</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC</th> <td>05B4E7FF583F5EBA</td> </tr><tr bgcolor=\"\"> <th>FMEL_UPD_D</th> <td>20170208135432</td> </tr></table></center>"
},
"geometry": {
"type": "Point",
"coordinates": [
103.837425999999,
1.33948999999889,
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>ID</th> <td>136</td> </tr><tr bgcolor=\"\"> <th>ROAD_NAME</th> <td>Still Road</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>DIRECTION</th> <td>Still Road South</td> </tr><tr bgcolor=\"\"> <th>LATITUDE</th> <td>1.30837</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>LONGITUDE</th> <td>103.90863</td> </tr><tr bgcolor=\"\"> <th>DESCP</th> <td>Still Road by East Coast Road</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC</th> <td>467790A40C4899C7</td> </tr><tr bgcolor=\"\"> <th>FMEL_UPD_D</th> <td>20170208135432</td> </tr></table></center>"
},
"geometry": {
"type": "Point",
"coordinates": [
103.908630000004,
1.30836999999772,
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>ID</th> <td>137</td> </tr><tr bgcolor=\"\"> <th>ROAD_NAME</th> <td>Telok Kurau Road</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>DIRECTION</th> <td>Changi Road</td> </tr><tr bgcolor=\"\"> <th>LATITUDE</th> <td>1.308875</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>LONGITUDE</th> <td>103.912357</td> </tr><tr bgcolor=\"\"> <th>DESCP</th> <td>Telok Kurau Road by East Coast Road</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC</th> <td>AE1647C3C42B3485</td> </tr><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
dataset_id = "d_5f140c79c9dbee0bbb07c753afd788d8"
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.
31 Jul 2023
Free forever for personal or commercial use, under the Open Data Licence.