#49 Extends sanitize db command
* 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
This commit is contained in:
@@ -158,10 +158,16 @@ class ParcelWFSFetcher(AbstractWFSFetcher):
|
||||
"wfs:FeatureCollection",
|
||||
{},
|
||||
)
|
||||
features += collection.get(
|
||||
|
||||
members = collection.get(
|
||||
"wfs:member",
|
||||
[],
|
||||
)
|
||||
if len(members) > 1:
|
||||
features += members
|
||||
else:
|
||||
features += [members]
|
||||
|
||||
if collection.get("@next", None) is not None:
|
||||
start_index += self.count
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user