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
SPF (Singapore Police Force)Attribute Legend
Attributes | Data Type | Description |
---|---|---|
Name | Text | - |
Description | Text | - |
Dataset preview
This code can be used to view the raw JSON dataset for Singapore Police Force Establishments (2018) (GEOJSON). 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>NO</th> <td>68</td> </tr><tr bgcolor=\"\"> <th>BLDG</th> <td>Tampines Neighbourhood Police Centre</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>TYPE</th> <td>Neighbourhood Police Centre</td> </tr><tr bgcolor=\"\"> <th>COUNIT</th> <td>Not applicable</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>DIVCODE</th> <td>GOLF</td> </tr><tr bgcolor=\"\"> <th>BLDGNO</th> <td>6</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>STREETNAME</th> <td>Tampines Ave 4</td> </tr><tr bgcolor=\"\"> <th>FLRNO</th> <td>0</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>UNITNO</th> <td> </td> </tr><tr bgcolor=\"\"> <th>POSTALCODE</th> <td>529682</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>OPERATEHRS</th> <td>24 Hrs</td> </tr><tr bgcolor=\"\"> <th>TEL</th> <td>1800 587 1999</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>ALTTEL</th> <td>0</td> </tr><tr bgcolor=\"\"> <th>FAX</th> <td>6587 1699</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>CANTEEN</th> <td>No</td> </tr><tr bgcolor=\"\"> <th>CARPARK</th> <td>No</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>ADDINFOR</th> <td> </td> </tr><tr bgcolor=\"\"> <th>LONGITUDE</th> <td>39726.3495</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>LATITUDE</th> <td>36488.0284</td> </tr><tr bgcolor=\"\"> <th>INC_CRC</th> <td>5AFC170FD0B4B113</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D</th> <td>20191022175218</td> </tr></table></center>"
},
"geometry": {
"type": "Point",
"coordinates": [
103.938686999607,
1.34625699956637,
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>NO</th> <td>69</td> </tr><tr bgcolor=\"\"> <th>BLDG</th> <td>Tampines East Neighbourhood Police Post</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>TYPE</th> <td>Neighbourhood Police Post</td> </tr><tr bgcolor=\"\"> <th>COUNIT</th> <td>Not applicable</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>DIVCODE</th> <td>GOLF</td> </tr><tr bgcolor=\"\"> <th>BLDGNO</th> <td>263</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>STREETNAME</th> <td>Tampines Street 21</td> </tr><tr bgcolor=\"\"> <th>FLRNO</th> <td>1</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>UNITNO</th> <td>138</td> </tr><tr bgcolor=\"\"> <th>POSTALCODE</th> <td>520263</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>OPERATEHRS</th> <td>1200 to 2200 hrs</td> </tr><tr bgcolor=\"\"> <th>TEL</th> <td>1800 783 9999</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>ALTTEL</th> <td>0</td> </tr><tr bgcolor=\"\"> <th>FAX</th> <td>6783 2500</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>CANTEEN</th> <td>No</td> </tr><tr bgcolor=\"\"> <th>CARPARK</th> <td>No</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>ADDINFOR</th> <td> </td> </tr><tr bgcolor=\"\"> <th>LONGITUDE</th> <td>41112.6411</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>LATITUDE</th> <td>37267.5359</td> </tr><tr bgcolor=\"\"> <th>INC_CRC</th> <td>3D1F1A24B6241CAB</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D</th> <td>20191022175218</td> </tr></table></center>"
},
"geometry": {
"type": "Point",
"coordinates": [
103.951143999829,
1.35330599955162,
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>NO</th> <td>70</td> </tr><tr bgcolor=\"\"> <th>BLDG</th> <td>Tampines North Neighbourhood Police Post</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>TYPE</th> <td>Neighbourhood Police Post</td> </tr><tr bgcolor=\"\"> <th>COUNIT</th> <td>Not applicable</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>DIVCODE</th> <td>GOLF</td> </tr><tr bgcolor=\"\"> <th>BLDGNO</th> <td>461</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>STREETNAME</th> <td>Tampines Street 44</td> </tr><tr bgcolor=\"\"> <th>FLRNO</th> <td>1</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>UNITNO</th> <td>56</td> </tr><tr bgcolor=\"\"> <th>POSTALCODE</th> <td>520461</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>OPERATEHRS</th> <td>24 Hrs</td> </tr><tr bgcolor=\"\"> <th>TEL</th> <td>1800 781 8999</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>ALTTEL</th> <td>0</td> </tr><tr bgcolor=\"\"> <th>FAX</th> <td>6783 8603</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>CANTEEN</th> <td>No</td> </tr><tr bgcolor=\"\"> <th>CARPARK</th> <td>No</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>ADDINFOR</th> <td> </td> </tr><tr bgcolor=\"\"> <th>LONGITUDE</th> <td>41469.6253</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>LATITUDE</th> <td>37879.4764</td> </tr><tr bgcolor=\"\"> <th>INC_CRC</th> <td>45EB8EF2F1F69A4E</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D</th> <td>20191022175218</td> </tr></table></center>"
},
"geometry": {
"type": "Point",
"coordinates": [
103.954352000051,
1.35884000018641,
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>NO</th> <td>71</td> </tr><tr bgcolor=\"\"> <th>BLDG</th> <td>Pasir Ris Neighbourhood Police Centre</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>TYPE</th> <td>Neighbourhood Police Centre</td> </tr><tr bgcolor=\"\"> <th>COUNIT</th> <td>Not applicable</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>DIVCODE</th> <td>GOLF</td> </tr><tr bgcolor=\"\"> <th>BLDGNO</th> <td>1</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>STREETNAME</th> <td>Pasir Ris Drive 4</td> </tr><tr bgcolor=\"\"> <th>FLRNO</th> <td>1</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>UNITNO</th> <td>1</td> </tr><tr bgcolor=\"\"> <th>POSTALCODE</th> <td>519457</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>OPERATEHRS</th> <td>24 Hrs</td> </tr><tr bgcolor=\"\"> <th>TEL</th> <td>1800 585 2999</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>ALTTEL</th> <td>0</td> </tr><tr bgcolor=\"\"> <th>FAX</th> <td>6585 5261</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>CANTEEN</th> <td>No</td> </tr><tr bgcolor=\"\"> <th>CARPARK</th> <td>No</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>ADDINFOR</th> <td> </td> </tr><tr bgcolor=\"\"> <th>LONGITUDE</th> <td>42007.0919</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>LATITUDE</th> <td>38980.9431</td> </tr><tr bgcolor=\"\"> <th>INC_CRC</th> <td>ED01E53B742A1461</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D</th> <td>20191022175218</td> </tr></table></center>"
},
"geometry": {
"type": "Point",
"coordinates": [
103.959181999844,
1.36880099964767,
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>NO</th> <td>72</td> </tr><tr bgcolor=\"\"> <th>BLDG</th> <td>Tanah Merah Neighbourhood Police Post</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>TYPE</th> <td>Neighbourhood Police Post</td> </tr><tr bgcolor=\"\"> <th>COUNIT</th> <td>Not applicable</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>DIVCODE</th> <td>GOLF</td> </tr><tr bgcolor=\"\"> <th>BLDGNO</th> <td>51</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>STREETNAME</th> <td>New Upper Changi Road</td> </tr><tr bgcolor=\"\"> <th>FLRNO</th> <td>1</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>UNITNO</th> <td>1514</td> </tr><tr bgcolor=\"\"> <th>POSTALCODE</th> <td>461051</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>OPERATEHRS</th> <td>1200 to 2200 hrs</td> </tr><tr bgcolor=\"\"> <th>TEL</th> <td>1800 449 9999</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>ALTTEL</th> <td>0</td> </tr><tr bgcolor=\"\"> <th>FAX</th> <td>6244 7251</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>CANTEEN</th> <td>No</td> </tr><tr bgcolor=\"\"> <th>CARPARK</th> <td>No</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>ADDINFOR</th> <td> </td> </tr><tr bgcolor=\"\"> <th>LONGITUDE</th> <td>40124.6539</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>LATITUDE</th> <td>33964.6121</td> </tr><tr bgcolor=\"\"> <th>INC_CRC</th> <td>7E104EF126AB9843</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D</th> <td>20191022175218</td> </tr></table></center>"
},
"geometry": {
"type": "Point",
"coordinates": [
103.942264999683,
1.32343600039579,
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>NO</th> <td>73</td> </tr><tr bgcolor=\"\"> <th>BLDG</th> <td>Bukit Batok Neighbourhood Police Centre</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>TYPE</th> <td>Neighbourhood Police Centre</td> </tr><tr bgcolor=\"\"> <th>COUNIT</th> <td>Not applicable</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>DIVCODE</th> <td>JULIET</td> </tr><tr bgcolor=\"\"> <th>BLDGNO</th> <td>21</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>STREETNAME</th> <td>Bukit Batok East Avenue 4</td> </tr><tr bgcolor=\"\"> <th>FLRNO</th> <td>0</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>UNITNO</th> <td> </td> </tr><tr bgcolor=\"\"> <th>POSTALCODE</th> <td>659840</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>OPERATEHRS</th> <td>24 Hrs</td> </tr><tr bgcolor=\"\"> <th>TEL</th> <td>1800 665 9999</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>ALTTEL</th> <td>0</td> </tr><tr bgcolor=\"\"> <th>FAX</th> <td>6425 2661</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>CANTEEN</th> <td>No</td> </tr><tr bgcolor=\"\"> <th>CARPARK</th> <td>No</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>ADDINFOR</th> <td> </td> </tr><tr bgcolor=\"\"> <th>LONGITUDE</th> <td>19676.1958</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>LATITUDE</th> <td>36803.9262</td> </tr><tr bgcolor=\"\"> <th>INC
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_83525629a0051cffb0d3979b1cbfea96"
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.
24 Nov 2018
Free forever for personal or commercial use, under the Open Data Licence.