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
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 NParks Parks and Nature Reserves. 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>L_CODE<\/th> <td>NA503<\/td> <\/tr><tr bgcolor=\"\"> <th>NAME<\/th> <td>Bishan-Ang Mo Kio Park (River Plains)<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>N_RESERVE<\/th> <td>0<\/td> <\/tr><tr bgcolor=\"\"> <th>INC_CRC<\/th> <td>5CDC9826AE43BBBB<\/td> <\/tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D<\/th> <td>20230614170333<\/td> <\/tr><\/table><\/center>" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ 103.846007865134993, 1.36059374255532, 0.0 ], [ 103.845951398840995, 1.36052653773068, 0.0 ], [ 103.845925930871999, 1.36054814855474, 0.0 ], [ 103.845920066849999, 1.36055312258937, 0.0 ], [ 103.845882568918995, 1.36058494194071, 0.0 ], [ 103.845937770023994, 1.36065089694208, 0.0 ], [ 103.845956983101004, 1.36063534358316, 0.0 ], [ 103.845982554410995, 1.36061464526186, 0.0 ], [ 103.846002280565997, 1.36059835393858, 0.0 ], [ 103.846007865134993, 1.36059374255532, 0.0 ] ] ], [ [ [ 103.848522564158998, 1.36292735685912, 0.0 ], [ 103.848526622977005, 1.36292533557913, 0.0 ], [ 103.848527386769007, 1.36292678617464, 0.0 ], [ 103.848533838562005, 1.36293904569622, 0.0 ], [ 103.848546688059002, 1.36293537932168, 0.0 ], [ 103.848548498666005, 1.36293436370905, 0.0 ], [ 103.848551829645004, 1.36293249617558, 0.0 ], [ 103.848591141843997, 1.36291013461343, 0.0 ], [ 103.848652076196004, 1.36287477177107, 0.0 ], [ 103.848712658305004, 1.36283895041673, 0.0 ], [ 103.848772942983004, 1.36280263437551, 0.0 ], [ 103.848832876315001, 1.36276571693279, 0.0 ], [ 103.848892564333994, 1.36272830570726, 0.0 ], [ 103.848951865961993, 1.36269032925509, 0.0 ], [ 103.849010817145, 1.36265192865689, 0.0 ], [ 103.849069504143003, 1.36261296283129, 0.0 ], [ 103.849127823621998, 1.3625734670492, 0.0 ], [ 103.849185703694999, 1.36253340604092, 0.0 ], [ 103.849243390571999, 1.36249292179003, 0.0 ], [ 103.849300638943006, 1.36245194194905, 0.0 ], [ 103.849984670118999, 1.36195700854865, 0.0 ], [ 103.850203495196993, 1.36177806045173, 0.0 ], [ 103.851720824560999, 1.36053722890044, 0.0 ], [ 103.851767561429995, 1.36049900829707, 0.0 ], [ 103.851973036320999, 1.36033097672405, 0.0 ], [ 103.851964927080004, 1.36025610717884, 0.0 ], [ 103.851958807432993, 1.36020303912857, 0.0 ], [ 103.851958368922993, 1.36020173775173, 0.0 ], [ 103.851941743262998, 1.36015238581591, 0.0 ], [ 103.851916852605996, 1.36010546758837, 0.0 ], [ 103.851811665032002, 1.3599272914483, 0.0 ], [ 103.851763884033005, 1.35984598494214, 0.0 ], [ 103.851739661959002, 1.35980476782006, 0.0 ], [ 103.851738738221002, 1.35980319332887, 0.0 ], [ 103.851724618861994, 1.35977913463326, 0.0 ], [ 103.851721977940002, 1.35977463544103, 0.0 ], [ 103.851718469890002, 1.35976847493819, 0.0 ], [ 103.851671361013999, 1.35968575580778, 0.0 ], [ 103.851665771856005, 1.35967594168893, 0.0 ], [ 103.851488662066004, 1.35936491767646, 0.0 ], [ 103.851479586425995, 1.35934897922832, 0.0 ], [ 103.851457434691, 1.35931205510486, 0.0 ], [ 103.851221846558005, 1.35891936289151, 0.0 ], [ 103.851029166057003, 1.35866739033081, 0.0 ], [ 103.851009817047, 1.35864202667139, 0.0 ], [ 103.851001741556004, 1.35863144205073, 0.0 ], [ 103.850936774439006, 1.35852318107408, 0.0 ], [ 103.850899043056003, 1.35844130020395, 0.0 ], [ 103.850782658965002, 1.35818887488015, 0.0 ], [ 103.850621219792004, 1.35792060541137, 0.0 ], [ 103.850564844001994, 1.35782692271483, 0.0 ], [ 103.850538165268006, 1.35778261809717, 0.0 ], [ 103.850465183794995, 1.35766133160425, 0.0 ], [ 103.850421808617995, 1.35758924774477, 0.0 ], [ 103.850355503561005, 1.35747676337882, 0.0 ], [ 103.850345609336003, 1.35745997844673, 0.0 ], [ 103.850378020413004, 1.35743296485421, 0.0 ], [ 103.850376665360997, 1.35743072565771, 0.0 ], [ 103.850357443918995, 1.35739896361395, 0.0 ], [ 103.850250056895007, 1.35722151361855, 0.0 ], [ 103.850159656564003, 1.35707213406393, 0.0 ], [ 103.850138333559002, 1.35706580366268, 0.0 ], [ 103.850119496892006, 1.35706054491564, 0.0 ], [ 103.850102499593007, 1.35705580073892, 0.0 ], [ 103.850101672012002, 1.35705556922742, 0.0 ], [ 103.850100495787004, 1.35705524095137, 0.0 ], [ 103.850099629560006, 1.35705380392247, 0.0 ], [ 103.850096638200995, 1.35704884169617, 0.0 ], [ 103.850093971228006, 1.35704441756439, 0.0 ], [ 103.850092483186998, 1.35704194956447, 0.0 ], [ 103.850082003097, 1.35702456865917, 0.0 ], [ 103.850074809098999, 1.35701263743048, 0.0 ], [ 103.850073860202997, 1.35701106293876, 0.0 ], [ 103.850043264595001, 1.35696031655512, 0.0 ], [ 103.849908193030004, 1.35707907409428, 0.0 ], [ 103.849669284716995, 1.35728912791453, 0.0 ], [ 103.849654735930997, 1.35727291366504, 0.0 ], [ 103.849645836589005, 1.35728072110285, 0.0 ], [ 103.849632937579003, 1.35726584801434, 0.0 ], [ 103.849624286240001, 1.35727344382913, 0.0 ], [ 103.849651611831007, 1.35730467224895, 0.0 ], [ 103.849452770287996, 1.35747950530601, 0.0 ], [ 103.849433553414002, 1.35745735574331, 0.0 ], [ 103.849329832570007, 1.35754856971944, 0.0 ], [ 103.849231578561998, 1.35763497695846, 0.0 ], [ 103.849248786283994, 1.35766362982005, 0.0 ], [ 103.849072601892004, 1.35781853864477, 0.0 ], [ 103.849090328033, 1.35783895726672, 0.0 ], [ 103.849056490929996, 1.35786873820624, 0.0 ], [ 103.849038765687993, 1.35784828431383, 0.0 ], [ 103.848664878986995, 1.35817703763781, 0.0 ], [ 103.848601277936993, 1.35823296122081, 0.0 ], [ 103.848605999037005, 1.35823840094232, 0.0 ], [ 103.848553208574003, 1.35828481958604, 0.0 ], [ 103.848548486574998, 1.35827934459423, 0.0 ], [ 103.848401979773001, 1.35840818216653, 0.0 ], [ 103.848419705913003, 1.35842860079334, 0.0 ], [ 103.848385868793997, 1.35845834554889, 0.0 ], [ 103.848368125581004, 1.3584379278263, 0.0 ], [ 103.848067335772996, 1.35870238572036, 0.0 ], [ 103.848072074843998, 1.35870782544279, 0.0 ], [ 103.848019284360007, 1.35875424497918, 0.0 ], [ 103.848014547985002, 1.35874878807372, 0.0 ], [ 103.847948241335999, 1.35880709465608, 0.0 ], [ 103.847809842192007, 1.35892879580399, 0.0 ], [ 103.847827585404005, 1.358949214435, 0.0 ], [ 103.847793748270007, 1.35897896008659, 0.0 ], [ 103.847776005057995, 1.35895850618513, 0.0 ], [ 103.847583061403995, 1.35912818055838, 0.0 ], [ 103.847493925874005, 1.35920656596073, 0.0 ], [ 103.847494520731004, 1.35920759693256, 0.0 ], [ 103.847315668253003, 1.35935939644002, 0.0 ], [ 103.847333060126005, 1.35938013341291, 0.0 ], [ 103.847298697314997, 1.35940927765833, 0.0 ], [ 103.847281323413995, 1.35938854158945, 0.0 ], [ 103.846975985694996, 1.35964766543275, 0.0 ], [ 103.846980601661997, 1.35965321187298, 0.0 ], [ 103.846927021290995, 1.35969867728554, 0.0 ], [ 103.845978279351002, 1.3605037277118, 0.0 ], [ 103.846003630775996, 1.36053396590389, 0.0 ], [ 103.846006948305003, 1.36053792338468, 0.0 ], [ 103.846018027704005, 1.36055113880212, 0.0 ], [ 103.846058146271005, 1.36059899031521, 0.0 ], [ 103.845933012377998, 1.36070216990302, 0.0 ], [ 103.845862138371999, 1.36061764024446, 0.0 ], [ 103.845854612828006, 1.36060866356339, 0.0 ], [ 103.845774089002006, 1.36067699232556, 0.0 ], [ 103.845770297025993, 1.36067246509737, 0.0 ], [ 103.845716718407004, 1.3607179313873, 0.0 ], [ 103.845712083571001, 1.36071242021498, 0.0 ], [ 103.845406904563006, 1.36097140187287, 0.0 ], [ 103.845424297329998, 1.36099213885937, 0.0 ], [ 103.845389952445004, 1.36102131834761, 0.0 ], [ 103.845369488358998, 1.36099722618461, 0.0 ], [ 103.845360607857998, 1.36100471527024, 0.0 ], [ 103.845394339365996, 1.36104477572762, 0.0 ], [ 103.845320830597004, 1.36110717180923, 0.0 ], [ 103.845177262632006, 1.36122900577291, 0.0 ], [ 103.845090705811998, 1.36130245143533, 0.0 ], [ 103.845060010579999, 1.36126581669098, 0.0 ], [ 103.844900989096004, 1.36140080197985, 0.0 ], [ 103.844918363890997, 1.36142153806568, 0.0 ], [ 103.844884001021995, 1.36145068318091, 0.0 ], [ 103.844866626227997, 1.36142994619047, 0.0 ], [ 103.844637544608005, 1.36162435034342, 0.0 ], [ 103.844629951672005, 1.36161528955299, 0.0 ], [ 103.844482648311995, 1.36174029328969, 0.0 ], [ 103.844231998401, 1.36195299731637, 0.0 ], [ 103.844220151705002, 1.361956811979, 0.0 ], [ 103.844228312610994, 1.36198267133555, 0.0 ], [ 103.844185507614995, 1.36199634280546, 0.0 ], [ 103.844177346709998, 1.36197051962334, 0.0 ], [ 103.843901823856996, 1.36205868733355, 0.0 ], [ 103.843829889137993, 1.36208169377411, 0.0 ], [ 103.843838068010996, 1.36210755313191, 0.0 ], [ 103.843795209996003, 1.36212129513551, 0.0 ], [ 103.843784837689995, 1.36208847670361, 0.0 ], [ 103.843773762861005, 1.36209201010336, 0.0 ], [ 103.843790382991997, 1.36214464674797, 0.0 ], [ 103.843698754393003, 1.36217396844663, 0.0 ], [ 103.843698738219004, 1.36217391508921, 0.0 ], [ 103.843413161266, 1.36226535929883, 0.0 ], [ 103.843398734575004, 1.36221968172591, 0.0 ], [ 103.843200506344999, 1.36228313003928, 0.0 ], [ 103.843208667240006, 1.36230898759058, 0.0 ], [ 103.843165862232993, 1.36232269612125, 0.0 ], [ 103.843157683366996, 1.36229683676115, 0.0 ], [ 103.842732303811999, 1.36243295343978, 0.0 ], [ 103.842616496562002, 1.36247001022005, 0.0 ], [ 103.842644163840006, 1.36256935362996, 0.0 ], [ 103.842720367786995, 1.36280638903173, 0.0 ], [ 103.842719912213994, 1.36280645143466, 0.0 ], [ 103.842739967588997, 1.36286883259853, 0.0 ], [ 103.842739990054, 1.3628689022345, 0.0 ], [ 103.842740442931998, 1.36286883259667, 0.0 ], [ 103.842882134427001, 1.36330957489402, 0.0 ], [ 103.842907090661001, 1.36338720271473, 0.0 ], [ 103.842942939362004, 1.3634712361039, 0.0 ], [ 103.842947452911005, 1.36348181624397, 0.0 ], [ 103.842975964740006, 1.36354865227009, 0.0 ], [ 103.843037067777999, 1.36365174955565, 0.0 ], [ 103.843089185012005, 1.36372319412499, 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_77d7ec97be83d44f61b85454f844382f"
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.