Secure websites use HTTPS
Updated 7 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 - National Day Parade (NDP) 2023 Special Zone. 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>NAME</th> <td></td> </tr><tr bgcolor=\"\"> <th>REMARKS</th> <td></td> </tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC</th> <td>FF28782C</td> </tr><tr bgcolor=\"\"> <th>FMEL_UPD_D</th> <td>20230706184516</td> </tr></table></center>"
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
103.868334245097,
1.30310388322815,
0
],
[
103.868317734681,
1.30280478295082,
0
],
[
103.868235185161,
1.30279648203573,
0
],
[
103.868218683674,
1.30314543135155,
0
],
[
103.868012305524,
1.30313712310845,
0
],
[
103.867673857853,
1.30303743061904,
0
],
[
103.867698612774,
1.30237275845843,
0
],
[
103.867583036295,
1.30196288390635,
0
],
[
103.867734376632,
1.30183826038757,
0
],
[
103.867472964885,
1.30132591426913,
0
],
[
103.867225316254,
1.3012843711185,
0
],
[
103.866688743737,
1.30081357512723,
0
],
[
103.86506527014,
1.29935963104095,
0
],
[
103.864349825723,
1.29819647326393,
0
],
[
103.864129688128,
1.2971856313853,
0
],
[
103.864129681266,
1.296617889318,
0
],
[
103.864501145502,
1.29639633348075,
0
],
[
103.864294761693,
1.29513623947348,
0
],
[
103.864721233658,
1.29265203477255,
0
],
[
103.86500736069,
1.28936192518504,
0
],
[
103.864800978154,
1.28890497034297,
0
],
[
103.864236895913,
1.28847571152095,
0
],
[
103.861953057318,
1.28853113071187,
0
],
[
103.861870481274,
1.2860940132583,
0
],
[
103.862640932036,
1.28588629901269,
0
],
[
103.862448295465,
1.28362920566462,
0
],
[
103.861958600798,
1.28202860307832,
0
],
[
103.861463295937,
1.28089035694585,
0
],
[
103.860885442588,
1.27972719633942,
0
],
[
103.859272984192,
1.27740364670526,
0
],
[
103.857179406845,
1.27881178222407,
0
],
[
103.856192578456,
1.27722124855713,
0
],
[
103.85236379026,
1.27966733290231,
0
],
[
103.851043099966,
1.2807709660391,
0
],
[
103.851922311721,
1.28216884562345,
0
],
[
103.853024937602,
1.28479062725216,
0
],
[
103.85304023337,
1.28513304679909,
0
],
[
103.852956139829,
1.28523692279789,
0
],
[
103.852489780863,
1.28539082212846,
0
],
[
103.851476781446,
1.28488297444042,
0
],
[
103.850192383062,
1.28505996750001,
0
],
[
103.849653395962,
1.28536776256299,
0
],
[
103.849080017292,
1.28643734042915,
0
],
[
103.848854488234,
1.28718758482336,
0
],
[
103.848678650719,
1.28833410348629,
0
],
[
103.849248223971,
1.28932673082697,
0
],
[
103.848246704857,
1.29000003655673,
0
],
[
103.848869795867,
1.29105805827177,
0
],
[
103.849531122754,
1.29249313639809,
0
],
[
103.850520997401,
1.29449377472393,
0
],
[
103.851897351714,
1.29600964313235,
0
],
[
103.853112939886,
1.29517474239519,
0
],
[
103.854129769528,
1.29654056014565,
0
],
[
103.85551822523,
1.29539017821895,
0
],
[
103.856229673221,
1.29631995830385,
0
],
[
103.858026754422,
1.29838136295365,
0
],
[
103.858915368383,
1.29742939804582,
0
],
[
103.862498013754,
1.30036220469467,
0
],
[
103.867871984202,
1.30413412372705,
0
],
[
103.868334245097,
1.30310388322815,
0
]
]
]
}
}
]
}
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_da8881d30ee6d0a6176a090819e8eef9"
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.