Return station co-ordinates (lat/lon) from /api/projects/{proj_id}/stations
?
#3
Labels
enhancement
New feature or request
/api/projects/{proj_id}/stations
?
#3
At present, it is straightforward to efficiently get a list of stations for a project using the
/api/projects/{proj_id}/stations
endpoint. This gives station ID, code, name and type, but does not currently provide spatial co-ordinates (which are almost always useful).I can get the co-ordinates by looping over the
api/projects/{proj_id}/stations/{stn_id}/samplePoint
endpoint for each station, but this is slow.Would it be possible to either modify the
/api/projects/{proj_id}/stations
endpoint to include lat and lon (together with the other attributes above), or else create a new endpoint that does this?Thanks!
The text was updated successfully, but these errors were encountered: