Secure websites use HTTPS
Updated about 2 months ago
NPARKS (National Parks Board)A high-resolution coastal and marine habitat map for Singapore created through pixel-based supervised classification of satellite imagery, bathymetry data, and expert ground knowledge.
Attribute Legend
Attributes | Data Type | Description |
---|---|---|
OBJECTID | Numeric | - |
Habitat_Code | Numeric | - |
Habitat_Type | Text | - |
SHAPE.STArea() | Numeric | - |
SHAPE.STLength() | Numeric | - |
SHAPE | Numeric | - |
Dataset preview
This code can be used to view the raw JSON dataset for Coastal and Marine Habitat Map of Singapore 2018. Large datasets may be truncated in the preview. Please download the dataset for complete data.
{"type":"FeatureCollection","features":[{"type":"Feature","id":1,"geometry":{"type":"Polygon","coordinates":[[[103.84783482330425,1.4506179664832632],[103.84783738268769,1.4506441740203331],[103.84783744739123,1.4506448414402682],[103.84784448749345,1.4507169526374153],[103.8478406606564,1.4507650141627064],[103.84786697935384,1.4508371586966826],[103.84781661409848,1.4509086516793985],[103.84778541981721,1.4508722223045334],[103.84776480186945,1.4508032827977122],[103.84774966371006,1.4507526692800667],[103.84775305852685,1.4507370011584568],[103.84777491636537,1.4506361165424169],[103.84783482330425,1.4506179664832632]]]},"properties":{"OBJECTID":1,"Habitat_Code":9,"Habitat_Type":"Mangrove","SHAPE.STArea()":258.32034469500002,"SHAPE.STLength()":73.794162042151541}},{"type":"Feature","id":2,"geometry":{"type":"Polygon","coordinates":[[[103.71957851711747,1.450598427202376],[103.71960143634814,1.4506074321883125],[103.71957851711666,1.4506164366645553],[103.71957851711747,1.450598427202376]]]},"properties":{"OBJECTID":2,"Habitat_Code":9,"Habitat_Type":"Mangrove","SHAPE.STArea()":2.5395826399999999,"SHAPE.STLength()":7.4674291495828742}},{"type":"Feature","id":3,"geometry":{"type":"Polygon","coordinates":[[[103.72396284010691,1.4499680791971514],[103.72396284014114,1.4499860886621312],[103.7239449445331,1.4499860886964679],[103.72394494446495,1.4499500688621672],[103.7239628400727,1.4499500688277918],[103.72396284010691,1.4499680791971514]]]},"properties":{"OBJECTID":3,"Habitat_Code":9,"Habitat_Type":"Mangrove","SHAPE.STArea()":7.9319453649999998,"SHAPE.STLength()":11.948800015064277}},{"type":"Feature","id":4,"geometry":{"type":"Polygon","coordinates":[[[103.72204805396269,1.4497879792898722],[103.72204805398191,1.4498059887537145],[103.72203015837644,1.4498059887729307],[103.72203015835736,1.4497879793090993],[103.72204805396269,1.4497879792898722]]]},"properties":{"OBJECTID":4,"Habitat_Code":9,"Habitat_Type":"Mangrove","SHAPE.STArea()":3.96587311,"SHAPE.STLength()":7.9658000100429343}},{"type":"Feature","id":5,"geometry":{"type":"Polygon","coordinates":[[[103.73034015731912,1.4494437623766308],[103.73033063717716,1.4494521652744889],[103.73023371544915,1.4494056323061906],[103.73022615795698,1.4493917599482873],[103.73020420867346,1.4492945282500793],[103.73035142447594,1.4493129559438336],[103.73039673031522,1.4493072831433838],[103.73040511026244,1.449355740157654],[103.73040256579034,1.4493676387347614],[103.73039767008591,1.4493905288225006],[103.73039701846372,1.449393576493323],[103.73039457237867,1.4493957350940105],[103.7303739819497,1.449413909119319],[103.73034124556639,1.4494428019937733],[103.73034015731912,1.4494437623766308]]]},"properties":{"OBJECTID":5,"Habitat_Code":9,"Habitat_Type":"Mangrove","SHAPE.STArea()":266.692124525,"SHAPE.STLength()":65.858604972064384}},{"type":"Feature","id":6,"geometry":{"type":"Polygon","coordinates":[[[103.72694089522666,1.4488263020599297],[103.72691552822792,1.4488551020810703],[103.72691182490479,1.448859308094173],[103.72689880120561,1.4488272813034271],[103.72688246565087,1.4487871078622454],[103.72691554697721,1.4487614119767851],[103.72694089522666,1.4488263020599297]]]},"properties":{"OBJECTID":6,"Habitat_Code":9,"Habitat_Type":"Mangrove","SHAPE.STArea()":36.090819789999998,"SHAPE.STLength()":25.863482595667033}},{"type":"Feature","id":7,"geometry":{"type":"Polygon","coordinates":[[[103.73090254434514,1.4488154407914851],[103.73088827998158,1.4488154410469121],[103.73090214685944,1.4487822136011406],[103.73088828043204,1.4487253918921132],[103.73092407082774,1.4487434011806291],[103.73093516733394,1.4487699836039851],[103.73092407298452,1.4488154417707491],[103.73090254434514,1.4488154407914851]]]},"properties":{"OBJECTID":7,"Habitat_Code":9,"Habitat_Type":"Mangrove","SHAPE.STArea()":32.929479059999998,"SHAPE.STLength()":27.255194254584239}},{"type":"Feature","id":8,"geometry":{"type":"Polygon","coordinates":[[[103.73092407082774,1.4487434011806291],[103.73092440516052,1.4487422011071522],[103.73093019576692,1.448721443544468],[103.73094588909215,1.4487372371355469],[103.73092538010333,1.4487430313560143],[103.73092407082774,1.4487434011806291]]]},"properties":{"OBJECTID":8,"Habitat_Code":9,"Habitat_Type":"Mangrove","SHAPE.STArea()":2.715368695,"SHAPE.STLength()":7.5134965142133554}},{"type":"Feature","id":9,"geometry":{"type":"Polygon","coordinates":[[[103.72684396608518,1.4486713621625853],[103.7268668853314,1.4486803670753967],[103.72684396614295,1.448689371629488],[103.72684396608518,1.4486713621625853]]]},"properties":{"OBJECTID":9,"Habitat_Code":9,"Habitat_Type":"Mangrove","SHAPE.STArea()":2.5395826399999999,"SHAPE.STLength()":7.4674291495828742}},{"type":"Feature","id":10,"geometry":{"type":"Polygon","coordinates":[[[103.72006168740737,1.4485813121902171],[103.72004966386642,1.4486052310532136],[103.72002589712461,1.4486173320284159],[103.72002589711671,1.4485813121984785],[103.72006168740737,1.4485813121902171]]]},"properties":{"OBJECTID":10,"Habitat_Code":9,"Habitat_Type":"Mangrove","SHAPE.STArea()":10.534173095,"SHAPE.STLength()":13.893905727543748}},{"type":"Feature","id":11,"geometry":{"type":"Polygon","coordinates":[[[103.72383757334451,1.4503462881451117],[103.72385939163875,1.4503401232670123],[103.72384369835601,1.4503243296295594],[103.72383757334451,1.4503462881451117],[103.72381710927138,1.4503331015508789],[103.72379631296711,1.4502586344669406],[103.72384455452696,1.4502722800207153],[103.72383059155561,1.450227246635269],[103.72379379684125,1.4502035424202027],[103.72378097648856,1.4501668545426811],[103.7237769063928,1.4501552070662793],[103.7237411153847,1.4501321495181729],[103.72375507928072,1.4500831672394925],[103.72378388781947,1.4500761381323377],[103.72380007046226,1.4500997255856038],[103.72386277365892,1.450140821942657],[103.72387724084932,1.4501462696189651],[103.72390184945056,1.4501555341961756],[103.72395033545624,1.4501873131219916],[103.72402307861468,1.4501367637261726],[103.72404593698991,1.4501034454273418],[103.724052315695,1.450094148895781],[103.72407021130397,1.4500941488606551],[103.72407817151738,1.4501041496823348],[103.7240939594479,1.4501138008960155],[103.72417768670067,1.4501649837106916],[103.7241609626728,1.4503002673165111],[103.72418751702195,1.4502662392714538],[103.72420343739005,1.4501561873264035],[103.72422363048881,1.450048389258374],[103.72420343704229,1.450032109762712],[103.72418751661482,1.45001210812014],[103.72412907790306,1.4499952913858012],[103.72410600127002,1.4499140487131019],[103.7241238968776,1.4499140486774411],[103.72414179158659,1.4499140486415938],[103.72414179155089,1.449896039176495],[103.72425013507153,1.4498712703387695],[103.72425461553719,1.4498702468181688],[103.72425549601618,1.4498733479182087],[103.72428296965926,1.44997007076752],[103.72431278314107,1.4499940974937013],[103.72434294657801,1.4500661377202939],[103.72436668742179,1.4500317930096431],[103.724348574134,1.4498860379146203],[103.72434433103356,1.4498842389330431],[103.72424120266892,1.4498405035099411],[103.72424715700953,1.4498171133794528],[103.72425826758419,1.449773464885364],[103.72430288296616,1.4497375069007135],[103.72433088831063,1.4496895707399555],[103.72432074343665,1.4496078801316996],[103.72430429927515,1.449584789163991],[103.7242029481376,1.4495643411481387],[103.72418223890973,1.4495103108438974],[103.72416715793275,1.4495433582135664],[103.72416265846286,1.4495659480540797],[103.72415221602533,1.4496183707003951],[103.72412389637917,1.4496619098353698],[103.72407817153636,1.449653900394626],[103.72407173178648,1.4496432304189522],[103.72401898100945,1.4495558266950062],[103.72393312202814,1.4495665744828266],[103.72394125748048,1.4496324477025948],[103.72391688742293,1.4496520892606182],[103.72392106428879,1.4496858574366702],[103.72398073526719,1.4497339497869504],[103.72396885103487,1.4497580097605987],[103.72396842319914,1.449760144938516],[103.72396283976418,1.4497879791210007],[103.72394494415771,1.4497879791554562],[103.72394494419186,1.4498059895248143],[103.72392287791189,1.4498116895500497],[103.72391576900404,1.4498135259636005],[103.72391863042608,1.4498263770868431],[103.72392612312994,1.4498600188134323],[103.72391591733295,1.4499058577140909],[103.72394494446495,1.4499500688621672],[103.72393435411745,1.4499574253321412],[103.72391974456336,1.449978732294904],[103.72389194815777,1.4499980454022614],[103.72389005115105,1.4499993629654224],[103.7238856757243,1.450002403217618],[103.72375666084156,1.4499705100379474],[103.72374809737086,1.4500040985298606],[103.72368382180477,1.4499967429351366],[103.72367823568607,1.4499868914476373],[103.72365131683048,1.4499394147481262],[103.7236260292913,1.449921847187813],[103.72363752845672,1.4498702312875424],[103.72360466508067,1.4498473936403475],[103.72361920486593,1.4497821048393886],[103.72357645038453,1.4497265930150385],[103.72356184015432,1.4496872760689659],[103.72354011813265,1.4496537096137865],[103.72354461839276,1.4496335009601915],[103.723483985607,1.4496106673827716],[103.72349063578288,1.4495807903001672],[103.72346629214611,1.4494810099486761],[103.72339395494397,1.4494988901746659],[103.72339019336272,1.4494998196750448],[103.72336401487821,1.4494541246020718],[103.72329975353144,1.4493759402716169],[103.72327176021662,1.4493418806304039],[103.72324955871724,1.449300716604383],[103.72321617695086,1.449238820437059],[103.72316157577065,1.4491375816757128],[103.72315706610587,1.4491292197240682],[103.72306112490695,1.4490460381416035],[103.72305482982843,1.4490169852044599],[103.72305019768378,1.4489956465565192],[103.72305018870176,1.4489955642591266],[103.7230405731427,1.4489511867454576],[103.72303228920617,1.4487974312365577],[103.72307769129331,1.4487710866823644],[103.72311057267611,1.4486254308456896],[103.72313135089703,1.4486271103584456],[103.72315293333554,1.4485549677453142],[103.72318506283153,1.4485716367085386],[103.72321584619449,1.4486075902206643],[103.72328612791262,1.448634433311536],[103.723310
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_18bcfe0a1b8c77f9b4493cef72ffd717"
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.