i tried (i never tried before...) to write a simple python code like action in QGIS on my "XXX" vector layer that:
- open a layer "YYY"
- copy the selected feature on my "XXX"layer
- paste the selected feature in the "YYY" layer
Point 1) work ok, but point 2) don't work
Here is my code:
qgis.utils.iface.addVectorLayer("/home/stefano/Documenti/YYY.shp", "YYY", "ogr");
qgis.utils.iface.actionCopyFeatures()
No comments:
Post a Comment