Secure websites use HTTPS
Updated 6 months ago
NPARKS (National Parks 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 Coastal and Marine Habitat Map of Singapore 2010/2011. 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>HABITAT_CODE<\/th> <td>12<\/td> <\/tr><tr bgcolor=\"\"> <th>HABITAT_TYPE<\/th> <td>Other Vegetation<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC<\/th> <td>2A7E6A89A1678559<\/td> <\/tr><tr bgcolor=\"\"> <th>FMEL_UPD_D<\/th> <td>20220425160858<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 103.801206490433003, 1.4679619173099, 0.0 ], [ 103.801235080824995, 1.46800550261149, 0.0 ], [ 103.801260368786004, 1.46805239873938, 0.0 ], [ 103.801388138503995, 1.46816329904301, 0.0 ], [ 103.801415162024, 1.46831284224576, 0.0 ], [ 103.801570857696007, 1.46849573116904, 0.0 ], [ 103.801647261620005, 1.46851324344814, 0.0 ], [ 103.801699843411996, 1.46853270790606, 0.0 ], [ 103.801773069869, 1.46854949302747, 0.0 ], [ 103.801901098331996, 1.46860383351611, 0.0 ], [ 103.801986248560993, 1.46854652611658, 0.0 ], [ 103.801915557285994, 1.46851473403216, 0.0 ], [ 103.801861020393005, 1.46847577509469, 0.0 ], [ 103.801758921301996, 1.46848397531738, 0.0 ], [ 103.801735842032002, 1.46844227479401, 0.0 ], [ 103.801706316498993, 1.4683755793837, 0.0 ], [ 103.801626961031999, 1.46833096238987, 0.0 ], [ 103.801565501550996, 1.4683358984316, 0.0 ], [ 103.801486526969995, 1.46830038204693, 0.0 ], [ 103.801464147698994, 1.46819684930259, 0.0 ], [ 103.801470226055997, 1.46812130701268, 0.0 ], [ 103.801376537110997, 1.46806218019855, 0.0 ], [ 103.801231977179995, 1.46793217949736, 0.0 ], [ 103.801206490433003, 1.4679619173099, 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>HABITAT_CODE<\/th> <td>3<\/td> <\/tr><tr bgcolor=\"\"> <th>HABITAT_TYPE<\/th> <td>Sandflat<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC<\/th> <td>4D6AF3529CDFE172<\/td> <\/tr><tr bgcolor=\"\"> <th>FMEL_UPD_D<\/th> <td>20220425160858<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 103.800344018640999, 1.46731019329953, 0.0 ], [ 103.800353508089003, 1.46742272066153, 0.0 ], [ 103.800512261259996, 1.46756563593714, 0.0 ], [ 103.800658871178001, 1.46773498194709, 0.0 ], [ 103.800792576158003, 1.46790770374716, 0.0 ], [ 103.800898117317004, 1.46799493927647, 0.0 ], [ 103.801141709955999, 1.46813784489249, 0.0 ], [ 103.801306453446003, 1.46827402721418, 0.0 ], [ 103.801350120219993, 1.46828762404213, 0.0 ], [ 103.801342158310007, 1.46824139287188, 0.0 ], [ 103.801272304010993, 1.46812167043296, 0.0 ], [ 103.801260368786004, 1.46805239873938, 0.0 ], [ 103.801235080824995, 1.46800550261149, 0.0 ], [ 103.801206490433003, 1.4679619173099, 0.0 ], [ 103.801168036473001, 1.46794964092522, 0.0 ], [ 103.801135317355005, 1.46787978199822, 0.0 ], [ 103.801050139091998, 1.46782436318373, 0.0 ], [ 103.801009542412004, 1.46778021609558, 0.0 ], [ 103.800972241693998, 1.46774539484982, 0.0 ], [ 103.800877205503994, 1.4676420518614, 0.0 ], [ 103.800637886984006, 1.46741865884434, 0.0 ], [ 103.800481636239994, 1.4672892954997, 0.0 ], [ 103.800362587436993, 1.46725128967545, 0.0 ], [ 103.800344018640999, 1.46731019329953, 0.0 ] ] ] } },
{ "type": "Feature", "properties": { "Name": "kml_3", "Description": "<center><table><tr><th colspan='2' align='center'><em>Attributes<\/em><\/th><\/tr><tr bgcolor=\"#E3E3F3\"> <th>HABITAT_CODE<\/th> <td>19<\/td> <\/tr><tr bgcolor=\"\"> <th>HABITAT_TYPE<\/th> <td>Shallow Water<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC<\/th> <td>E5DA05171EF63712<\/td> <\/tr><tr bgcolor=\"\"> <th>FMEL_UPD_D<\/th> <td>20220425160858<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 103.799912754721007, 1.46703860292148, 0.0 ], [ 103.799958394436999, 1.46713765129195, 0.0 ], [ 103.799956875506993, 1.46715671796207, 0.0 ], [ 103.799988810274002, 1.46721440145, 0.0 ], [ 103.799994268296004, 1.46728329955075, 0.0 ], [ 103.799959741486006, 1.46737777968255, 0.0 ], [ 103.800076338986997, 1.46746978502835, 0.0 ], [ 103.800202427486994, 1.46750806680374, 0.0 ], [ 103.800317564652005, 1.46760799976469, 0.0 ], [ 103.800345459214995, 1.46767100717476, 0.0 ], [ 103.800379825888001, 1.46771119487956, 0.0 ], [ 103.800426436300995, 1.46773740311619, 0.0 ], [ 103.800470533742001, 1.46773386228168, 0.0 ], [ 103.800591371097994, 1.46787516993722, 0.0 ], [ 103.800658923106994, 1.46793381346973, 0.0 ], [ 103.800675554262995, 1.46795325843101, 0.0 ], [ 103.800784692519002, 1.46804242483427, 0.0 ], [ 103.800813885107004, 1.46807655864833, 0.0 ], [ 103.800902152784005, 1.46813226781757, 0.0 ], [ 103.800981010230998, 1.46818859995274, 0.0 ], [ 103.801036251667995, 1.46822346577305, 0.0 ], [ 103.8010580758, 1.4682489745634, 0.0 ], [ 103.801197963389001, 1.46835018660902, 0.0 ], [ 103.801231224817997, 1.46838907652354, 0.0 ], [ 103.801269825855002, 1.46842258736134, 0.0 ], [ 103.801311403767997, 1.46847119930095, 0.0 ], [ 103.801359654844006, 1.46851308829856, 0.0 ], [ 103.801376286009997, 1.46853253325472, 0.0 ], [ 103.801421877425994, 1.46855902090454, 0.0 ], [ 103.801463424993003, 1.46846654944184, 0.0 ], [ 103.801358083029001, 1.46833385521236, 0.0 ], [ 103.801350120219993, 1.46828762404213, 0.0 ], [ 103.801306453446003, 1.46827402721418, 0.0 ], [ 103.801141709955999, 1.46813784489249, 0.0 ], [ 103.800898117317004, 1.46799493927647, 0.0 ], [ 103.800792576158003, 1.46790770374716, 0.0 ], [ 103.800658871178001, 1.46773498194709, 0.0 ], [ 103.800512261259996, 1.46756563593714, 0.0 ], [ 103.800353508089003, 1.46742272066153, 0.0 ], [ 103.800344018640999, 1.46731019329953, 0.0 ], [ 103.800318365478006, 1.46729024085403, 0.0 ], [ 103.800300273561007, 1.46724568802816, 0.0 ], [ 103.800275719705994, 1.4672046657407, 0.0 ], [ 103.800138835349998, 1.46716622373624, 0.0 ], [ 103.800062861325998, 1.46706707543569, 0.0 ], [ 103.799956529344996, 1.46704883645047, 0.0 ], [ 103.799912754721007, 1.46703860292148, 0.0 ] ] ] } },
{ "type": "Feature", "properties": { "Name": "kml_4", "Description": "<center><table><tr><th colspan='2' align='center'><em>Attributes<\/em><\/th><\/tr><tr bgcolor=\"#E3E3F3\"> <th>HABITAT_CODE<\/th> <td>16<\/td> <\/tr><tr bgcolor=\"\"> <th>HABITAT_TYPE<\/th> <td>Water<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC<\/th> <td>C573A068E32FCEAC<\/td> <\/tr><tr bgcolor=\"\"> <th>FMEL_UPD_D<\/th> <td>20220425160858<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 103.799769038324001, 1.46687571044426, 0.0 ], [ 103.799788096084995, 1.4674126728641, 0.0 ], [ 103.799930405541005, 1.46768017393381, 0.0 ], [ 103.800160660998998, 1.46788024697655, 0.0 ], [ 103.800689264482003, 1.46831422260979, 0.0 ], [ 103.800955414401997, 1.46855454750397, 0.0 ], [ 103.801150699729007, 1.4687593171999, 0.0 ], [ 103.801224003596005, 1.46883027189755, 0.0 ], [ 103.801323281725999, 1.46871308230784, 0.0 ], [ 103.801421877425994, 1.46855902090454, 0.0 ], [ 103.801376286009997, 1.46853253325472, 0.0 ], [ 103.801359654844006, 1.46851308829856, 0.0 ], [ 103.801311403767997, 1.46847119930095, 0.0 ], [ 103.801269825855002, 1.46842258736134, 0.0 ], [ 103.801231224817997, 1.46838907652354, 0.0 ], [ 103.801197963389001, 1.46835018660902, 0.0 ], [ 103.8010580758, 1.4682489745634, 0.0 ], [ 103.801036251667995, 1.46822346577305, 0.0 ], [ 103.800981010230998, 1.46818859995274, 0.0 ], [ 103.800902152784005, 1.46813226781757, 0.0 ], [ 103.800813885107004, 1.46807655864833, 0.0 ], [ 103.800784692519002, 1.46804242483427, 0.0 ], [ 103.800675554262995, 1.46795325843101, 0.0 ], [ 103.800658923106994, 1.46793381346973, 0.0 ], [ 103.800591371097994, 1.46787516993722, 0.0 ], [ 103.800470533742001, 1.46773386228168, 0.0 ], [ 103.800426436300995, 1.46773740311619, 0.0 ], [ 103.800379825888001, 1.46771119487956, 0.0 ], [ 103.800345459214995, 1.46767100717476, 0.0 ], [ 103.800317564652005, 1.46760799976469, 0.0 ], [ 103.800202427486994, 1.46750806680374, 0.0 ], [ 103.800076338986997, 1.46746978502835, 0.0 ], [ 103.799959741486006, 1.46737777968255, 0.0 ], [ 103.799994268296004, 1.46728329955075, 0.0 ], [ 103.799988810274002, 1.46721440145, 0.0 ], [ 103.799956875506993, 1.46715671796207, 0.0 ], [ 103.799958394436999, 1.46713765129195, 0.0 ], [ 103.799912754721007, 1.46703860292148, 0.0 ], [ 103.799906098326005, 1.46694494695079, 0.0 ], [ 103.799864928028995, 1.46692395605774, 0.0 ], [ 103.799844218432, 1.46688268783665, 0.0 ], [ 103.799769038324001, 1.46687571044426, 0.0 ] ] ] } },
{ "type": "Feature", "properties": { "Name": "kml_5", "Description": "<center><table><tr><th colspan='2' align='center'><em>Attributes<\/em><\/th><\/tr><tr bgcolor=\"#E3E3F3\"> <th>HABITAT_CODE<\/th> <td>1<\/td> <\/tr><tr bgcolor=\"\"> <th>HABITAT_TYPE<\/th> <td>Built-up<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC<\/th> <td>398857D7181E04D5<\/td> <\/tr><tr bgcolor=\"\"> <th>FMEL_UPD_D<\/th> <td>20220425160858<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 103.799769038324001, 1.46687571044426, 0.0 ], [ 103.799844218432, 1.46688268783665, 0.0 ], [ 103.799864928028995, 1.46692395605774, 0.0 ], [ 103.799906098326005, 1.46694494695079, 0.0 ], [ 103.799912754721007, 1.46703860292148, 0.0 ], [ 103.799956529344996, 1.46704883645047, 0.0 ], [ 103.800062861325998, 1.46706707543569, 0.0 ], [ 103.800138835349998, 1.46716622373624, 0.0 ], [ 103.800275719705994, 1.4672046657407, 0.0 ], [ 103.800300273561007, 1.46724568802816, 0.0 ], [ 103.800318365478006, 1.46729024085403, 0.0 ], [ 103.800344018640999, 1.46731019329953, 0.0 ], [ 103.800362587436993, 1.46725128967545, 0.0 ], [ 103.800481636239994, 1.4672892954997, 0.0 ], [ 103.8
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_37d905893542417ee27c2f9153c08330"
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.