Secure websites use HTTPS
31 Jul 2023
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_71df24d467aaf553cf69e4449da7b3d5"
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 Amendment to MP2014 Building. 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>OID<\/th> <td>144<\/td> <\/tr><tr bgcolor=\"\"> <th>INC_CRC<\/th> <td>A159B8B7BECC7423<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D<\/th> <td>20171219100233<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 103.823306029842001, 1.45180503779626, 0.0 ], [ 103.823303450824994, 1.45181178614618, 0.0 ], [ 103.823301783922005, 1.4518111503711, 0.0 ], [ 103.823293412449999, 1.45183312546564, 0.0 ], [ 103.823295080251995, 1.45183376124073, 0.0 ], [ 103.823294114244007, 1.45183630521132, 0.0 ], [ 103.823292447341004, 1.45183566943624, 0.0 ], [ 103.823285058951001, 1.45185506619442, 0.0 ], [ 103.823286726752997, 1.45185570196951, 0.0 ], [ 103.823283181728002, 1.45186499338562, 0.0 ], [ 103.823281514824004, 1.45186435761053, 0.0 ], [ 103.823274109360995, 1.45188378963878, 0.0 ], [ 103.823275794235997, 1.45188446068413, 0.0 ], [ 103.823274829127001, 1.45188696848017, 0.0 ], [ 103.823273144251004, 1.45188633270499, 0.0 ], [ 103.823264790752006, 1.45190827343368, 0.0 ], [ 103.823266475626994, 1.4519089083045, 0.0 ], [ 103.823263896610001, 1.45191569192455, 0.0 ], [ 103.823266178156004, 1.45191657549804, 0.0 ], [ 103.823263299001994, 1.45192413506074, 0.0 ], [ 103.823277779945997, 1.45192975031938, 0.0 ], [ 103.823272322674001, 1.45194409350217, 0.0 ], [ 103.823256385098006, 1.45193798445441, 0.0 ], [ 103.823255753373999, 1.4519396448632, 0.0 ], [ 103.823253208538006, 1.45193869255688, 0.0 ], [ 103.823247751265001, 1.45195303573961, 0.0 ], [ 103.823250278128995, 1.45195402512475, 0.0 ], [ 103.823246118453, 1.45196497694968, 0.0 ], [ 103.823243591589005, 1.45196398846888, 0.0 ], [ 103.823238134316, 1.45197833255594, 0.0 ], [ 103.823240644105994, 1.45197932194102, 0.0 ], [ 103.823240012382001, 1.45198098144546, 0.0 ], [ 103.823255931087004, 1.45198712576342, 0.0 ], [ 103.823250473813999, 1.45200150602506, 0.0 ], [ 103.823236010841001, 1.45199592603649, 0.0 ], [ 103.823232800100001, 1.45200437006528, 0.0 ], [ 103.823231326395003, 1.45200380483139, 0.0 ], [ 103.823229079864007, 1.45200974015981, 0.0 ], [ 103.823226552101005, 1.45200875167899, 0.0 ], [ 103.823218181526997, 1.45203069150303, 0.0 ], [ 103.823220708391005, 1.45203167998384, 0.0 ], [ 103.823219743281996, 1.45203422485876, 0.0 ], [ 103.823217215518994, 1.45203323547357, 0.0 ], [ 103.823209828025995, 1.45205266659729, 0.0 ], [ 103.823212337816997, 1.45205365598241, 0.0 ], [ 103.823211373606, 1.4520561637784, 0.0 ], [ 103.823210530718995, 1.45205584634297, 0.0 ], [ 103.823207967876002, 1.45206259469285, 0.0 ], [ 103.823206300972998, 1.45206192364751, 0.0 ], [ 103.823198895508, 1.45208135477111, 0.0 ], [ 103.823200562411003, 1.45208202581645, 0.0 ], [ 103.823199597301993, 1.45208456978698, 0.0 ], [ 103.823197930397995, 1.45208389874164, 0.0 ], [ 103.823189558924994, 1.45210587383573, 0.0 ], [ 103.823191226727005, 1.4521065096109, 0.0 ], [ 103.823188664783004, 1.45211325705638, 0.0 ], [ 103.823190999347005, 1.45211414063019, 0.0 ], [ 103.823188086044993, 1.45212177254172, 0.0 ], [ 103.823202548119994, 1.45212735072185, 0.0 ], [ 103.823197090845994, 1.45214169571315, 0.0 ], [ 103.823181154167997, 1.45213555049031, 0.0 ], [ 103.823180504472006, 1.45213724707355, 0.0 ], [ 103.823177994681004, 1.4521362576884, 0.0 ], [ 103.823175414765004, 1.45214304130833, 0.0 ], [ 103.823177942528005, 1.45214399451902, 0.0 ], [ 103.823173449465003, 1.45215579553972, 0.0 ], [ 103.823170922600994, 1.45215484142467, 0.0 ], [ 103.823169624106001, 1.45215823278241, 0.0 ], [ 103.823168799190995, 1.45215791534704, 0.0 ], [ 103.823165272137004, 1.45216717239719, 0.0 ], [ 103.823166097051995, 1.4521674889282, 0.0 ], [ 103.823159902016997, 1.45218377648914, 0.0 ], [ 103.823159077102005, 1.45218345905377, 0.0 ], [ 103.823155303828003, 1.45219338623624, 0.0 ], [ 103.823154637054998, 1.45219578912738, 0.0 ], [ 103.823154427668996, 1.45219826256096, 0.0 ], [ 103.823154655902997, 1.45220073509217, 0.0 ], [ 103.823155322654998, 1.45220313708498, 0.0 ], [ 103.823156427925994, 1.45220536272888, 0.0 ], [ 103.823157919595999, 1.45220737584908, 0.0 ], [ 103.823159745547997, 1.45220903626898, 0.0 ], [ 103.823161816818995, 1.45221034308381, 0.0 ], [ 103.823162220295004, 1.45220956623727, 0.0 ], [ 103.823163396563004, 1.45221006002514, 0.0 ], [ 103.823173874244006, 1.45221408629943, 0.0 ], [ 103.823159413770995, 1.45225210115917, 0.0 ], [ 103.823160221612994, 1.45225241949883, 0.0 ], [ 103.823159572814006, 1.45225411517769, 0.0 ], [ 103.823160854218997, 1.4522546098704, 0.0 ], [ 103.823151535606996, 1.45227909276037, 0.0 ], [ 103.823131176016005, 1.45227125364404, 0.0 ], [ 103.823130122861997, 1.452269663768, 0.0 ], [ 103.823128736325003, 1.45226835695626, 0.0 ], [ 103.823127120642994, 1.4522673675751, 0.0 ], [ 103.823125382750007, 1.45226659162322, 0.0 ], [ 103.823123557692, 1.4522661321982, 0.0 ], [ 103.823121679614005, 1.45226595583875, 0.0 ], [ 103.823119801535, 1.45226616835566, 0.0 ], [ 103.823119275855007, 1.45226585001728, 0.0 ], [ 103.823118941572005, 1.45226645051321, 0.0 ], [ 103.823117731151996, 1.45226722826042, 0.0 ], [ 103.823116976319994, 1.45226846452208, 0.0 ], [ 103.823116958341998, 1.45226991331253, 0.0 ], [ 103.823110114535993, 1.45228185540311, 0.0 ], [ 103.823111676302005, 1.45228277333931, 0.0 ], [ 103.823111589137, 1.452282915324, 0.0 ], [ 103.823110939420999, 1.45228884975519, 0.0 ], [ 103.823100462537994, 1.45230718748879, 0.0 ], [ 103.823102024304006, 1.45230810452061, 0.0 ], [ 103.823101919167001, 1.45230828087105, 0.0 ], [ 103.823101849956004, 1.45231241562124, 0.0 ], [ 103.823091776547997, 1.45232997469956, 0.0 ], [ 103.823093338313996, 1.45233089263576, 0.0 ], [ 103.823093251149004, 1.45233103462046, 0.0 ], [ 103.823091723478001, 1.45234156231049, 0.0 ], [ 103.823089529986007, 1.4523427632954, 0.0 ], [ 103.823088899156005, 1.45234516618668, 0.0 ], [ 103.823090022398006, 1.45234742710087, 0.0 ], [ 103.823091882496996, 1.45234915806133, 0.0 ], [ 103.823094111922998, 1.45235039343222, 0.0 ], [ 103.823096533652006, 1.45235117029161, 0.0 ], [ 103.823099061418006, 1.45235138282859, 0.0 ], [ 103.823101535272002, 1.4523508519784, 0.0 ], [ 103.823139763533007, 1.45236557790518, 0.0 ], [ 103.823140641476996, 1.45236328082556, 0.0 ], [ 103.823148170850999, 1.45236617663205, 0.0 ], [ 103.823153874344996, 1.45235119587439, 0.0 ], [ 103.823168144120004, 1.45235670532223, 0.0 ], [ 103.823161405424997, 1.45237440549667, 0.0 ], [ 103.8231630903, 1.45237507744648, 0.0 ], [ 103.823162615832999, 1.45237634897959, 0.0 ], [ 103.823174340771999, 1.45238090431226, 0.0 ], [ 103.823174832313001, 1.45237959750903, 0.0 ], [ 103.823184239761005, 1.45238323399772, 0.0 ], [ 103.823184713329994, 1.45238199773477, 0.0 ], [ 103.823196280115994, 1.45238644725606, 0.0 ], [ 103.823195315006004, 1.45238899032222, 0.0 ], [ 103.823207057017996, 1.45239351038461, 0.0 ], [ 103.823208023026993, 1.45239096731845, 0.0 ], [ 103.823209742947995, 1.45239160309383, 0.0 ], [ 103.823215990102995, 1.4523751391821, 0.0 ], [ 103.823230259878002, 1.45238064772521, 0.0 ], [ 103.823224556385, 1.4523956275787, 0.0 ], [ 103.823232085757994, 1.45239855865508, 0.0 ], [ 103.823231207814004, 1.4524008548304, 0.0 ], [ 103.823269857520003, 1.45241575710776, 0.0 ], [ 103.823270892702993, 1.4524173460793, 0.0 ], [ 103.823272297212, 1.4524186537954, 0.0 ], [ 103.823273911995003, 1.45241964317643, 0.0 ], [ 103.823275648990005, 1.45242041912822, 0.0 ], [ 103.823277492019997, 1.45242087855319, 0.0 ], [ 103.823279388070006, 1.45242105491259, 0.0 ], [ 103.823281265250998, 1.45242084239553, 0.0 ], [ 103.823281897865002, 1.45242123037035, 0.0 ], [ 103.823282336386001, 1.45242048879415, 0.0 ], [ 103.823283371578995, 1.45241971195042, 0.0 ], [ 103.823284021272997, 1.45241861676898, 0.0 ], [ 103.823284126415004, 1.45241734432981, 0.0 ], [ 103.823291094229006, 1.45240522588835, 0.0 ], [ 103.82328951449, 1.45240430704785, 0.0 ], [ 103.823289601655006, 1.45240416596752, 0.0 ], [ 103.823290671923004, 1.45239685328799, 0.0 ], [ 103.823301377050996, 1.45237819812289, 0.0 ], [ 103.823299797312998, 1.45237728018675, 0.0 ], [ 103.823299903348001, 1.45237710293195, 0.0 ], [ 103.823299990530998, 1.45237293472038, 0.0 ], [ 103.823310046863995, 1.45235541091123, 0.0 ], [ 103.823308484199003, 1.45235449207081, 0.0 ], [ 103.823308572261993, 1.45235435099048, 0.0 ], [ 103.823309536501995, 1.4523453417243, 0.0 ], [ 103.823311572739996, 1.45234396438759, 0.0 ], [ 103.823311976222996, 1.45234156149522, 0.0 ], [ 103.823310782888996, 1.45233937202554, 0.0 ], [ 103.823308904818006, 1.45233771160554, 0.0 ], [ 103.823306710438004, 1.45233651060085, 0.0 ], [ 103.823304305782003, 1.45233576901194, 0.0 ], [ 103.823301831033007, 1.45233559264997, 0.0 ], [ 103.823299409298002, 1.45233612350062, 0.0 ], [ 103.823279891696004, 1.4523285656465, 0.0 ], [ 103.823299528174005, 1.45227705499067, 0.0 ], [ 103.823319695463994, 1.45228482356425, 0.0 ], [ 103.823320713572997, 1.45228641344005, 0.0 ], [ 103.823322083036999, 1.45228768498141, 0.0 ], [ 103.823323679848002, 1.45228870963252, 0.0 ], [ 103.823325400667997, 1.452289450314, 0.0 ], [ 103.823327225726004, 1.45228998027923, 0.0 ], [ 103.823329103803999, 1.45229015663849, 0.0 ], [ 103.823330980983997, 1.45228997939157, 0.0 ], [ 103.823331718733996, 1.45229043881159, 0.0 ], [ 103.823332227346995, 1.45228955525059, 0.0 ], [ 103.823333227494004, 1.45228877840668, 0.0 ], [ 103.823333877188006, 1.45228771849539, 0.0 ], [ 103.823333965255998, 1.45228648223072, 0.0 ], [ 103.823340932171007, 1.45227429234434, 0.0 ], [ 103.823339352432995, 1.45227340967841, 0.0 ], [ 103.82333945757, 1.45227323332798, 0.0 ], [ 103.823340