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 2018. 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>9<\/td> <\/tr><tr bgcolor=\"\"> <th>HABITAT_TYPE<\/th> <td>Mangrove<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC<\/th> <td>EB489B556566E451<\/td> <\/tr><tr bgcolor=\"\"> <th>FMEL_UPD_D<\/th> <td>20220425160934<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 103.725984996991002, 1.4422057753472, 0.0 ], [ 103.725991121693994, 1.44222773355033, 0.0 ], [ 103.726006815522993, 1.44221193961046, 0.0 ], [ 103.725984996991002, 1.4422057753472, 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>9<\/td> <\/tr><tr bgcolor=\"\"> <th>HABITAT_TYPE<\/th> <td>Mangrove<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC<\/th> <td>0C2FEB3C7CA61B6F<\/td> <\/tr><tr bgcolor=\"\"> <th>FMEL_UPD_D<\/th> <td>20220425160934<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 103.854133931963005, 1.4420091946229, 0.0 ], [ 103.854133932020005, 1.44201549532458, 0.0 ], [ 103.854133932126004, 1.44202720412096, 0.0 ], [ 103.854144317221994, 1.44202720402545, 0.0 ], [ 103.854151827704001, 1.44202720395635, 0.0 ], [ 103.854151827539994, 1.44200919445829, 0.0 ], [ 103.854133931963005, 1.4420091946229, 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>9<\/td> <\/tr><tr bgcolor=\"\"> <th>HABITAT_TYPE<\/th> <td>Mangrove<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC<\/th> <td>51EF53ED06C407A5<\/td> <\/tr><tr bgcolor=\"\"> <th>FMEL_UPD_D<\/th> <td>20220425160934<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 103.724732332715007, 1.44177353447268, 0.0 ], [ 103.724726208025004, 1.44175157626704, 0.0 ], [ 103.724710514191997, 1.44176737019767, 0.0 ], [ 103.724732332715007, 1.44177353447268, 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>9<\/td> <\/tr><tr bgcolor=\"\"> <th>HABITAT_TYPE<\/th> <td>Mangrove<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC<\/th> <td>5D301A87D312668E<\/td> <\/tr><tr bgcolor=\"\"> <th>FMEL_UPD_D<\/th> <td>20220425160934<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 103.727040813656998, 1.4416834846147, 0.0 ], [ 103.727034688046004, 1.4416615264136, 0.0 ], [ 103.727018995126002, 1.44167732036154, 0.0 ], [ 103.727040813656998, 1.4416834846147, 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>9<\/td> <\/tr><tr bgcolor=\"\"> <th>HABITAT_TYPE<\/th> <td>Mangrove<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC<\/th> <td>81A015FB9691EE8B<\/td> <\/tr><tr bgcolor=\"\"> <th>FMEL_UPD_D<\/th> <td>20220425160934<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 103.853793923723998, 1.44166700369399, 0.0 ], [ 103.853793923940003, 1.44169122797927, 0.0 ], [ 103.853793923146995, 1.44170302359462, 0.0 ], [ 103.853804385521002, 1.44170302349999, 0.0 ], [ 103.853829714297007, 1.44170302417508, 0.0 ], [ 103.853817690845005, 1.44167910476923, 0.0 ], [ 103.853793923723998, 1.44166700369399, 0.0 ] ] ] } },
{ "type": "Feature", "properties": { "Name": "kml_6", "Description": "<center><table><tr><th colspan='2' align='center'><em>Attributes<\/em><\/th><\/tr><tr bgcolor=\"#E3E3F3\"> <th>HABITAT_CODE<\/th> <td>9<\/td> <\/tr><tr bgcolor=\"\"> <th>HABITAT_TYPE<\/th> <td>Mangrove<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC<\/th> <td>F796C2D19B5EE707<\/td> <\/tr><tr bgcolor=\"\"> <th>FMEL_UPD_D<\/th> <td>20220425160934<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 103.853722342582003, 1.44159496363439, 0.0 ], [ 103.853727905097003, 1.44161678949712, 0.0 ], [ 103.853736952494998, 1.4416522920202, 0.0 ], [ 103.853766057244997, 1.44165980792405, 0.0 ], [ 103.853793923723998, 1.44166700369399, 0.0 ], [ 103.853764686567004, 1.44162438853326, 0.0 ], [ 103.853722342582003, 1.44159496363439, 0.0 ] ] ] } },
{ "type": "Feature", "properties": { "Name": "kml_7", "Description": "<center><table><tr><th colspan='2' align='center'><em>Attributes<\/em><\/th><\/tr><tr bgcolor=\"#E3E3F3\"> <th>HABITAT_CODE<\/th> <td>9<\/td> <\/tr><tr bgcolor=\"\"> <th>HABITAT_TYPE<\/th> <td>Mangrove<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC<\/th> <td>2670032102B63F93<\/td> <\/tr><tr bgcolor=\"\"> <th>FMEL_UPD_D<\/th> <td>20220425160934<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 103.723372297965, 1.44157542434825, 0.0 ], [ 103.723378423539998, 1.44159738346094, 0.0 ], [ 103.723394116481998, 1.44158158954012, 0.0 ], [ 103.723372297965, 1.44157542434825, 0.0 ] ] ] } },
{ "type": "Feature", "properties": { "Name": "kml_8", "Description": "<center><table><tr><th colspan='2' align='center'><em>Attributes<\/em><\/th><\/tr><tr bgcolor=\"#E3E3F3\"> <th>HABITAT_CODE<\/th> <td>9<\/td> <\/tr><tr bgcolor=\"\"> <th>HABITAT_TYPE<\/th> <td>Mangrove<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC<\/th> <td>14274371F6B9CD97<\/td> <\/tr><tr bgcolor=\"\"> <th>FMEL_UPD_D<\/th> <td>20220425160934<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 103.853704447747006, 1.44157695339303, 0.0 ], [ 103.853704447865994, 1.4415903397841, 0.0 ], [ 103.853704447907006, 1.44159496379555, 0.0 ], [ 103.853708548208004, 1.44159496375864, 0.0 ], [ 103.853722342582003, 1.44159496363439, 0.0 ], [ 103.853722342422003, 1.44157695413624, 0.0 ], [ 103.853704447747006, 1.44157695339303, 0.0 ] ] ] } },
{ "type": "Feature", "properties": { "Name": "kml_9", "Description": "<center><table><tr><th colspan='2' align='center'><em>Attributes<\/em><\/th><\/tr><tr bgcolor=\"#E3E3F3\"> <th>HABITAT_CODE<\/th> <td>9<\/td> <\/tr><tr bgcolor=\"\"> <th>HABITAT_TYPE<\/th> <td>Mangrove<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC<\/th> <td>F86BF705EB6743E7<\/td> <\/tr><tr bgcolor=\"\"> <th>FMEL_UPD_D<\/th> <td>20220425160934<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 103.723103870100999, 1.44150338427804, 0.0 ], [ 103.723085975458005, 1.44150338431072, 0.0 ], [ 103.723085975491003, 1.44152139468089, 0.0 ], [ 103.723103870133002, 1.44152139464823, 0.0 ], [ 103.723103870100999, 1.44150338427804, 0.0 ] ] ] } },
{ "type": "Feature", "properties": { "Name": "kml_10", "Description": "<center><table><tr><th colspan='2' align='center'><em>Attributes<\/em><\/th><\/tr><tr bgcolor=\"#E3E3F3\"> <th>HABITAT_CODE<\/th> <td>9<\/td> <\/tr><tr bgcolor=\"\"> <th>HABITAT_TYPE<\/th> <td>Mangrove<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC<\/th> <td>EADA52BC25113B4D<\/td> <\/tr><tr bgcolor=\"\"> <th>FMEL_UPD_D<\/th> <td>20220425160934<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 103.853632866610994, 1.44150491333047, 0.0 ], [ 103.853632866652006, 1.44150962958703, 0.0 ], [ 103.853632866769999, 1.44152292373301, 0.0 ], [ 103.853644656371998, 1.44152292362723, 0.0 ], [ 103.853650762344003, 1.44152292357241, 0.0 ], [ 103.853650762184003, 1.44150491407424, 0.0 ], [ 103.853632866610994, 1.44150491333047, 0.0 ] ] ] } },
{ "type": "Feature", "properties": { "Name": "kml_11", "Description": "<center><table><tr><th colspan='2' align='center'><em>Attributes<\/em><\/th><\/tr><tr bgcolor=\"#E3E3F3\"> <th>HABITAT_CODE<\/th> <td>9<\/td> <\/tr><tr bgcolor=\"\"> <th>HABITAT_TYPE<\/th> <td>Mangrove<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC<\/th> <td>876BDFBFE6CACF13<\/td> <\/tr><tr bgcolor=\"\"> <th>FMEL_UPD_D<\/th> <td>20220425160934<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 103.723103870296001, 1.44161144469032, 0.0 ], [ 103.723115753588999, 1.44158738471687, 0.0 ], [ 103.723121765707006, 1.44153940408128, 0.0 ], [ 103.723085975523006, 1.44153940414669, 0.0 ], [ 103.723085975491003, 1.44152139468089, 0.0 ], [ 103.72302907417, 1.44151142855149, 0.0 ], [ 103.723006433948001, 1.44145736378048, 0.0 ], [ 103.722961984766002, 1.44144134536138, 0.0 ], [ 103.722970880096995, 1.44151331763968, 0.0 ], [ 103.722908299200995, 1.44153132767005, 0.0 ], [ 103.722917473883001, 1.44160561241576, 0.0 ], [ 103.722952407917006, 1.44160123881651, 0.0 ], [ 103.723012244627, 1.4416366393692, 0.0 ], [ 103.723040476630999, 1.44160115810061, 0.0 ], [ 103.723103870296001, 1.44161144469032, 0.0 ] ] ] } },
{ "type": "Feature", "properties": { "Name": "kml_12", "Description": "<center><table><tr><th colspan='2' align='center'><em>Attributes<\/em><\/th><\/tr><tr bgcolor=\"#E3E3F3\"> <th>HABITAT_CODE<\/th> <td>9<\/td> <\/tr><tr bgcolor=\"\"> <th>HABITAT_TYPE<\/th> <td>Mangrove<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC<\/th> <td>EBF70870DA32AFE6<\/td> <\/tr><tr bgcolor=\"\"> <th>FMEL_UPD_D<\/th> <td>20220425160934<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 103.723229137125003, 1.44152139441581, 0.0 ], [ 103.723221936740003, 1.44146390829171, 0.0 ], [ 103.723193345908996, 1.44144935481069, 0.0 ], [ 103.723145672401003, 1.44145540448092, 0.0 ], [ 103.723121765642006, 1.44150338424527, 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_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.