Secure websites use HTTPS
Updated 6 months ago
PUB (PUB, Singapore's national water agency)Attribute Legend
Attributes | Data Type | Description |
---|---|---|
Name | Text | - |
Description | Text | - |
Dataset preview
This code can be used to view the raw JSON dataset for PUB Water Level Sensors. 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>STATION_NAME</th> <td>Bencoolen St/ Rochor Canal Rd</td> </tr><tr bgcolor=\"\"> <th>X</th> <td>30292.86224</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>Y</th> <td>31671.58555</td> </tr><tr bgcolor=\"\"> <th>STATION_ID</th> <td>CWS069</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>HYPERLINK</th> <td>https://app.pub.gov.sg/waterlevel/pages/waterlevelsensors.aspx</td> </tr><tr bgcolor=\"\"> <th>INC_CRC</th> <td>207DC828074E7428</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D</th> <td>20171218192912</td> </tr></table></center>"
},
"geometry": {
"type": "Point",
"coordinates": [
103.853920999644,
1.3027010004639,
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>STATION_NAME</th> <td>Jln Sultan/ Rochor Canal Rd</td> </tr><tr bgcolor=\"\"> <th>X</th> <td>30873.01789</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>Y</th> <td>32053.51646</td> </tr><tr bgcolor=\"\"> <th>STATION_ID</th> <td>CWS071</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>HYPERLINK</th> <td>https://app.pub.gov.sg/waterlevel/pages/waterlevelsensors.aspx</td> </tr><tr bgcolor=\"\"> <th>INC_CRC</th> <td>65CCCCD18E524D12</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D</th> <td>20171218192912</td> </tr></table></center>"
},
"geometry": {
"type": "Point",
"coordinates": [
103.859134000051,
1.30615500033329,
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>STATION_NAME</th> <td>King George's Ave at PA HQ</td> </tr><tr bgcolor=\"\"> <th>X</th> <td>31030.37984</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>Y</th> <td>32349.41647</td> </tr><tr bgcolor=\"\"> <th>STATION_ID</th> <td>CWS072</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>HYPERLINK</th> <td>https://app.pub.gov.sg/waterlevel/pages/waterlevelsensors.aspx</td> </tr><tr bgcolor=\"\"> <th>INC_CRC</th> <td>126C3591B34603AC</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D</th> <td>20171218192912</td> </tr></table></center>"
},
"geometry": {
"type": "Point",
"coordinates": [
103.860547999653,
1.30883100031285,
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>STATION_NAME</th> <td>CTE/ Moulmein Rd</td> </tr><tr bgcolor=\"\"> <th>X</th> <td>29868.4984</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>Y</th> <td>33399.64634</td> </tr><tr bgcolor=\"\"> <th>STATION_ID</th> <td>CWS073</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>HYPERLINK</th> <td>https://app.pub.gov.sg/waterlevel/pages/waterlevelsensors.aspx</td> </tr><tr bgcolor=\"\"> <th>INC_CRC</th> <td>47BD00DCF6233A97</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D</th> <td>20171218192912</td> </tr></table></center>"
},
"geometry": {
"type": "Point",
"coordinates": [
103.850108,
1.31832899966623,
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>STATION_NAME</th> <td>Mandalay Rd/ Martaban Rd</td> </tr><tr bgcolor=\"\"> <th>X</th> <td>29885.85511</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>Y</th> <td>34069.73017</td> </tr><tr bgcolor=\"\"> <th>STATION_ID</th> <td>CWS075</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>HYPERLINK</th> <td>https://app.pub.gov.sg/waterlevel/pages/waterlevelsensors.aspx</td> </tr><tr bgcolor=\"\"> <th>INC_CRC</th> <td>C9D18A824B4FDB69</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D</th> <td>20171218192912</td> </tr></table></center>"
},
"geometry": {
"type": "Point",
"coordinates": [
103.850263999916,
1.32438900024086,
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>STATION_NAME</th> <td>Machperson OD (Macpherson Rd)</td> </tr><tr bgcolor=\"\"> <th>X</th> <td>32218.71058</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>Y</th> <td>34382.24062</td> </tr><tr bgcolor=\"\"> <th>STATION_ID</th> <td>CWS077</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>HYPERLINK</th> <td>https://app.pub.gov.sg/waterlevel/pages/waterlevelsensors.aspx</td> </tr><tr bgcolor=\"\"> <th>INC_CRC</th> <td>B457B03B86A00879</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D</th> <td>20171218192912</td> </tr></table></center>"
},
"geometry": {
"type": "Point",
"coordinates": [
103.87122600014,
1.32721499980472,
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>STATION_NAME</th> <td>BT Canal (Anamalai Ave)</td> </tr><tr bgcolor=\"\"> <th>X</th> <td>23643.94893</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>Y</th> <td>34936.44421</td> </tr><tr bgcolor=\"\"> <th>STATION_ID</th> <td>CWS078</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>HYPERLINK</th> <td>https://app.pub.gov.sg/waterlevel/pages/waterlevelsensors.aspx</td> </tr><tr bgcolor=\"\"> <th>INC_CRC</th> <td>E1829F64355C0B27</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D</th> <td>20171218192912</td> </tr></table></center>"
},
"geometry": {
"type": "Point",
"coordinates": [
103.794176999736,
1.33222699991671,
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>STATION_NAME</th> <td>Kallang Subsidary Drain (Lor 8 Toa Payoh)</td> </tr><tr bgcolor=\"\"> <th>X</th> <td>30582.28924</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>Y</th> <td>36026.69014</td> </tr><tr bgcolor=\"\"> <th>STATION_ID</th> <td>CWS080</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>HYPERLINK</th> <td>https://app.pub.gov.sg/waterlevel/pages/waterlevelsensors.aspx</td> </tr><tr bgcolor=\"\"> <th>INC_CRC</th> <td>3BF1985CB325437B</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D</th> <td>20171218192912</td> </tr></table></center>"
},
"geometry": {
"type": "Point",
"coordinates": [
103.8565219996,
1.3420869996185,
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>STATION_NAME</th> <td>Ubi Ave 2/ Eunos Link</td> </tr><tr bgcolor=\"\"> <th>X</th> <td>35550.27227</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>Y</th> <td>34819.414600000004</td> </tr><tr bgcolor=\"\"> <th>STATION_ID</th> <td>CWS082</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>HYPERLINK</th> <td>https://app.pub.gov.sg/waterlevel/pages/waterlevelsensors.aspx</td> </tr><tr bgcolor=\"\"> <th>INC_CRC</th> <td>1810CC25B5678657</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D</th> <td>20171218192912</td> </tr></table></center>"
},
"geometry": {
"type": "Point",
"coordinates": [
103.901162000247,
1.33116800002676,
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>STATION_NAME</th> <td>Alex Canal (Prince Charles Crescent)</td> </tr><tr bgcolor=\"\"> <th>X</th> <td>26784.856200000002</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>Y</th> <td>30477.25991</td> </tr><tr bgcolor=\"\"> <th>STATION_ID</th> <td>CWS083</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>HYPERLINK</th> <td>https://app.pub.gov.sg/waterlevel/pages/waterlevelsensors.aspx</td> </tr><tr bgcolor=\"\"> <th>INC_CRC</th> <td>BD0CF588078C04A8</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D</th> <td>20171218192912</td> </tr></table></center>"
},
"geometry": {
"type": "Point",
"coordinates": [
103.822400000001,
1.29189999993454,
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>STATION_NAME</th> <td>Cambridge Road OD</td> </tr><tr bgcolor=\"\"> <th>X</th> <td>29542.42055</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>Y</th> <td>32948.05658</td> </tr><tr bgcolor=\"\"> <th>STATION_ID</th> <td>CWS084</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>HYPERLINK</th> <td>https://app.pub.gov.sg/waterlevel/pages/waterlevelsensors.aspx</td> </tr><tr bgcolor=\"\"> <th>INC_CRC</th> <td>716372CD1A171A24</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>FMEL_UPD_D</th> <td>20171218192912</td> </tr></table></center>"
},
"geometry": {
"type": "Point",
"coordinates": [
103.847178000493,
1.31424500014749,
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_31333fa5cf0834f012d840365b336610"
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.