Compare commits

...

2 Commits

Author SHA1 Message Date
61dfb28087 Amélioration mineure 2021-03-04 11:57:47 +01:00
0dd87feab5 Ajout du gitgnore 2021-03-04 11:57:20 +01:00
2 changed files with 11 additions and 7 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
*.pyc
*.zip

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],