Secure websites use HTTPS
05 Jun 2019
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_9e363d0eb7910dc7f53c44e4fe654586"
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 HDB Cycling Paths Under-Construction (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>NAME<\/th> <td>HDB Cycling Path Works<\/td> <\/tr><tr bgcolor=\"\"> <th>DESCRIPTION<\/th> <td>Mount Vernon Road<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>STATUS<\/th> <td>Under Construction<\/td> <\/tr><tr bgcolor=\"\"> <th>CNSTRN_CMCMNT<\/th> <td>20190723<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>ESTMT_CNSTRN_CMPLTN<\/th> <td>3Q 2021<\/td> <\/tr><tr bgcolor=\"\"> <th>IMPLMT_ORG<\/th> <td>HDB<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>QSM_CONTACT<\/th> <td>QSM@mailbox.hdb.gov.sg<\/td> <\/tr><tr bgcolor=\"\"> <th>CTRCTR_NAME<\/th> <td>HS E&C Pte Ltd<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>CTRCTR_CNTCT<\/th> <td>98211133<\/td> <\/tr><tr bgcolor=\"\"> <th>LAST_UPDATED<\/th> <td>20191016<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC<\/th> <td>1051312444C74750<\/td> <\/tr><tr bgcolor=\"\"> <th>FMEL_UPD_D<\/th> <td>20191209160216<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 103.880690596679003, 1.34144975763461, 0.0 ], [ 103.880694203548998, 1.34145245437836, 0.0 ], [ 103.880697812215999, 1.34145514931336, 0.0 ], [ 103.880701419085995, 1.34145784424839, 0.0 ], [ 103.880705025956004, 1.34146053918341, 0.0 ], [ 103.880708634623005, 1.34146323592712, 0.0 ], [ 103.880712241493001, 1.34146593086214, 0.0 ], [ 103.880715848362996, 1.34146862579713, 0.0 ], [ 103.880719455234001, 1.34147132073213, 0.0 ], [ 103.880723062103996, 1.34147401747585, 0.0 ], [ 103.880726670770997, 1.34147671241081, 0.0 ], [ 103.880730277641007, 1.34147940734579, 0.0 ], [ 103.880733884511002, 1.34148210228076, 0.0 ], [ 103.880737493178003, 1.34148479902442, 0.0 ], [ 103.880741100047999, 1.34148749395939, 0.0 ], [ 103.880744706919003, 1.34149018889435, 0.0 ], [ 103.880748313788999, 1.34149288382931, 0.0 ], [ 103.880751922456, 1.34149558057295, 0.0 ], [ 103.880755529325995, 1.34149827550788, 0.0 ], [ 103.880759136196005, 1.34150097044282, 0.0 ], [ 103.880762743066001, 1.34150366537775, 0.0 ], [ 103.880766351733996, 1.34150636212137, 0.0 ], [ 103.880769958604006, 1.34150905705629, 0.0 ], [ 103.880773565474001, 1.34151175199119, 0.0 ], [ 103.880777174141002, 1.34151444692607, 0.0 ], [ 103.880780781012007, 1.3415171436697, 0.0 ], [ 103.880784387882002, 1.3415198386046, 0.0 ], [ 103.880787994751998, 1.34152253353949, 0.0 ], [ 103.880791603418999, 1.34152522847435, 0.0 ], [ 103.880795210290003, 1.34152792521794, 0.0 ], [ 103.880798817159999, 1.34153062015282, 0.0 ], [ 103.880802425827, 1.34153331508765, 0.0 ], [ 103.880806032698004, 1.34153601183124, 0.0 ], [ 103.880809639568, 1.3415387067661, 0.0 ], [ 103.880813246437995, 1.34154140170096, 0.0 ], [ 103.880816855106005, 1.34154409663576, 0.0 ], [ 103.880820461976001, 1.34154679337932, 0.0 ], [ 103.880824068845996, 1.34154948831416, 0.0 ], [ 103.880827675717001, 1.34155218324899, 0.0 ], [ 103.880831284384001, 1.34155487818378, 0.0 ], [ 103.880834891253997, 1.34155757492733, 0.0 ], [ 103.880838498125001, 1.34156026986213, 0.0 ], [ 103.880840827219004, 1.34156173669533, 0.0 ], [ 103.880842106792002, 1.3415629647969, 0.0 ], [ 103.880845713661998, 1.3415656597317, 0.0 ], [ 103.880849320533002, 1.34156835647523, 0.0 ], [ 103.880852927402998, 1.34157105141002, 0.0 ], [ 103.880856536070993, 1.34157374634475, 0.0 ], [ 103.880858798673998, 1.34157530180693, 0.0 ], [ 103.880860142941003, 1.34157644308826, 0.0 ], [ 103.880863749810999, 1.34157913802303, 0.0 ], [ 103.880867358478994, 1.34158183295777, 0.0 ], [ 103.880870965349004, 1.34158452789253, 0.0 ], [ 103.880874572219994, 1.34158722463601, 0.0 ], [ 103.880878179090004, 1.34158991957075, 0.0 ], [ 103.880881785960995, 1.34159261450549, 0.0 ], [ 103.880885394627995, 1.3415953094402, 0.0 ], [ 103.880889001499, 1.34159800618366, 0.0 ], [ 103.880892608368995, 1.34160070111839, 0.0 ], [ 103.880896217037005, 1.34160339605306, 0.0 ], [ 103.880899823907001, 1.34160609098778, 0.0 ], [ 103.880903430778005, 1.34160878773121, 0.0 ], [ 103.880907037648001, 1.34161148266592, 0.0 ], [ 103.880910646315996, 1.34161417760059, 0.0 ], [ 103.880914253186006, 1.34161687253528, 0.0 ], [ 103.880917860056996, 1.34161956927868, 0.0 ], [ 103.880921468723997, 1.34162226421333, 0.0 ], [ 103.880925075595002, 1.341624959148, 0.0 ], [ 103.880928682464997, 1.34162765408268, 0.0 ], [ 103.880932289336002, 1.34163035082607, 0.0 ], [ 103.880935898003997, 1.34163304576069, 0.0 ], [ 103.880939504873993, 1.34163574069533, 0.0 ], [ 103.880943111744998, 1.34163843562998, 0.0 ], [ 103.880946718614993, 1.34164113237335, 0.0 ], [ 103.880950327283003, 1.34164382730795, 0.0 ], [ 103.880953934153993, 1.34164652224259, 0.0 ], [ 103.880957541024003, 1.34164921717719, 0.0 ], [ 103.880961149691998, 1.34165191392051, 0.0 ], [ 103.880964756563003, 1.34165460885512, 0.0 ], [ 103.880968363432999, 1.34165730378973, 0.0 ], [ 103.880971970304003, 1.34165999872433, 0.0 ], [ 103.880975577173999, 1.34166269546766, 0.0 ], [ 103.880979185841994, 1.3416653904022, 0.0 ], [ 103.880982792712999, 1.34166808533678, 0.0 ], [ 103.880986399582994, 1.34167078027137, 0.0 ], [ 103.880990008251004, 1.34167347520591, 0.0 ], [ 103.880993615121994, 1.3416761719492, 0.0 ], [ 103.880997221992999, 1.34167886688375, 0.0 ], [ 103.880998077429993, 1.34167930096179, 0.0 ], [ 103.881000828862994, 1.34168156181831, 0.0 ], [ 103.881004437531004, 1.34168425675282, 0.0 ], [ 103.881008044401995, 1.3416869534961, 0.0 ], [ 103.881011651272999, 1.34168964843064, 0.0 ], [ 103.88101525994, 1.34169234336514, 0.0 ], [ 103.881016048885996, 1.34169286607215, 0.0 ], [ 103.881018866811004, 1.34169503829965, 0.0 ], [ 103.881022473681995, 1.3416977350429, 0.0 ], [ 103.881026080552999, 1.34170042997742, 0.0 ], [ 103.88102968922, 1.34170312491189, 0.0 ], [ 103.881033296091005, 1.3417058198464, 0.0 ], [ 103.881036902961995, 1.34170851658963, 0.0 ], [ 103.881040509832999, 1.34171121152411, 0.0 ], [ 103.881044118500995, 1.34171390645856, 0.0 ], [ 103.881047725371005, 1.34171660139305, 0.0 ], [ 103.881051332241995, 1.34171929813625, 0.0 ], [ 103.881054940910005, 1.34172199307069, 0.0 ], [ 103.881058547780995, 1.34172468800514, 0.0 ], [ 103.881058596304001, 1.34172472779621, 0.0 ], [ 103.881062129495007, 1.34172752040345, 0.0 ], [ 103.881065662685998, 1.34173031481941, 0.0 ], [ 103.881069195875995, 1.34173310742663, 0.0 ], [ 103.881069963255001, 1.34173356140238, 0.0 ], [ 103.881072729067, 1.34173590003385, 0.0 ], [ 103.881072775793001, 1.34173594344241, 0.0 ], [ 103.881076062784004, 1.341739025451, 0.0 ], [ 103.881079351573007, 1.34174210565082, 0.0 ], [ 103.881082640361001, 1.34174518765937, 0.0 ], [ 103.881085929148995, 1.34174826785917, 0.0 ], [ 103.881087906024007, 1.34175051245225, 0.0 ], [ 103.881090887509998, 1.34175389652445, 0.0 ], [ 103.881093868996999, 1.34175727878791, 0.0 ], [ 103.881096850483999, 1.34176066105138, 0.0 ], [ 103.881099831971, 1.34176404331484, 0.0 ], [ 103.881103399199006, 1.34176129578637, 0.0 ], [ 103.881106966428007, 1.34175854644916, 0.0 ], [ 103.881110533656994, 1.34175579711195, 0.0 ], [ 103.881114100885, 1.34175304777472, 0.0 ], [ 103.881117668114001, 1.34175029843751, 0.0 ], [ 103.881121235343002, 1.34174754910028, 0.0 ], [ 103.881124802570994, 1.34174480157178, 0.0 ], [ 103.881128369799995, 1.34174205223455, 0.0 ], [ 103.881127172891993, 1.34174067400706, 0.0 ], [ 103.881124216564004, 1.34173727003839, 0.0 ], [ 103.881121258440004, 1.34173386606976, 0.0 ], [ 103.881118300314995, 1.34173046210113, 0.0 ], [ 103.88111534219, 1.34172705813249, 0.0 ], [ 103.881112283435996, 1.34172408826062, 0.0 ], [ 103.881109050356997, 1.34172094837171, 0.0 ], [ 103.881105817277998, 1.34171780848282, 0.0 ], [ 103.881102584199994, 1.3417146685939, 0.0 ], [ 103.881099351120994, 1.34171153051371, 0.0 ], [ 103.881096118041995, 1.34170839062479, 0.0 ], [ 103.881095852065002, 1.34170818081752, 0.0 ], [ 103.881092318873996, 1.34170538821033, 0.0 ], [ 103.881088785683005, 1.34170259379441, 0.0 ], [ 103.881085252491999, 1.34169980118722, 0.0 ], [ 103.881083866892993, 1.34169876300435, 0.0 ], [ 103.881080261818994, 1.34169606445243, 0.0 ], [ 103.881076656746004, 1.34169336409178, 0.0 ], [ 103.881073053468995, 1.3416906655398, 0.0 ], [ 103.881069448394996, 1.34168796517914, 0.0 ], [ 103.881065843322006, 1.3416852666272, 0.0 ], [ 103.881062238248006, 1.34168256807526, 0.0 ], [ 103.881058634970998, 1.34167986771455, 0.0 ], [ 103.881055029897993, 1.34167716916258, 0.0 ], [ 103.881051426620999, 1.34167446880185, 0.0 ], [ 103.881047821547, 1.34167177024989, 0.0 ], [ 103.881044216473995, 1.34166907169791, 0.0 ], [ 103.881040611399996, 1.34166637133719, 0.0 ], [ 103.881037008123002, 1.34166367278517, 0.0 ], [ 103.881033403049997, 1.34166097423318, 0.0 ], [ 103.881029797975998, 1.34165827387246, 0.0 ], [ 103.881026194699999, 1.34165557532042, 0.0 ], [ 103.881022589625999, 1.34165287495967, 0.0 ], [ 103.881018986349005, 1.34165017640763, 0.0 ], [ 103.881015381276001, 1.34164747604688, 0.0 ], [ 103.881011776202001, 1.34164477749486, 0.0 ], [ 103.881008171128997, 1.34164207894283, 0.0 ], [ 103.881004567852003, 1.34163937858201, 0.0 ], [ 103.881000962778998, 1.34163668002997, 0.0 ], [ 103.880997357704999, 1.34163398147792, 0.0 ], [ 103.880993754428999, 1.34163128111711, 0.0 ], [ 103.880990149355, 1.34162858256505, 0.0 ], [ 103.880986544281001, 1.34162588220425, 0.0 ], [ 103.880982939207996, 1.34162318365218, 0.0 ], [ 103.880979335931002, 1.34162048510007, 0.0 ], [ 103.880975730857998, 1.34161778473926, 0.0 ], [ 103.880972127581998, 1.34161508618714, 0.0 ], [ 103.880968522507999, 1.3416123858263, 0.0 ], [ 103.880964917434994, 1.3416096872742, 0.0 ], [ 103.880961312360995, 1.3416069887221, 0.0 ], [ 103.880957709084996, 1.34160428836123, 0.0 ], [ 103.8