Secure websites use HTTPS
Updated 6 months ago
HDB (Housing & Development Board)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 Existing 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>BLK_NO<\/th> <td>780C<\/td> <\/tr><tr bgcolor=\"\"> <th>ST_COD<\/th> <td>WOC05L<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>ENTITYID<\/th> <td>1991<\/td> <\/tr><tr bgcolor=\"\"> <th>POSTAL_COD<\/th> <td>733780<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC<\/th> <td>B93627FDFF3D6313<\/td> <\/tr><tr bgcolor=\"\"> <th>FMEL_UPD_D<\/th> <td>20230328181025<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 103.801697204792006, 1.44919018597124, 0.0 ], [ 103.801691666848996, 1.44918060687489, 0.0 ], [ 103.801714863513993, 1.44916702456497, 0.0 ], [ 103.801696048167003, 1.44913447716152, 0.0 ], [ 103.801685882216006, 1.44914042953939, 0.0 ], [ 103.801679214759005, 1.44912889609754, 0.0 ], [ 103.801654116639995, 1.44914359255622, 0.0 ], [ 103.801643453202004, 1.44912514700757, 0.0 ], [ 103.801640931709002, 1.44912662289336, 0.0 ], [ 103.801628072143998, 1.44910437808254, 0.0 ], [ 103.801694765025999, 1.4490653276992, 0.0 ], [ 103.801687175628004, 1.44905219894715, 0.0 ], [ 103.801734135079002, 1.44902470243359, 0.0 ], [ 103.801722139947003, 1.44900395164396, 0.0 ], [ 103.801747064633005, 1.44898935737511, 0.0 ], [ 103.801739761882004, 1.44897672421847, 0.0 ], [ 103.801749968270002, 1.44897074742308, 0.0 ], [ 103.801731564473002, 1.44893891266414, 0.0 ], [ 103.801707701043, 1.44895288565, 0.0 ], [ 103.801702007646, 1.44894303795551, 0.0 ], [ 103.801658252633004, 1.44896865795921, 0.0 ], [ 103.801660659026993, 1.44897281896967, 0.0 ], [ 103.801606497234005, 1.44900453242738, 0.0 ], [ 103.801604201364995, 1.44900056133476, 0.0 ], [ 103.801560405013007, 1.44902620484936, 0.0 ], [ 103.801565729992006, 1.44903541586706, 0.0 ], [ 103.801541587092998, 1.4490495516326, 0.0 ], [ 103.801560539020997, 1.4490823350781, 0.0 ], [ 103.801570694190005, 1.44907638903119, 0.0 ], [ 103.801577601565995, 1.44908833848396, 0.0 ], [ 103.801602315080999, 1.44907386811159, 0.0 ], [ 103.801613958866994, 1.44909401116458, 0.0 ], [ 103.801570698084006, 1.44911934177709, 0.0 ], [ 103.801542757671001, 1.44907100857823, 0.0 ], [ 103.801507711960994, 1.44909152899591, 0.0 ], [ 103.801528743201004, 1.44912791002918, 0.0 ], [ 103.801499613025996, 1.44914496681796, 0.0 ], [ 103.801506315525998, 1.44915656085317, 0.0 ], [ 103.801441362343994, 1.44919459294207, 0.0 ], [ 103.801415757789997, 1.4491822235992, 0.0 ], [ 103.801425856560002, 1.44916104987909, 0.0 ], [ 103.801451641731006, 1.44917350785202, 0.0 ], [ 103.801457606816996, 1.44916100239763, 0.0 ], [ 103.801468733215003, 1.44916637809197, 0.0 ], [ 103.801485137650005, 1.44913198718785, 0.0 ], [ 103.801459787398997, 1.44911973993816, 0.0 ], [ 103.801464303898001, 1.4491102704116, 0.0 ], [ 103.801418635527, 1.44908820781636, 0.0 ], [ 103.801416526449003, 1.44909263012411, 0.0 ], [ 103.801360046189998, 1.44906534286629, 0.0 ], [ 103.801362196604003, 1.44906083374028, 0.0 ], [ 103.801316915529, 1.4490389574474, 0.0 ], [ 103.801311988357, 1.4490492879219, 0.0 ], [ 103.801286973282998, 1.44903720255614, 0.0 ], [ 103.801270774632002, 1.44907116208032, 0.0 ], [ 103.801281240562005, 1.44907621852583, 0.0 ], [ 103.801274835148007, 1.44908964732864, 0.0 ], [ 103.801300679625001, 1.44910213333938, 0.0 ], [ 103.801290613204003, 1.44912323651903, 0.0 ], [ 103.801297167551994, 1.44912640278902, 0.0 ], [ 103.801288060865005, 1.44914549467782, 0.0 ], [ 103.801281068902, 1.44914211678051, 0.0 ], [ 103.801270712223996, 1.44916382949693, 0.0 ], [ 103.801245512937996, 1.44915165550045, 0.0 ], [ 103.801239332180003, 1.44916461313294, 0.0 ], [ 103.801228835697998, 1.44915954131262, 0.0 ], [ 103.801212253331002, 1.44919430752309, 0.0 ], [ 103.801237322321001, 1.44920641821264, 0.0 ], [ 103.801232677317003, 1.44921615633285, 0.0 ], [ 103.801277989846, 1.44923804800208, 0.0 ], [ 103.801279858092002, 1.44923413123025, 0.0 ], [ 103.801308875507004, 1.44924815018228, 0.0 ], [ 103.801347356516004, 1.44916747517228, 0.0 ], [ 103.801423220361997, 1.44920412648528, 0.0 ], [ 103.801419481175003, 1.44921196635969, 0.0 ], [ 103.801381679098995, 1.44919370401073, 0.0 ], [ 103.801371429358994, 1.44921519154263, 0.0 ], [ 103.801367599548001, 1.44921334206483, 0.0 ], [ 103.801365699851004, 1.44921732485483, 0.0 ], [ 103.801346317165994, 1.44920796079953, 0.0 ], [ 103.801340511136999, 1.44922013435445, 0.0 ], [ 103.801337809960998, 1.44921883022385, 0.0 ], [ 103.801320592265995, 1.44925492674485, 0.0 ], [ 103.801345559715998, 1.4492669895005, 0.0 ], [ 103.801343422781002, 1.44927146968704, 0.0 ], [ 103.801368834136994, 1.44928374587855, 0.0 ], [ 103.801374517954002, 1.44927183096979, 0.0 ], [ 103.801430774468997, 1.44929900970053, 0.0 ], [ 103.801425150859998, 1.44931079890375, 0.0 ], [ 103.801449864009996, 1.44932273866122, 0.0 ], [ 103.801452089009999, 1.44931807489003, 0.0 ], [ 103.801478196778007, 1.44933068751342, 0.0 ], [ 103.801493941621999, 1.44929767756308, 0.0 ], [ 103.801490816309993, 1.44929616813615, 0.0 ], [ 103.801497331356003, 1.44928250962595, 0.0 ], [ 103.801477859708996, 1.44927310216105, 0.0 ], [ 103.801479756711004, 1.44926912479711, 0.0 ], [ 103.801475759761999, 1.44926719392441, 0.0 ], [ 103.801485726433995, 1.4492462996505, 0.0 ], [ 103.801433978169001, 1.44922129959677, 0.0 ], [ 103.801435331500997, 1.44921846081884, 0.0 ], [ 103.801514782826004, 1.44917193967467, 0.0 ], [ 103.801525452551999, 1.44919039517198, 0.0 ], [ 103.801521657731001, 1.44919261623518, 0.0 ], [ 103.801534160558006, 1.44921424426562, 0.0 ], [ 103.801510039223999, 1.44922836827432, 0.0 ], [ 103.801516763289996, 1.44923999848434, 0.0 ], [ 103.801506072551007, 1.44924625833755, 0.0 ], [ 103.801525463885, 1.4492798014549, 0.0 ], [ 103.801550877417995, 1.44926492051202, 0.0 ], [ 103.801555603943996, 1.44927309783377, 0.0 ], [ 103.801599318526996, 1.44924750134517, 0.0 ], [ 103.801597149358003, 1.44924375091904, 0.0 ], [ 103.801651973429998, 1.44921164949912, 0.0 ], [ 103.801654141700993, 1.44921540082956, 0.0 ], [ 103.801697204792006, 1.44919018597124, 0.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>BLK_NO<\/th> <td>373<\/td> <\/tr><tr bgcolor=\"\"> <th>ST_COD<\/th> <td>BUS09S<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>ENTITYID<\/th> <td>6782<\/td> <\/tr><tr bgcolor=\"\"> <th>POSTAL_COD<\/th> <td>650373<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC<\/th> <td>49487496978A23EF<\/td> <\/tr><tr bgcolor=\"\"> <th>FMEL_UPD_D<\/th> <td>20130426120311<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 103.750230078900998, 1.3589707561372, 0.0 ], [ 103.750334080361995, 1.3590846597858, 0.0 ], [ 103.750337728381993, 1.35908922694718, 0.0 ], [ 103.750322524167998, 1.35910347918879, 0.0 ], [ 103.750378401187007, 1.35916412682691, 0.0 ], [ 103.750454784368998, 1.35909308358015, 0.0 ], [ 103.750448291576006, 1.35908601213839, 0.0 ], [ 103.750557790602997, 1.35898503379339, 0.0 ], [ 103.750563882649999, 1.3589916810746, 0.0 ], [ 103.750616067601001, 1.35894276947347, 0.0 ], [ 103.750550543043005, 1.35887158115238, 0.0 ], [ 103.750590197983996, 1.35883480205918, 0.0 ], [ 103.750562469287004, 1.35880455919047, 0.0 ], [ 103.750540756567005, 1.35882468685842, 0.0 ], [ 103.750539231683007, 1.35882524660679, 0.0 ], [ 103.750537674453, 1.35882570958716, 0.0 ], [ 103.750536092966001, 1.3588260757998, 0.0 ], [ 103.750534491712997, 1.35882634253178, 0.0 ], [ 103.750532876086993, 1.35882650887892, 0.0 ], [ 103.750531254174007, 1.35882657484151, 0.0 ], [ 103.750529631367002, 1.35882653951537, 0.0 ], [ 103.750528013953996, 1.3588264029007, 0.0 ], [ 103.750526408225994, 1.3588261659021, 0.0 ], [ 103.750524819573002, 1.35882582942411, 0.0 ], [ 103.750523254287998, 1.35882539437131, 0.0 ], [ 103.750521719556005, 1.35882486345704, 0.0 ], [ 103.750520219872001, 1.35882423758582, 0.0 ], [ 103.750518762422999, 1.35882351947099, 0.0 ], [ 103.750517350804998, 1.35882271182575, 0.0 ], [ 103.750515992204001, 1.35882181826783, 0.0 ], [ 103.750514691115001, 1.35882084151045, 0.0 ], [ 103.750513452028997, 1.35881978517123, 0.0 ], [ 103.750512280338995, 1.35881865467653, 0.0 ], [ 103.750511180535995, 1.3588174527396, 0.0 ], [ 103.750510157112998, 1.35881618478678, 0.0 ], [ 103.750509212766005, 1.35881485624433, 0.0 ], [ 103.750508352886001, 1.35881347072991, 0.0 ], [ 103.750507579270007, 1.35881203366974, 0.0 ], [ 103.750506895512999, 1.35881055229887, 0.0 ], [ 103.750506304308004, 1.3588090311392, 0.0 ], [ 103.750505807454999, 1.35880747561698, 0.0 ], [ 103.750505407646997, 1.35880589206283, 0.0 ], [ 103.750505104884994, 1.35880428680732, 0.0 ], [ 103.750504902762998, 1.35880266618109, 0.0 ], [ 103.750504799484006, 1.35880103561028, 0.0 ], [ 103.750504796843998, 1.35879940142549, 0.0 ], [ 103.750504895741003, 1.35879777086166, 0.0 ], [ 103.750505093480996, 1.35879614934487, 0.0 ], [ 103.750505390960996, 1.3587945432057, 0.0 ], [ 103.750505786383997, 1.35879295877463, 0.0 ], [ 103.750506278849997, 1.35879140147781, 0.0 ], [ 103.750506865665002, 1.35878987855005, 0.0 ], [ 103.750507545030999, 1.35878839451312, 0.0 ], [ 103.750529142730997, 1.35876837446074, 0.0 ], [ 103.750501503893005, 1.35873808637634, 0.0 ], [ 103.750461561416003, 1.35877474789095, 0.0 ], [ 103.750395912859005, 1.35870373229523, 0.0 ], [ 103.750344038828999, 1.35875218900767, 0.0 ], [ 103.750349910723003, 1.3587589167701, 0.0 ], [ 103.750245534567, 1.35885558146973, 0.0 ], [ 103.750240502451007, 1.35885998554538, 0.0 ], [ 103.750234392414995, 1.35885388088084, 0.0 ], [ 103.750158472, 1.35892483641358, 0.0 ], [ 10
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_16b157c52ed637edd6ba1232e026258d"
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.
31 Jul 2023
Free forever for personal or commercial use, under the Open Data Licence.