Merge pull request '# Bugfix parcel updating' (#79) from master into Docker
Reviewed-on: SGD-Nord/konova#79
This commit is contained in:
commit
14c42217c2
@ -180,12 +180,15 @@ class ParcelWFSFetcher(AbstractWFSFetcher):
|
||||
|
||||
members = collection.get(
|
||||
"wfs:member",
|
||||
[],
|
||||
None,
|
||||
)
|
||||
if len(members) > 1:
|
||||
features += members
|
||||
else:
|
||||
features += [members]
|
||||
if members is not None:
|
||||
if len(members) > 1:
|
||||
# extend feature list with found list of new feature members
|
||||
features += members
|
||||
else:
|
||||
# convert single found feature member into list and extent feature list
|
||||
features += [members]
|
||||
|
||||
if collection.get("@next", None) is not None:
|
||||
start_index += self.count
|
||||
|
Loading…
Reference in New Issue
Block a user