Authentication method changed. UCLouvain users, please use the "UCLouvain SSO" button to connect on the website and use ssh + ssh key ( or https + personnal access token ( in your git clients.

Commit c4e47416 authored by Jonathan Lambrechts's avatar Jonathan Lambrechts
Browse files

fix gpkg with physical tag on field 0

parent f1dcb76e
Pipeline #8385 passed with stages
in 2 minutes
......@@ -264,7 +264,7 @@ class Domain:
"' not found in shapefile")
layerproj = layer.GetSpatialRef()
for i in layer:
phys = i.GetField(physfield) if physfield else "boundary"
phys = i.GetField(physfield) if not (physfield is None) else "boundary"
self._add_geometry(i.geometry(), phys, layerproj, curve_type,
interior, points)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment