A Singapore Government Agency Website
Official website links end with .gov.sg
Government agencies communicate via .gov.sg websites (e.g. go.gov.sg/open). Trusted websites

Secure websites use HTTPS

Look for a lock () or https:// as an added precaution. Share sensitive information only on official, secure websites.

Libraries

Updated 4 months ago

NLB (National Library Board)
Please hold on, maps with large file sizes might take awhile to load

Metadata

Illustration of Singapore map
Click on a colored section of the map to see more details

Attribute Legends

AttributesData TypeDescription
NameText-
DescriptionText-

Dataset preview

This code can be used to view the raw JSON dataset for Libraries. 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>ADDRESSBLOCKHOUSENUMBER</th> <td>23</td> </tr><tr bgcolor=\"\"> <th>ADDRESSBUILDINGNAME</th> <td>NEX</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>ADDRESSSTREETNAME</th> <td>Serangoon Central</td> </tr><tr bgcolor=\"\"> <th>ADDRESSTYPE</th> <td></td> </tr><tr bgcolor=\"#E3E3F3\"> <th>DESCRIPTION</th> <td>SRPL</td> </tr><tr bgcolor=\"\"> <th>LANDXADDRESSPOINT</th> <td>32333.4</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>LANDYADDRESSPOINT</th> <td>36982.090000000004</td> </tr><tr bgcolor=\"\"> <th>NAME</th> <td>Serangoon Public Library</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>ADDRESSPOSTALCODE</th> <td>556083</td> </tr><tr bgcolor=\"\"> <th>ADDRESSFLOORNUMBER</th> <td>4</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>HYPERLINK</th> <td>http://www.nlb.gov.sg/VisitUs/BranchDetails/tabid/140/bid/342/Default.aspx?branch=Serangoon+Public+Library</td> </tr><tr bgcolor=\"\"> <th>PHOTOURL</th> <td>http://www.nlb.gov.sg/Portals/0/library/gallery/Serangoon/MAIN-SRPL-cropped.jpg</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC</th> <td>14A27BA632A157E6</td> </tr><tr bgcolor=\"\"> <th>FMEL_UPD_D</th> <td>20190429101416</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>ADDRESSUNITNUMBER</th> <td>82-83</td> </tr></table></center>"
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          103.872256917786,
          1.35072709374027,
          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>ADDRESSBLOCKHOUSENUMBER</th> <td>277</td> </tr><tr bgcolor=\"\"> <th>ADDRESSBUILDINGNAME</th> <td>Orchard Gateway</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>ADDRESSSTREETNAME</th> <td>Orchard Road</td> </tr><tr bgcolor=\"\"> <th>ADDRESSTYPE</th> <td></td> </tr><tr bgcolor=\"#E3E3F3\"> <th>DESCRIPTION</th> <td>OCPL</td> </tr><tr bgcolor=\"\"> <th>LANDXADDRESSPOINT</th> <td>28706.75</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>LANDYADDRESSPOINT</th> <td>31418.05</td> </tr><tr bgcolor=\"\"> <th>NAME</th> <td>library@orchard</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>ADDRESSPOSTALCODE</th> <td>238858</td> </tr><tr bgcolor=\"\"> <th>ADDRESSFLOORNUMBER</th> <td>3</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>HYPERLINK</th> <td>http://www.nlb.gov.sg/VisitUs/BranchDetails/tabid/140/bid/337/Default.aspx?branch=library%40orchard</td> </tr><tr bgcolor=\"\"> <th>PHOTOURL</th> <td>http://www.nlb.gov.sg/Portals/0/library/gallery/Orchard/OCPL_main.jpg</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC</th> <td>C407699EBC5E051F</td> </tr><tr bgcolor=\"\"> <th>FMEL_UPD_D</th> <td>20190429101416</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>ADDRESSUNITNUMBER</th> <td>12</td> </tr></table></center>"
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          103.839669047112,
          1.30040819039694,
          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>ADDRESSBLOCKHOUSENUMBER</th> <td>50</td> </tr><tr bgcolor=\"\"> <th>ADDRESSBUILDINGNAME</th> <td></td> </tr><tr bgcolor=\"#E3E3F3\"> <th>ADDRESSSTREETNAME</th> <td>Geylang East Ave 1</td> </tr><tr bgcolor=\"\"> <th>ADDRESSTYPE</th> <td></td> </tr><tr bgcolor=\"#E3E3F3\"> <th>DESCRIPTION</th> <td>GEPL</td> </tr><tr bgcolor=\"\"> <th>LANDXADDRESSPOINT</th> <td>33844.82</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>LANDYADDRESSPOINT</th> <td>33301.73</td> </tr><tr bgcolor=\"\"> <th>NAME</th> <td>Geylang East Public Library</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>ADDRESSPOSTALCODE</th> <td>389777</td> </tr><tr bgcolor=\"\"> <th>ADDRESSFLOORNUMBER</th> <td></td> </tr><tr bgcolor=\"#E3E3F3\"> <th>HYPERLINK</th> <td>http://www.nlb.gov.sg/VisitUs/BranchDetails/tabid/140/bid/328/Default.aspx?branch=Geylang+East+Public+Library</td> </tr><tr bgcolor=\"\"> <th>PHOTOURL</th> <td>http://www.nlb.gov.sg/Portals/0/library/gallery/Geylang/MAIN-GEPL-cropped.jpg</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC</th> <td>30D87253D8E26004</td> </tr><tr bgcolor=\"\"> <th>FMEL_UPD_D</th> <td>20190424094745</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>ADDRESSUNITNUMBER</th> <td></td> </tr></table></center>"
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          103.885837273218,
          1.31744297942454,
          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>ADDRESSBLOCKHOUSENUMBER</th> <td>60</td> </tr><tr bgcolor=\"\"> <th>ADDRESSBUILDINGNAME</th> <td></td> </tr><tr bgcolor=\"#E3E3F3\"> <th>ADDRESSSTREETNAME</th> <td>Jurong West Central 3</td> </tr><tr bgcolor=\"\"> <th>ADDRESSTYPE</th> <td></td> </tr><tr bgcolor=\"#E3E3F3\"> <th>DESCRIPTION</th> <td>JWPL</td> </tr><tr bgcolor=\"\"> <th>LANDXADDRESSPOINT</th> <td>13665.24</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>LANDYADDRESSPOINT</th> <td>35866.61</td> </tr><tr bgcolor=\"\"> <th>NAME</th> <td>Jurong West Public Library</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>ADDRESSPOSTALCODE</th> <td>648346</td> </tr><tr bgcolor=\"\"> <th>ADDRESSFLOORNUMBER</th> <td>1</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>HYPERLINK</th> <td>http://www.nlb.gov.sg/VisitUs/BranchDetails/tabid/140/bid/302/Default.aspx?branch=Jurong+West+Public+Library</td> </tr><tr bgcolor=\"\"> <th>PHOTOURL</th> <td>http://www.nlb.gov.sg/Portals/0/library/gallery/JurongWest/MAIN-JWPL-cropped.jpg</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC</th> <td>D1BB0FDF8C695C1B</td> </tr><tr bgcolor=\"\"> <th>FMEL_UPD_D</th> <td>20190424094745</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>ADDRESSUNITNUMBER</th> <td>3</td> </tr></table></center>"
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          103.704512325533,
          1.34063599253795,
          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>ADDRESSBLOCKHOUSENUMBER</th> <td>1</td> </tr><tr bgcolor=\"\"> <th>ADDRESSBUILDINGNAME</th> <td>West Mall</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>ADDRESSSTREETNAME</th> <td>Bukit Batok Central Link</td> </tr><tr bgcolor=\"\"> <th>ADDRESSTYPE</th> <td></td> </tr><tr bgcolor=\"#E3E3F3\"> <th>DESCRIPTION</th> <td>BBPL</td> </tr><tr bgcolor=\"\"> <th>LANDXADDRESSPOINT</th> <td>18648.02</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>LANDYADDRESSPOINT</th> <td>36846.26</td> </tr><tr bgcolor=\"\"> <th>NAME</th> <td>Bukit Batok Public Library</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>ADDRESSPOSTALCODE</th> <td>658713</td> </tr><tr bgcolor=\"\"> <th>ADDRESSFLOORNUMBER</th> <td>3</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>HYPERLINK</th> <td>http://www.nlb.gov.sg/VisitUs/BranchDetails/tabid/140/bid/286/Default.aspx?branch=Bukit+Batok+Public+Library</td> </tr><tr bgcolor=\"\"> <th>PHOTOURL</th> <td>http://www.nlb.gov.sg/Portals/0/library/gallery/BukitBatok/MAIN-BBPL-cropped.jpg</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC</th> <td>2559184B4E71B2D2</td> </tr><tr bgcolor=\"\"> <th>FMEL_UPD_D</th> <td>20190424094745</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>ADDRESSUNITNUMBER</th> <td>1</td> </tr></table></center>"
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          103.749285191724,
          1.34949754800173,
          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>ADDRESSBLOCKHOUSENUMBER</th> <td>1</td> </tr><tr bgcolor=\"\"> <th>ADDRESSBUILDINGNAME</th> <td>Compass One</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>ADDRESSSTREETNAME</th> <td>Sengkang Square</td> </tr><tr bgcolor=\"\"> <th>ADDRESSTYPE</th> <td></td> </tr><tr bgcolor=\"#E3E3F3\"> <th>DESCRIPTION</th> <td>SKPL</td> </tr><tr bgcolor=\"\"> <th>LANDXADDRESSPOINT</th> <td>34829.64</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>LANDYADDRESSPOINT</th> <td>41471.67</td> </tr><tr bgcolor=\"\"> <th>NAME</th> <td>Sengkang Public Library</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>ADDRESSPOSTALCODE</th> <td>545078</td> </tr><tr bgcolor=\"\"> <th>ADDRESSFLOORNUMBER</th> <td>3</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>HYPERLINK</th> <td>http://www.nlb.gov.sg/VisitUs/BranchDetails/tabid/140/bid/341/Default.aspx?branch=Sengkang+Public+Library</td> </tr><tr bgcolor=\"\"> <th>PHOTOURL</th> <td>http://www.nlb.gov.sg/Portals/0/library/gallery/Senkang/SKPL%20Main.JPG</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC</th> <td>991D1CCEFDA5DDF6</td> </tr><tr bgcolor=\"\"> <th>FMEL_UPD_D</th> <td>20190424094745</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>ADDRESSUNITNUMBER</th> <td>28</td> </tr></table></center>"
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          103.894688239041,
          1.39132876236971,
          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>ADDRESSBLOCKHOUSENUMBER</th> <td>278</td> </tr><tr bgcolor=\"\"> <th>ADDRESSBUILDINGNAME</th> <td>Marine Parade Community Building</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>ADDRESSSTREETNAME</th> <td>Marine Parade Road<

Sample OpenAPI query

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
          
datasetId = "d_27b8dae65d9ca1539e14d09578b17cbf"
url = "https://api-open.data.gov.sg/v1/public/api/datasets/" + datasetId + "/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)

About this dataset

Contact

nlblabs@nlb.gov.sg

Created on

31 Jul 2023

Licence

Free forever for personal or commercial use, under the Open Data Licence.

Agency

NLB (National Library Board)

Dataset usage

124
Views
186
Downloads
6
API calls