#12 Added an EnvVar to specify the function for updating the observedArea of datastreams #22
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
#12
Summary
Adding environment variables for specifiying what kind of aggregate function to use in update_data_observedArea function
Implementation
SCHEDULED: <2025-05-15 Thu 08:00>
i 2025/05/15 08:14:46 istSOS4
o 2025/05/15 11:06:14
query context method DELETE /query params/ (conn, $1 datastream_id, $2 feature_id )
AND sensorthings.Observation.datastream_id = $1
query context method POST /query params/ (conn, $1 datastream_id, $2 foi_id )
query context method PATCH /query params/ (conn, $1 datastream_id)
Aggregate geometry with ST_ConvexHull from distinct features
We also use it in our dummy data generator.py in the update_datastream_observed_area
TODO [#A] <2025-06-18 Tue 08:00>
DEADLINE: <2025-06-18 Wed>
Rewrites from @ClaudioPrimerano committed, time to refactor and add tests to isolate the new update_data_observedArea functions.py
updating the code is much easier, now lets try testing
[#B] Happy Testing
POSTMAN REQUESTS
[#C] UnHappy Testing