Secure websites use HTTPS
23 Mar 2020
Free forever for personal or commercial use, under the Open Data Licence.
This dataset can be reused and cited in research publications.
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_9bf8620ecfdc8a5f8f77e3f02160af5c"
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)
Attribute Legend
Attributes | Data Type | Description |
---|---|---|
Name | Text | - |
Description | Text | - |
Dataset preview
This code can be used to view the raw JSON dataset for Capacity of URA Parking Places (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>PP_CODE</th> <td>T0094</td> </tr><tr bgcolor=\"\"> <th>PARKING_PL</th> <td>Tuas Lane</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>NO_CAR</th> <td>15</td> </tr><tr bgcolor=\"\"> <th>NO_H_VEHIC</th> <td>0</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>NO_MCYCLE</th> <td>0</td> </tr><tr bgcolor=\"\"> <th>INC_CRC</th> <td>C180B4834D0C9722</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D</th> <td>20220210124746</td> </tr></table></center>"
},
"geometry": {
"type": "Point",
"coordinates": [
103.641867330666,
1.32860240263882,
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>PP_CODE</th> <td>T0100</td> </tr><tr bgcolor=\"\"> <th>PARKING_PL</th> <td>Telok Blangah Street 31</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>NO_CAR</th> <td>0</td> </tr><tr bgcolor=\"\"> <th>NO_H_VEHIC</th> <td>8</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>NO_MCYCLE</th> <td>0</td> </tr><tr bgcolor=\"\"> <th>INC_CRC</th> <td>BC39AEF57131476B</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D</th> <td>20220210124746</td> </tr></table></center>"
},
"geometry": {
"type": "Point",
"coordinates": [
103.805755765597,
1.27291418414554,
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>PP_CODE</th> <td>T0109</td> </tr><tr bgcolor=\"\"> <th>PARKING_PL</th> <td>Telok Blangah Drive Heavy Vehicle Park </td> </tr><tr bgcolor=\"#E3E3F3\"> <th>NO_CAR</th> <td>0</td> </tr><tr bgcolor=\"\"> <th>NO_H_VEHIC</th> <td>55</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>NO_MCYCLE</th> <td>18</td> </tr><tr bgcolor=\"\"> <th>INC_CRC</th> <td>8E52ED6C8D79CB4C</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D</th> <td>20220210124746</td> </tr></table></center>"
},
"geometry": {
"type": "Point",
"coordinates": [
103.805256977998,
1.27414106816339,
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>PP_CODE</th> <td>T0129</td> </tr><tr bgcolor=\"\"> <th>PARKING_PL</th> <td>Tanjong Katong Complex </td> </tr><tr bgcolor=\"#E3E3F3\"> <th>NO_CAR</th> <td>378</td> </tr><tr bgcolor=\"\"> <th>NO_H_VEHIC</th> <td>11</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>NO_MCYCLE</th> <td>72</td> </tr><tr bgcolor=\"\"> <th>INC_CRC</th> <td>4FF8E98DF952F1AB</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D</th> <td>20220210124746</td> </tr></table></center>"
},
"geometry": {
"type": "Point",
"coordinates": [
103.895551666932,
1.31663094828204,
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>PP_CODE</th> <td>T0130</td> </tr><tr bgcolor=\"\"> <th>PARKING_PL</th> <td>Toa Payoh West</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>NO_CAR</th> <td>60</td> </tr><tr bgcolor=\"\"> <th>NO_H_VEHIC</th> <td>0</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>NO_MCYCLE</th> <td>6</td> </tr><tr bgcolor=\"\"> <th>INC_CRC</th> <td>9AD25588980954DE</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D</th> <td>20220210124746</td> </tr></table></center>"
},
"geometry": {
"type": "Point",
"coordinates": [
103.842700460439,
1.33518985677788,
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>PP_CODE</th> <td>L0047</td> </tr><tr bgcolor=\"\"> <th>PARKING_PL</th> <td>Lorong 35 Geylang</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>NO_CAR</th> <td>14</td> </tr><tr bgcolor=\"\"> <th>NO_H_VEHIC</th> <td>0</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>NO_MCYCLE</th> <td>3</td> </tr><tr bgcolor=\"\"> <th>INC_CRC</th> <td>D408D344599D86CA</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D</th> <td>20220210124746</td> </tr></table></center>"
},
"geometry": {
"type": "Point",
"coordinates": [
103.888690639279,
1.31601545335659,
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>PP_CODE</th> <td>L0048</td> </tr><tr bgcolor=\"\"> <th>PARKING_PL</th> <td>Lorong 36 Geylang</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>NO_CAR</th> <td>14</td> </tr><tr bgcolor=\"\"> <th>NO_H_VEHIC</th> <td>0</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>NO_MCYCLE</th> <td>0</td> </tr><tr bgcolor=\"\"> <th>INC_CRC</th> <td>D2D60E59568D6920</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D</th> <td>20220210124746</td> </tr></table></center>"
},
"geometry": {
"type": "Point",
"coordinates": [
103.88859732395,
1.31245965788811,
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>PP_CODE</th> <td>L0049</td> </tr><tr bgcolor=\"\"> <th>PARKING_PL</th> <td>Lorong 37 Geylang</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>NO_CAR</th> <td>14</td> </tr><tr bgcolor=\"\"> <th>NO_H_VEHIC</th> <td>0</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>NO_MCYCLE</th> <td>3</td> </tr><tr bgcolor=\"\"> <th>INC_CRC</th> <td>A4776B2C6A5CBD27</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D</th> <td>20220210124746</td> </tr></table></center>"
},
"geometry": {
"type": "Point",
"coordinates": [
103.889759005993,
1.31482939082222,
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>PP_CODE</th> <td>L0050</td> </tr><tr bgcolor=\"\"> <th>PARKING_PL</th> <td>Lorong 38 Geylang</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>NO_CAR</th> <td>5</td> </tr><tr bgcolor=\"\"> <th>NO_H_VEHIC</th> <td>0</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>NO_MCYCLE</th> <td>0</td> </tr><tr bgcolor=\"\"> <th>INC_CRC</th> <td>3E0E059AD0DB3109</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D</th> <td>20220210124746</td> </tr></table></center>"
},
"geometry": {
"type": "Point",
"coordinates": [
103.888986555073,
1.31349160300422,
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>PP_CODE</th> <td>L0051</td> </tr><tr bgcolor=\"\"> <th>PARKING_PL</th> <td>Lorong 39 Geylang</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>NO_CAR</th> <td>19</td> </tr><tr bgcolor=\"\"> <th>NO_H_VEHIC</th> <td>0</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>NO_MCYCLE</th> <td>0</td> </tr><tr bgcolor=\"\"> <th>INC_CRC</th> <td>97684E2338212405</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D</th> <td>20220210124746</td> </tr></table></center>"
},
"geometry": {
"type": "Point",
"coordinates": [
103.890680994236,
1.31599834546624,
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>PP_CODE</th> <td>L0052</td> </tr><tr bgcolor=\"\"> <th>PARKING_PL</th> <td>Lorong 40 Geylang</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>NO_CAR</th> <td>21</td> </tr><tr bgcolor=\"\"> <th>NO_H_VEHIC</th> <td>0</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>NO_MCYCLE</th> <td>0</td> </tr><tr bgcolor=\"\"> <th>INC_CRC</th> <td>3A80BF21D18518B1</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D</th> <td>20220210124746</td> </tr></table></center>"
},
"geometry": {
"type": "Point",
"coordinates": [
103.889724048605,
1.31413931466157,
0
]
}
},
{
"type": "Feature",
"properties": {
"Name": "kml_12",
"Description": "<center><table><tr><th colspan='2' align='center'><em>Attributes</em></th></tr><tr bgcolor=\"#E3E3F3\"> <th>PP_CODE</th> <td>L0053</td> </tr><tr bgcolor=\"\"> <th>PARKING_PL</th> <td>Lorong 41 Geylang</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>NO_CAR</th> <td>45</td> </tr><tr bgcolor=\"\"> <th>NO_H_VEHIC</th> <td>0</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>NO_MCYCLE</th> <td>4</td> </tr><tr bgcolor=\"\"> <th>INC_CRC</th> <td>711764FC7CF560EA</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D</th> <td>20220210124746</td> </tr></table></center>"
},
"geometry": {
"type": "Point",
"coordinates": [
103.891380046668,
1.31573094848618,
0
]
}
},
{
"type": "Fea