Post

2 followers Follow
0
Avatar

Station L3121 - Scurf Dyke - has duplicate data for fields Label, Lat, Long, Grid Ref, Northing

Hi, this is regarding station L3121 when accessed via API http://environment.data.gov.uk/flood-monitoring/id/stations?_view=full

This station seems to represent two physical locations which does not follow the API data model. There are two values for the location fields namely :-

Lat

Long

gridReference

northing

One of these locations needs to be removed as there is only on "measure" for this station. Even if there were more than one measure, it would still need to be a singular location at one station. Location data (i.e. lat, long, etc) have a 1:1 relationship with a station. A station can have multiple measures, but only one physical location. 

My advice would be to remove the location data (and hence revert to a single field and not an array). 

Snapshot of data below :-

... 

"easting": 507856,
"gridReference": [
"TA0785650595",
"TA0785650603"
],
"label": [
"Scurf Dyke",
"Scurf Dyke (Dyke Level)"
],
"lat": [
53.940225,
53.940297
],
"long": [
-0.358398,
-0.358401
],
Countbaltar //

Please sign in to leave a comment.

1 comment

0
Avatar

We hope this issue has now been resolved, but if this isn't the case please let us know via our Feedback form.

Data Services Platform team 0 votes //
Comment actions Permalink