Amélioration mineure

This commit is contained in:
Djedouas 2021-03-04 11:57:47 +01:00
parent 0dd87feab5
commit 61dfb28087

View File

@ -288,6 +288,8 @@ class Orientation:
else: else:
deleted_fields.append(field_name) deleted_fields.append(field_name)
# S'il y a des doublons
if len(deleted_fields) > 0:
# On réexplose les champs sans doublons # On réexplose les champs sans doublons
layer = processing.run("native:explodehstorefield", layer = processing.run("native:explodehstorefield",
parameters={"INPUT": layers[osm_name], parameters={"INPUT": layers[osm_name],