Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return station co-ordinates (lat/lon) from /api/projects/{proj_id}/stations? #3

Open
JamesSample opened this issue Jan 6, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@JamesSample
Copy link
Contributor

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!

@roarbra roarbra added the enhancement New feature or request label Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants