Secure websites use HTTPS
Scam alert
Waitlist for API key is now open. Register here for higher rate limits, priority support and maintenance notifications. Rate limits will be rolled out from 1 September 2025 onwards.
Liquor Control Zone under Public Order (Additional Temporary Measures) Act 2014 (GEOJSON)
Last updated: 06 Jun 2024, 14:55 SGT
Attribute Legend
Attributes | Data Type | Description |
---|---|---|
Name | Text | - |
Description | Text | - |
Dataset preview
This code can be used to view the raw JSON dataset for Liquor Control Zone under Public Order (Additional Temporary Measures) Act 2014 (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>LIQUOR_CONTROL_ZONE</th> <td>Special Zone</td> </tr><tr bgcolor=\"\"> <th>INC_CRC</th> <td>7A80AEBE5C61990A</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D</th> <td>20150209234630</td> </tr></table></center>"
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
103.848649478524,
1.31069258855609,
0
],
[
103.848923050526,
1.31138534529796,
0
],
[
103.848328363879,
1.31213221536436,
0
],
[
103.849575392632,
1.31288473199114,
0
],
[
103.851466966294,
1.31422887578671,
0
],
[
103.853445481151,
1.31580879945177,
0
],
[
103.853996681055,
1.31598555221579,
0
],
[
103.854244875832,
1.3154904375978,
0
],
[
103.854651249038,
1.31561443789576,
0
],
[
103.85556566782,
1.3150927635943,
0
],
[
103.855759238858,
1.31490121969239,
0
],
[
103.856467053122,
1.31555920065233,
0
],
[
103.857626813372,
1.31465950523299,
0
],
[
103.858989104516,
1.31360269489375,
0
],
[
103.857995582998,
1.31236310973236,
0
],
[
103.859167643267,
1.31134678327157,
0
],
[
103.857503514341,
1.30878513456197,
0
],
[
103.856114265929,
1.30650292406253,
0
],
[
103.855901834502,
1.30601793880587,
0
],
[
103.85599267142,
1.30566975979002,
0
],
[
103.856016160695,
1.30522989507577,
0
],
[
103.855718835915,
1.30475750118571,
0
],
[
103.855351481762,
1.304474659738,
0
],
[
103.85459104116,
1.30427470904277,
0
],
[
103.853986453784,
1.30339448853175,
0
],
[
103.853001753843,
1.30386157304803,
0
],
[
103.852503476278,
1.30399185875278,
0
],
[
103.852044982272,
1.30417348678598,
0
],
[
103.85003071847,
1.30161456473217,
0
],
[
103.850050136583,
1.30308289236653,
0
],
[
103.850174411106,
1.30386236259458,
0
],
[
103.850346484874,
1.30425141919564,
0
],
[
103.848213631129,
1.30572626689886,
0
],
[
103.850349882492,
1.30875980329487,
0
],
[
103.848512229411,
1.31027845250818,
0
],
[
103.848649478524,
1.31069258855609,
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_b44b09cc3d80d65e34c2bde6e80b5b6b"
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.
08 Feb 2015
Free forever for personal or commercial use, under the Open Data Licence.