Compare commits

..

No commits in common. "61dfb280872bc3dab571144737a7ba3e02bb0001" and "f27e8e6c3d9c7dcfda6c70e5c2722d0f904fc0f3" have entirely different histories.

2 changed files with 7 additions and 11 deletions

2
.gitignore vendored
View File

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

View File

@ -288,15 +288,13 @@ class Orientation:
else:
deleted_fields.append(field_name)
# S'il y a des doublons
if len(deleted_fields) > 0:
# On réexplose les champs sans doublons
layer = processing.run("native:explodehstorefield",
parameters={"INPUT": layers[osm_name],
"FIELD": "other_tags",
"OUTPUT": "memory:",
"EXPECTED_FIELDS": ",".join(expected_fields)},
context=context)["OUTPUT"]
# On réexplose les champs sans doublons
layer = processing.run("native:explodehstorefield",
parameters={"INPUT": layers[osm_name],
"FIELD": "other_tags",
"OUTPUT": "memory:",
"EXPECTED_FIELDS": ",".join(expected_fields)},
context=context)["OUTPUT"]
# On enregistre le layer dans le gpkg
options.layerName = layer_name