File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -404,8 +404,8 @@ Nous souhaitons enregistrer ces informations dans une vraie table avec un nouvea
404
404
Solution plus simple :
405
405
406
406
``` python
407
- from qgis.utils import iface, edit
408
- from qgis.core import QgsFeatureRequest, QgsField
407
+ from qgis.utils import iface
408
+ from qgis.core import QgsFeatureRequest, QgsField, edit
409
409
410
410
from qgis.PyQt.QtCore import QVariant
411
411
@@ -451,8 +451,8 @@ Manipulons désormais la géométrie en ajoutant le centroïde de la commune dan
451
451
TODO, en cours de correction, suppression de la variable ` petite_communes `
452
452
453
453
``` python
454
- from qgis.utils import iface, edit
455
- from qgis.core import QgsFeatureRequest, QgsField
454
+ from qgis.utils import iface
455
+ from qgis.core import QgsFeatureRequest, QgsField, edit
456
456
457
457
layer = iface.activeLayer()
458
458
You can’t perform that action at this time.
0 commit comments