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

Update webservices.py #314

Merged
merged 1 commit into from
Jan 24, 2024
Merged

Update webservices.py #314

merged 1 commit into from
Jan 24, 2024

Conversation

bdestombe
Copy link
Collaborator

Two issues are solved:

  • If values for a large area are prompted, the query url gets very long and is not accepted by HHNK polderpeil server. Is now queried in chunks
  • An error in the database of HHNK resulted in duplicate peil definitions. Only use the unambigious entries and leave a note in the logs.

Two issues are solved:
- If values for a large area are prompted, the query url gets very long and is not accepted by HHNK polderpeil server. Is now queried in chunks
- An error in the database of HHNK resulted in duplicate peil definitions. Only use the unambigious entries and leave a note in the logs.
@rubencalje
Copy link
Collaborator

rubencalje commented Jan 23, 2024

This PR adds waterboard-specific info (eg "PEILGEBIEDVIGERENDID") to webservices.py, just like previous commits
1e66726 and 1e66726. I think we should separate the waterboard-specific information from the reading of the data.

@bdestombe
Copy link
Collaborator Author

Hi Ruben,
Thanks for your response. This PR indeed builds on top of the commits of Onno. I am not entirely sure how to proceed here, as I am not that familiar with the various gis servers.

@rubencalje
Copy link
Collaborator

OK, sorry for the blunt comment then. Let's continue the way you propose, and think of an approach to seperate the waterboard-specific information in the future. @OnnoEbbens has some weeks off, so we can better wait unitil he is back with large changes. We can merge this PR I think.

@OnnoEbbens
Copy link
Collaborator

Ah I understand. I should have put the logic for waterboards in waterboards.py and not in webservices.py. I don't remember why I did that. I can fix this, but unfortunately not anytime soon. For now we can merge this as a quick fix and leave an issue open for me to fix this correctly later.

@bdestombe
Copy link
Collaborator Author

bdestombe commented Jan 23, 2024 via email

@OnnoEbbens
Copy link
Collaborator

No harsh feelings from me either :)

I think the arcrest function is only used in waterboards.py so it should not break anything. @rubencalje: please correct me if I am wrong

@bdestombe bdestombe merged commit d730e26 into dev Jan 24, 2024
2 of 3 checks passed
@bdestombe bdestombe deleted the Webservices branch May 15, 2024 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants