Secure websites use HTTPS
Real-time Weather APIs will be unavailable from 24 Nov 2024 12:00 AM to 12:00 PM due to upstream maintenance.
Updated 6 months ago
URA (Urban Redevelopment Authority)Indicative building footprints layer. This layer is extracted from the latest Master Plan 2019 which may be updated from time to time. For the latest Master Plan, please visit URA�s web site at https://www.ura.gov.sg/.
Attribute Legend
Attributes | Data Type | Description |
---|---|---|
Name | Text | - |
Description | Text | - |
Dataset preview
This code can be used to view the raw JSON dataset for Master Plan 2019 Building layer. 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>BLDG_TYPE<\/th> <td><\/td> <\/tr><tr bgcolor=\"\"> <th>INC_CRC<\/th> <td>63DFA395<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D<\/th> <td>20191209171539<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 103.818698701716997, 1.45011772501942, 0.0 ], [ 103.818706423373996, 1.45012129278417, 0.0 ], [ 103.818705336050002, 1.45012380057745, 0.0 ], [ 103.818716708712003, 1.45012909931789, 0.0 ], [ 103.818717831979001, 1.45012666206521, 0.0 ], [ 103.818723166957994, 1.45012913463003, 0.0 ], [ 103.818720113469993, 1.45013570571635, 0.0 ], [ 103.818726642686002, 1.45013870824599, 0.0 ], [ 103.818725519419004, 1.45014118076888, 0.0 ], [ 103.818736927125997, 1.45014651477963, 0.0 ], [ 103.818738050392994, 1.45014404225673, 0.0 ], [ 103.818744614655003, 1.45014711532693, 0.0 ], [ 103.818755846426996, 1.45012266864206, 0.0 ], [ 103.818775398132004, 1.45013178294535, 0.0 ], [ 103.818774274863998, 1.45013425546824, 0.0 ], [ 103.818776731632994, 1.45013538593868, 0.0 ], [ 103.818777854900006, 1.45013294868596, 0.0 ], [ 103.818797441650005, 1.45014206208494, 0.0 ], [ 103.818786174834003, 1.45016643732507, 0.0 ], [ 103.818792668105999, 1.45016951129903, 0.0 ], [ 103.818791544839002, 1.45017198382193, 0.0 ], [ 103.818802988490006, 1.45017728256239, 0.0 ], [ 103.818804111757004, 1.45017488057984, 0.0 ], [ 103.818810605029995, 1.45017788310903, 0.0 ], [ 103.818813694461994, 1.45017134729301, 0.0 ], [ 103.818818959351006, 1.45017378458698, 0.0 ], [ 103.818817801037994, 1.45017625801403, 0.0 ], [ 103.818829208745996, 1.45018159202431, 0.0 ], [ 103.818830367057998, 1.45017911859724, 0.0 ], [ 103.818838124658996, 1.45018275690213, 0.0 ], [ 103.818855709627996, 1.45014453318212, 0.0 ], [ 103.818863817681006, 1.45014834874444, 0.0 ], [ 103.818852902222005, 1.45017212348973, 0.0 ], [ 103.818850374451003, 1.45017307757708, 0.0 ], [ 103.818850972009997, 1.45017480853293, 0.0 ], [ 103.818855218809006, 1.45017321868899, 0.0 ], [ 103.818890390852005, 1.45018964487174, 0.0 ], [ 103.818904009338993, 1.45016014642618, 0.0 ], [ 103.818918681656001, 1.45016696451768, 0.0 ], [ 103.818915241762994, 1.45017441826067, 0.0 ], [ 103.818916856545002, 1.4501751598492, 0.0 ], [ 103.818920331483, 1.45016770610641, 0.0 ], [ 103.818930089364002, 1.45017226325726, 0.0 ], [ 103.818923069396007, 1.45018741853804, 0.0 ], [ 103.818937776756997, 1.45019430626563, 0.0 ], [ 103.818922263093995, 1.45022797291122, 0.0 ], [ 103.818928792310999, 1.4502309754403, 0.0 ], [ 103.818927669044001, 1.45023344796326, 0.0 ], [ 103.818939076752002, 1.45023878197299, 0.0 ], [ 103.818940235064005, 1.45023634472041, 0.0 ], [ 103.818946729236004, 1.45023934724922, 0.0 ], [ 103.818952414763004, 1.45022701809619, 0.0 ], [ 103.818957715596, 1.45022952593042, 0.0 ], [ 103.818956557283002, 1.45023199935755, 0.0 ], [ 103.818968000037003, 1.45023729809716, 0.0 ], [ 103.818969123304001, 1.45023482466981, 0.0 ], [ 103.818976880904998, 1.45023842770404, 0.0 ], [ 103.818991201209997, 1.45020726975518, 0.0 ], [ 103.819001801976, 1.45021221488309, 0.0 ], [ 103.819002925242998, 1.45020977763025, 0.0 ], [ 103.819004575069997, 1.45021051921894, 0.0 ], [ 103.819011840360005, 1.45019472817182, 0.0 ], [ 103.819006259244006, 1.45017943172982, 0.0 ], [ 103.819008856238, 1.4501736736631, 0.0 ], [ 103.818997343394003, 1.45016823384252, 0.0 ], [ 103.819003696592006, 1.45015435009252, 0.0 ], [ 103.819022440457999, 1.45016304024198, 0.0 ], [ 103.819031355600998, 1.45014382257148, 0.0 ], [ 103.819034585162996, 1.45014534101855, 0.0 ], [ 103.819055223616004, 1.45010054711454, 0.0 ], [ 103.819033215141999, 1.45009030324788, 0.0 ], [ 103.819039637532001, 1.45007638422801, 0.0 ], [ 103.819051221365001, 1.45008175350848, 0.0 ], [ 103.819053854301998, 1.4500760307121, 0.0 ], [ 103.819064278943003, 1.45008090529824, 0.0 ], [ 103.819077511922004, 1.45005221987204, 0.0 ], [ 103.819075862096, 1.4500513715685, 0.0 ], [ 103.819077020408002, 1.45004893431585, 0.0 ], [ 103.819066419641999, 1.45004398918829, 0.0 ], [ 103.819083407028003, 1.45000707226806, 0.0 ], [ 103.819075650325999, 1.4500034692342, 0.0 ], [ 103.819076808638002, 1.45000099671138, 0.0 ], [ 103.819065400032002, 1.44999566270234, 0.0 ], [ 103.819064276765005, 1.44999813522538, 0.0 ], [ 103.819058941785997, 1.44999569793154, 0.0 ], [ 103.819061995273998, 1.4499890563044, 0.0 ], [ 103.819055431012004, 1.44998605377548, 0.0 ], [ 103.819056554279001, 1.44998354598225, 0.0 ], [ 103.819045181617, 1.44997824724353, 0.0 ], [ 103.819044058350002, 1.44998071976657, 0.0 ], [ 103.819037494089002, 1.44997768196743, 0.0 ], [ 103.819026262321003, 1.45000209247922, 0.0 ], [ 103.819006675569995, 1.44999294381207, 0.0 ], [ 103.819007833881997, 1.44999054182962, 0.0 ], [ 103.819005377113996, 1.44998941135944, 0.0 ], [ 103.819004253847993, 1.44999181334211, 0.0 ], [ 103.818984702142998, 1.44998273521533, 0.0 ], [ 103.818995933910998, 1.44995832379936, 0.0 ], [ 103.818989405593996, 1.44995521545995, 0.0 ], [ 103.818990563905999, 1.44995277820734, 0.0 ], [ 103.818979120254994, 1.44994744419764, 0.0 ], [ 103.818977996987996, 1.44994995199083, 0.0 ], [ 103.818971468670995, 1.44994691419173, 0.0 ], [ 103.818968485273999, 1.44995345000867, 0.0 ], [ 103.818963149395998, 1.44995101271459, 0.0 ], [ 103.818964307708995, 1.44994850401727, 0.0 ], [ 103.818952900002003, 1.44994317000767, 0.0 ], [ 103.81895174169, 1.44994564343482, 0.0 ], [ 103.818944019135003, 1.44994204040071, 0.0 ], [ 103.818926960758006, 1.44997895641508, 0.0 ], [ 103.818916395038002, 1.44997404655724, 0.0 ], [ 103.818915236725999, 1.44997648380981, 0.0 ], [ 103.818913657888004, 1.44997574222151, 0.0 ], [ 103.818900389861994, 1.45000442764652, 0.0 ], [ 103.818910815400997, 1.45000930223335, 0.0 ], [ 103.818908182463005, 1.45001502502954, 0.0 ], [ 103.818919801340996, 1.45002046575563, 0.0 ], [ 103.818913343006997, 1.45003438387057, 0.0 ], [ 103.818891334534001, 1.45002410473234, 0.0 ], [ 103.818891755983003, 1.45002336315686, 0.0 ], [ 103.818877855563997, 1.45001682813598, 0.0 ], [ 103.818884278853005, 1.45000290911657, 0.0 ], [ 103.818885085793994, 1.45000322655339, 0.0 ], [ 103.818893193983996, 1.4499855987495, 0.0 ], [ 103.818845947477001, 1.44996355639093, 0.0 ], [ 103.818851809131999, 1.44995087363307, 0.0 ], [ 103.818852616073997, 1.44995119197426, 0.0 ], [ 103.818859004317005, 1.44993730822486, 0.0 ], [ 103.818844367048001, 1.44993049103759, 0.0 ], [ 103.818859845665003, 1.44989682439222, 0.0 ], [ 103.818853316448994, 1.44989378659275, 0.0 ], [ 103.818854439716006, 1.44989127789526, 0.0 ], [ 103.818843032009994, 1.44988601442549, 0.0 ], [ 103.818841908742996, 1.44988845258259, 0.0 ], [ 103.818835379527002, 1.44988545005328, 0.0 ], [ 103.818829694, 1.44989774393586, 0.0 ], [ 103.818824428214, 1.44989523519719, 0.0 ], [ 103.818825586526003, 1.44989283321485, 0.0 ], [ 103.818814143775001, 1.44988742866397, 0.0 ], [ 103.818813020506994, 1.44988997263163, 0.0 ], [ 103.818805297953006, 1.44988629815233, 0.0 ], [ 103.818790907557002, 1.44991749227418, 0.0 ], [ 103.818780306793002, 1.44991254624092, 0.0 ], [ 103.818779148480004, 1.44991498439779, 0.0 ], [ 103.818777533699006, 1.44991424280916, 0.0 ], [ 103.818770268408997, 1.44993003385556, 0.0 ], [ 103.818775814476993, 1.44994532939357, 0.0 ], [ 103.818773147391994, 1.44995108836393, 0.0 ], [ 103.818784835461003, 1.44995652818679, 0.0 ], [ 103.818778377125994, 1.4499704472057, 0.0 ], [ 103.818759633262005, 1.44996175705422, 0.0 ], [ 103.818750753163002, 1.44998100999405, 0.0 ], [ 103.818747523601004, 1.4499794562764, 0.0 ], [ 103.818726885144002, 1.45002417963723, 0.0 ], [ 103.818748894514002, 1.45003449404724, 0.0 ], [ 103.818742506269999, 1.45004841306649, 0.0 ], [ 103.818730852347002, 1.45004300851381, 0.0 ], [ 103.818728219408996, 1.45004873130978, 0.0 ], [ 103.818717829815, 1.45004385672233, 0.0 ], [ 103.818704632774001, 1.45007261268696, 0.0 ], [ 103.818706246657001, 1.45007335427564, 0.0 ], [ 103.818705089242997, 1.45007582770264, 0.0 ], [ 103.818715724154998, 1.45008077283211, 0.0 ], [ 103.818698701716997, 1.45011772501942, 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>BLDG_TYPE<\/th> <td><\/td> <\/tr><tr bgcolor=\"\"> <th>INC_CRC<\/th> <td>15F7C7A2<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D<\/th> <td>20191209171539<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ 103.814566141230998, 1.44913781364862, 0.0 ], [ 103.814569415723, 1.44913886183336, 0.0 ], [ 103.814564097677007, 1.44915429927601, 0.0 ], [ 103.814574540286998, 1.44915776036263, 0.0 ], [ 103.814573048574999, 1.44916200091122, 0.0 ], [ 103.814569572798007, 1.44916076461717, 0.0 ], [ 103.814569642888003, 1.44916083515812, 0.0 ], [ 103.814563536750995, 1.44917849823309, 0.0 ], [ 103.814566906495003, 1.44917955817535, 0.0 ], [ 103.814564940308003, 1.44918542205266, 0.0 ], [ 103.814554339544003, 1.44918192479013, 0.0 ], [ 103.814553812951999, 1.44918344411661, 0.0 ], [ 103.814549284907997, 1.44918277304104, 0.0 ], [ 103.814544844913001, 1.44918390345851, 0.0 ], [ 103.814541229819, 1.44918665811992, 0.0 ], [ 103.814538896120993, 1.44919058032545, 0.0 ], [ 103.814538264367002, 1.44919510123391, 0.0 ], [ 103.814539422627007, 1.44919955252132, 0.0 ], [ 103.814542212752002, 1.44920322697399, 0.0 ], [ 103.814546162083005, 1.449205487916, 0.0 ], [ 103.814542863241002, 1.44921509675193, 0.0 ], [ 103.814535702312, 1.44921265852784, 0.0 ], [ 103.814531595608003, 1.44922456444058, 0.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
import requests
dataset_id = "d_e8e3249d4433845bdd8034ae44329d9e"
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.
03 Jul 2023
Free forever for personal or commercial use, under the Open Data Licence.