Secure websites use HTTPS
Getting ready for the upcoming elections? Check out the new electoral boundaries in our interactive elections map.
Updated 4 months ago
NPARKS (National Parks Board)This dataset shows the indicative locations of BBQ Pits maintained by NParks.
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_5e5442d0766b00d2d09fd6f7768362a6"
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.
Attribute Legend
Attributes | Data Type | Description |
---|---|---|
OBJECTID | Numeric | - |
GlobalID | Text | - |
TAG_NUMBER | Numeric | - |
Dataset preview
This code can be used to view the raw JSON dataset for NParks BBQ Pits. Large datasets may be truncated in the preview. Please download the dataset for complete data.
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"id": 1,
"geometry": {
"type": "Point",
"coordinates": [
103.83746196040728,
1.462741829271733
]
},
"properties": {
"OBJECTID": 1,
"GlobalID": "f2b4b715-0a86-ee11-be36-6045bd1fd461",
"TAG_NUMBER": null
}
},
{
"type": "Feature",
"id": 2,
"geometry": {
"type": "Point",
"coordinates": [
103.83765374986761,
1.4627160183725225
]
},
"properties": {
"OBJECTID": 2,
"GlobalID": "862fdf98-0d86-ee11-be36-6045bd1fd731",
"TAG_NUMBER": null
}
},
{
"type": "Feature",
"id": 3,
"geometry": {
"type": "Point",
"coordinates": [
103.83773325845198,
1.4626716139664286
]
},
"properties": {
"OBJECTID": 3,
"GlobalID": "e7b6d1ff-0886-ee11-be36-6045bd1d3454",
"TAG_NUMBER": null
}
},
{
"type": "Feature",
"id": 4,
"geometry": {
"type": "Point",
"coordinates": [
103.83750822047058,
1.4626438413941731
]
},
"properties": {
"OBJECTID": 4,
"GlobalID": "a2a5a1f9-0786-ee11-be36-6045bd1fd7f7",
"TAG_NUMBER": null
}
},
{
"type": "Feature",
"id": 5,
"geometry": {
"type": "Point",
"coordinates": [
103.83730217016056,
1.462683868901407
]
},
"properties": {
"OBJECTID": 5,
"GlobalID": "5f8fea23-0886-ee11-be36-000d3a0975a5",
"TAG_NUMBER": null
}
},
{
"type": "Feature",
"id": 6,
"geometry": {
"type": "Point",
"coordinates": [
103.83722303699584,
1.4626186472453782
]
},
"properties": {
"OBJECTID": 6,
"GlobalID": "997e6136-0986-ee11-be36-000d3aa335c8",
"TAG_NUMBER": null
}
},
{
"type": "Feature",
"id": 7,
"geometry": {
"type": "Point",
"coordinates": [
103.83744070351955,
1.4625441851772112
]
},
"properties": {
"OBJECTID": 7,
"GlobalID": "fa54c379-0c86-ee11-be36-6045bd1d36d9",
"TAG_NUMBER": null
}
},
{
"type": "Feature",
"id": 8,
"geometry": {
"type": "Point",
"coordinates": [
103.83734592573317,
1.4625401157136981
]
},
"properties": {
"OBJECTID": 8,
"GlobalID": "1772867e-0c86-ee11-be36-000d3a097688",
"TAG_NUMBER": null
}
},
{
"type": "Feature",
"id": 9,
"geometry": {
"type": "Point",
"coordinates": [
103.83723135608764,
1.4625007281707694
]
},
"properties": {
"OBJECTID": 9,
"GlobalID": "4aa5a1b9-0a86-ee11-be36-000d3a0975a5",
"TAG_NUMBER": null
}
},
{
"type": "Feature",
"id": 10,
"geometry": {
"type": "Point",
"coordinates": [
103.83713037530774,
1.4625453487386055
]
},
"properties": {
"OBJECTID": 10,
"GlobalID": "29699db5-0c86-ee11-be36-6045bd1d3e66",
"TAG_NUMBER": null
}
},
{
"type": "Feature",
"id": 11,
"geometry": {
"type": "Point",
"coordinates": [
103.76507887268315,
1.2925265715699092
]
},
"properties": {
"OBJECTID": 11,
"GlobalID": "efcfdbff-0b86-ee11-be36-6045bd1d36d9",
"TAG_NUMBER": null
}
},
{
"type": "Feature",
"id": 12,
"geometry": {
"type": "Point",
"coordinates": [
103.7650940169,
1.2924182960698418
]
},
"properties": {
"OBJECTID": 12,
"GlobalID": "5805a516-0d86-ee11-be36-000d3a097d13",
"TAG_NUMBER": null
}
},
{
"type": "Feature",
"id": 13,
"geometry": {
"type": "Point",
"coordinates": [
103.76527815508155,
1.2924171479773279
]
},
"properties": {
"OBJECTID": 13,
"GlobalID": "1a6cec28-0986-ee11-be36-6045bd1fd663",
"TAG_NUMBER": null
}
},
{
"type": "Feature",
"id": 14,
"geometry": {
"type": "Point",
"coordinates": [
103.76539715858401,
1.292257821199722
]
},
"properties": {
"OBJECTID": 14,
"GlobalID": "6638a4a7-0b86-ee11-be36-6045bd1fd731",
"TAG_NUMBER": null
}
},
{
"type": "Feature",
"id": 15,
"geometry": {
"type": "Point",
"coordinates": [
103.76532191186524,
1.2920943661933877
]
},
"properties": {
"OBJECTID": 15,
"GlobalID": "64cb6600-0886-ee11-be36-6045bd1d3454",
"TAG_NUMBER": null
}
},
{
"type": "Feature",
"id": 16,
"geometry": {
"type": "Point",
"coordinates": [
103.76545103864004,
1.292058320806545
]
},
"properties": {
"OBJECTID": 16,
"GlobalID": "e41e3797-0d86-ee11-be36-6045bd1fd7f7",
"TAG_NUMBER": null
}
},
{
"type": "Feature",
"id": 17,
"geometry": {
"type": "Point",
"coordinates": [
103.76558152069539,
1.291875903195157
]
},
"properties": {
"OBJECTID": 17,
"GlobalID": "76405d7c-0986-ee11-be36-6045bd1d397f",
"TAG_NUMBER": null
}
},
{
"type": "Feature",
"id": 18,
"geometry": {
"type": "Point",
"coordinates": [
103.76575150862638,
1.2918740456647444
]
},
"properties": {
"OBJECTID": 18,
"GlobalID": "bf87a1b8-0d86-ee11-be36-6045bd1fd461",
"TAG_NUMBER": null
}
},
{
"type": "Feature",
"id": 19,
"geometry": {
"type": "Point",
"coordinates": [
103.76522643354836,
1.2922700399858502
]
},
"properties": {
"OBJECTID": 19,
"GlobalID": "0428d21e-0d86-ee11-be36-6045bd1fd731",
"TAG_NUMBER": null
}
},
{
"type": "Feature",
"id": 20,
"geometry": {
"type": "Point",
"coordinates": [
103.90482545561785,
1.2976969948292845
]
},
"properties": {
"OBJECTID": 20,
"GlobalID": "967c243a-0a86-ee11-be36-6045bd1fd461",
"TAG_NUMBER": null
}
},
{
"type": "Feature",
"id": 21,
"geometry": {
"type": "Point",
"coordinates": [
103.90500922983446,
1.2977788408779956
]
},
"properties": {
"OBJECTID": 21,
"GlobalID": "5e769c9c-0986-ee11-be36-6045bd1fd731",
"TAG_NUMBER": null
}
},
{
"type": "Feature",
"id": 22,
"geometry": {
"type": "Point",
"coordinates": [
103.90525532269936,
1.2978023590716334
]
},
"properties": {
"OBJECTID": 22,
"GlobalID": "f6a40002-0986-ee11-be36-6045bd1d397f",
"TAG_NUMBER": null
}
},
{
"type": "Feature",
"id": 23,
"geometry": {
"type": "Point",
"coordinates": [
103.90563755301228,
1.297889631901268
]
},
"properties": {
"OBJECTID": 23,
"GlobalID": "d861408d-0b86-ee11-be36-000d3a097d13",
"TAG_NUMBER": null
}
},
{
"type": "Feature",
"id": 24,
"geometry": {
"type": "Point",
"coordinates": [
103.90587853601689,
1.2979812587437907
]
},
"properties": {
"OBJECTID": 24,
"GlobalID": "c8cf5a53-0986-ee11-be36-000d3a0975a5",
"TAG_NUMBER": null
}
},
{
"type": "Feature",
"id": 25,
"geometry": {
"type": "Point",
"coordinates": [
103.90609635241105,
1.2980283137448743
]
},
"properties": {
"OBJECTID": 25,
"GlobalID": "bb9f178d-0886-ee11-be36-6045bd1d36d9",
"TAG_NUMBER": null
}
},
{
"type": "Feature",
"id": 26,
"geometry": {
"type": "Point",
"coordinates": [
103.9070781640627,
1.2982157778826933
]
},
"properties": {
"OBJECTID": 26,
"GlobalID": "89ece2dc-0a86-ee11-be36-6045bd1fd7f7",
"TAG_NUMBER": null
}
},
{
"type": "Feature",
"id": 27,
"geometry": {
"type": "Point",
"coordinates": [
103.90722062213521,
1.2982250533772017
]
},
"properties": {
"OBJECTID": 27,
"GlobalID": "983caf4e-0d86-ee11-be36-6045bd1d3e66",
"TAG_NUMBER": null
}
},
{
"type": "Feature",
"id": 28,
"geometry": {
"type": "Point",
"coordinates": [
103.90730861618694,
1.298275655383261
]
},
"properties": {
"OBJECTID": 28,
"GlobalID": "f6e7e12e-0986-ee11-be36-6045bd1fd731",
"TAG_NUMBER": null
}
},
{
"type": "Feature",
"id": 29,
"geometry": {
"type": "Point",
"coordinates": [
103.90765103710484,
1.2982862878343124
]
},
"properties": {
"OBJECTID": 29,
"GlobalID": "64d3ed0a-0986-ee11-be36-6045bd1fd7f7",
"TAG_NUMBER": null
}
},
{
"type": "Feature",