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 - (50th National Day Parade) - Special Event Area. 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>EVENT_AREA</th> <td></td> </tr><tr bgcolor=\"\"> <th>HYPERLINK</th> <td></td> </tr><tr bgcolor=\"#E3E3F3\"> <th>DESCRIPTIO</th> <td></td> </tr><tr bgcolor=\"\"> <th>INC_CRC</th> <td>BF00411B58F6C4D6</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D</th> <td>20150716161213</td> </tr></table></center>"
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
103.873543160236,
1.28243560973157,
0
],
[
103.873832907225,
1.28216017674972,
0
],
[
103.87147731122,
1.28044823667963,
0
],
[
103.871402184827,
1.28005939771733,
0
],
[
103.871514864842,
1.27999458935347,
0
],
[
103.871772412325,
1.27938972312658,
0
],
[
103.87094071292,
1.27892528764202,
0
],
[
103.870436336473,
1.27926012955249,
0
],
[
103.870141217055,
1.27907111434109,
0
],
[
103.869803179996,
1.27947616096145,
0
],
[
103.86928807154,
1.2797948011366,
0
],
[
103.869003688802,
1.27997842407247,
0
],
[
103.86868174488,
1.28010264136868,
0
],
[
103.868075417054,
1.28033487365251,
0
],
[
103.867388601984,
1.2805131013092,
0
],
[
103.86672861345,
1.280523911156,
0
],
[
103.866422764764,
1.28050231292015,
0
],
[
103.866122281426,
1.28044831123306,
0
],
[
103.865730579208,
1.28031870288079,
0
],
[
103.865274486564,
1.28008108412891,
0
],
[
103.864855953801,
1.27980026036436,
0
],
[
103.864383761833,
1.27937902269748,
0
],
[
103.86428717713,
1.27929261496079,
0
],
[
103.861990592333,
1.27569587058675,
0
],
[
103.859103836374,
1.27755909366351,
0
],
[
103.85827749358,
1.27585792623103,
0
],
[
103.856141936233,
1.27722968782865,
0
],
[
103.854666361774,
1.27822880375237,
0
],
[
103.853206883068,
1.27917931368994,
0
],
[
103.852353731027,
1.279681572058,
0
],
[
103.85203715241,
1.27985439224741,
0
],
[
103.851602528381,
1.28022163332335,
0
],
[
103.851205464561,
1.28058887406263,
0
],
[
103.85108741857,
1.28070228659626,
0
],
[
103.851028395584,
1.2807616931454,
0
],
[
103.850336214754,
1.28115053801349,
0
],
[
103.849531353029,
1.28159878954404,
0
],
[
103.849107458857,
1.28179861284274,
0
],
[
103.848538689877,
1.28215505310897,
0
],
[
103.848291865467,
1.2822954690699,
0
],
[
103.847326030456,
1.28282472922667,
0
],
[
103.846869941726,
1.28310556069112,
0
],
[
103.846108005006,
1.2835700125959,
0
],
[
103.845979227066,
1.28367262383782,
0
],
[
103.844863150099,
1.28433689773569,
0
],
[
103.844090481066,
1.28479054797628,
0
],
[
103.843757804188,
1.28502277333951,
0
],
[
103.843398298684,
1.28533060657389,
0
],
[
103.843017329993,
1.28563843984833,
0
],
[
103.842706116159,
1.28591386945086,
0
],
[
103.842523680631,
1.28612989243185,
0
],
[
103.842394902868,
1.2863621168692,
0
],
[
103.842319782986,
1.28663754557808,
0
],
[
103.842335881226,
1.28689677228308,
0
],
[
103.842405636996,
1.28709119210782,
0
],
[
103.842518319162,
1.28733421679328,
0
],
[
103.842571977261,
1.28742602607501,
0
],
[
103.842673927494,
1.28755563908593,
0
],
[
103.842808072337,
1.28766905029361,
0
],
[
103.84289392496,
1.28771765498908,
0
],
[
103.843146116515,
1.28772305458426,
0
],
[
103.843017338159,
1.28780406344617,
0
],
[
103.842931485944,
1.287863469901,
0
],
[
103.842539784457,
1.28794447972141,
0
],
[
103.84220174084,
1.28805789263333,
0
],
[
103.841869063045,
1.2881929077204,
0
],
[
103.8417080901,
1.28831712107358,
0
],
[
103.841504190918,
1.28844673512401,
0
],
[
103.841353949425,
1.28854934619985,
0
],
[
103.841278828633,
1.28858715033554,
0
],
[
103.841429071375,
1.28887877996644,
0
],
[
103.841531021817,
1.28907319970914,
0
],
[
103.842008579259,
1.28995888955011,
0
],
[
103.842207114604,
1.29036393066801,
0
],
[
103.842351991829,
1.29067176193579,
0
],
[
103.843650520742,
1.29297239440527,
0
],
[
103.843677349904,
1.29302639987061,
0
],
[
103.843097846061,
1.29337203784172,
0
],
[
103.843028090945,
1.29340984201704,
0
],
[
103.843071017855,
1.2935664580086,
0
],
[
103.843097847176,
1.29366366793631,
0
],
[
103.843221261202,
1.29388509030543,
0
],
[
103.843371504289,
1.29412811478937,
0
],
[
103.84343052856,
1.29427392959997,
0
],
[
103.843505650778,
1.29456015883077,
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_97abe0ef8f524435be4e47ef7a9097c5"
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.