Secure websites use HTTPS
Scam alert
Attribute Legend
| Attributes | Data Type | Description |
|---|---|---|
| Name | Text | - |
| Description | Text | - |
Dataset preview
This code can be used to view the raw JSON dataset for Lighting Waste Collection Points (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>PHOTOURL</th> <td></td> </tr><tr bgcolor=\"\"> <th>LANDXADDRESSPOINT</th> <td></td> </tr><tr bgcolor=\"#E3E3F3\"> <th>ADDRESSPOSTALCODE</th> <td>455871</td> </tr><tr bgcolor=\"\"> <th>DESCRIPTION</th> <td>Recycle your old lightbulbs and florescent tubes. Opens Mon 11:30am to 7:30pm, Tue to Sun 11:30am to 8pm</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>ADDRESSBUILDINGNAME</th> <td>Three Cubes</td> </tr><tr bgcolor=\"\"> <th>ADDRESSUNITNUMBER</th> <td>#01-06</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>LANDYADDRESSPOINT</th> <td></td> </tr><tr bgcolor=\"\"> <th>ADDRESSBLOCKHOUSENUMBER</th> <td>55</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>HYPERLINK</th> <td></td> </tr><tr bgcolor=\"\"> <th>ADDRESSFLOORNUMBER</th> <td></td> </tr><tr bgcolor=\"#E3E3F3\"> <th>NAME</th> <td>Lightbulb/Lamp Recycling Points</td> </tr><tr bgcolor=\"\"> <th>ACCESSRESTRICTION</th> <td></td> </tr><tr bgcolor=\"#E3E3F3\"> <th>ADDRESSSTREETNAME</th> <td>Siglap Road</td> </tr><tr bgcolor=\"\"> <th>INC_CRC</th> <td>2485B751C8B77474</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D</th> <td>20190930163217</td> </tr></table></center>"
},
"geometry": {
"type": "Point",
"coordinates": [
103.923168090089,
1.3126056503473,
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>PHOTOURL</th> <td></td> </tr><tr bgcolor=\"\"> <th>LANDXADDRESSPOINT</th> <td></td> </tr><tr bgcolor=\"#E3E3F3\"> <th>ADDRESSPOSTALCODE</th> <td>159965</td> </tr><tr bgcolor=\"\"> <th>DESCRIPTION</th> <td>Recycle your old lightbulbs and florescent tubes. Opens 10am to 11pm daily</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>ADDRESSBUILDINGNAME</th> <td>IKEA</td> </tr><tr bgcolor=\"\"> <th>ADDRESSUNITNUMBER</th> <td></td> </tr><tr bgcolor=\"#E3E3F3\"> <th>LANDYADDRESSPOINT</th> <td></td> </tr><tr bgcolor=\"\"> <th>ADDRESSBLOCKHOUSENUMBER</th> <td>317</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>HYPERLINK</th> <td></td> </tr><tr bgcolor=\"\"> <th>ADDRESSFLOORNUMBER</th> <td></td> </tr><tr bgcolor=\"#E3E3F3\"> <th>NAME</th> <td>Lightbulb/Lamp Recycling Points</td> </tr><tr bgcolor=\"\"> <th>ACCESSRESTRICTION</th> <td></td> </tr><tr bgcolor=\"#E3E3F3\"> <th>ADDRESSSTREETNAME</th> <td>Alexandra Road</td> </tr><tr bgcolor=\"\"> <th>INC_CRC</th> <td>21A2DB6EFCA07F14</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D</th> <td>20190930163217</td> </tr></table></center>"
},
"geometry": {
"type": "Point",
"coordinates": [
103.805808773108,
1.28797431732068,
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
Adding an API key gives you higher rate limits and priority support. Log in to create your API key.
import requests
dataset_id = "d_6226f69998ed0cb62151af37706508cd"
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.
30 Sep 2019
Free forever for personal or commercial use, under the Open Data Licence.