Compare commits
No commits in common. "61dfb280872bc3dab571144737a7ba3e02bb0001" and "f27e8e6c3d9c7dcfda6c70e5c2722d0f904fc0f3" have entirely different histories.
61dfb28087
...
f27e8e6c3d
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,2 +0,0 @@
|
||||
*.pyc
|
||||
*.zip
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user