49_Parcel_calculation #56

Merged
mpeltriaux merged 9 commits from 49_Parcel_calculation into master 2022-01-05 15:27:48 +01:00
Owner

Implements #49

Detail can be found here: SGD-Nord/konova#49 (comment)

# Implements #49 Detail can be found here: https://git.naturschutz.rlp.de/SGD-Nord/konova/issues/49#issuecomment-2117
mpeltriaux added 9 commits 2022-01-05 15:27:07 +01:00
* introduces new models: Parcel and District
* fixes bug in GeometryConflict conflict checking
* WIP: introduces new konova/utils/wfs/spatial holding SpatialWFSFetcher, which can be fed any geometry and it returns found features
* WIP: adds tests for wfs fetching
* updates requirements.txt
* refactors WFS fetching to proper POST handling
* adds authentication support to WFS handling
* reduces dummy geometry for tests to a small area to reduce test network traffic overhead
* implements update routine for Geometry model
* reorganizes fields of Parcel and District
* adds tests
* simplifies usage of ParcelWFSFetcher
* extends sanitize db command to remove unrelated parcels and district from the database
* fixes bug where single parcel wfs match would lead to unexpected behaviour
* adds admin interface for parcels and districts
* adds updating of parcels in case of SimpleGeomForm saving
* adds update_all_parcels command which can be used e.g. with cronjob once a month to update all parcels and districts
* adds rendering for detail view
* adds new includable html snippet for parcel rendering
* refactors generic includables in konova/ app into konova/templates/includes/...
* fixes bug where parcels have been reused from the database due to wrong model structure
* adds get_underlying_parcels() for Geometry model
* adds get_underlying_parcels() for GeoReferencedMixin models
* fixes bug where missing geometry would lead to an error during geometry conflict check
* removes unused wfs attribute from AbstractWFSFetcher
* adds/updates translations
* adds parcel displaying on public reports
* fixes bug in EMA where autocomplete js would not load for modal forms
* fixes bug where BaseContext cached data from last request and reused it, if not overwritten
* improves the filtering of annual report timespan on a date base instead of timestamp base
mpeltriaux merged commit e618d454e2 into master 2022-01-05 15:27:48 +01:00
mpeltriaux deleted branch 49_Parcel_calculation 2022-01-05 15:27:55 +01:00
Sign in to join this conversation.
No description provided.