qwat / QWAT

TEKSI Water module (project QWAT) - QGIS project
https://www.teksi.ch
GNU General Public License v2.0
58 stars 31 forks source link

copy of a selection of features #139

Open dsavary opened 8 years ago

dsavary commented 8 years ago

Description of the tool: Copy / paste a selection of features by giving the start point and a destination point. The snapping options should be activated in order to paste the feature by snapping on a reference feature. The attributes are preserved except for the ID of the feature. Ability to paste the object into another editing layer.

3nids commented 8 years ago

I would propose to extend the paste action, and have options:

See issues #133

dsavary commented 8 years ago

Development in progress , you can look the code here VDLTools Please test the tool and report the bug. At the moment, we create only one tool bar for several tool. For a generic use, we could split this tool bar in several block of plugin

dsavary commented 8 years ago

Is there any news about developments in QGIS Core for this functionality? For which version of QGIS ?

dsavary commented 7 years ago

I tested this new tool (Copy and move selection) in QGIS 2.99 (Window). Some comment: The visual feedback of snapping (symbol) is not the same as the other basic CAD tool (cross). perhaps too small. Why ? There is a bug when you use this tool and snap the feature to a 3D line . If the z coordinate of the line is equal to 0 , the snapping is precise, else the snapping is not precise. Demo GIF : https://share.oslandia.net/public/dfab2f @3nids

3nids commented 7 years ago

@wonder-sk can you have a quick look to the demo? Does this snapping issue speak to you?

wonder-sk commented 7 years ago

Haven't seen anything like that before. Snapping routines should only consider 2D coordinates. Maybe a bug in the move/copy feature map tool?

3nids commented 7 years ago

looking into it

3nids commented 7 years ago

hopefully fixed in https://github.com/qgis/QGIS/commit/b3bd45b052cd4a0a6e0030a91b701121b5a948c2

@dsavary can you test and let me know?

dsavary commented 7 years ago

@3nids I test with QGIS 2.99 (009e47e) and it seems to be working well with 3d layers. Thanks ! However, it's difficult to use the tool "Copy / move selection" without seeing snapping symbol (red cross) . The snapping works but no symbols appear on the map. A bug ?

dsavary commented 6 years ago

@haubourg In QGIS 3.1 , I test the move or copy selection tool . We cannot well see the snapping symbols (Pink cross) even though the snapping mode is active. It would be good if we can fix this bug and close this issue.