QWAT icon indicating copy to clipboard operation
QWAT copied to clipboard

copy of a selection of features

Open dsavary opened this issue 8 years ago • 10 comments

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.

dsavary avatar Jun 10 '16 15:06 dsavary

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

  • paste and move
  • paste and rotate
  • paste and offset

See issues #133

3nids avatar Jun 13 '16 08:06 3nids

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 avatar Aug 16 '16 08:08 dsavary

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

dsavary avatar Sep 14 '16 08:09 dsavary

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

dsavary avatar Jun 02 '17 13:06 dsavary

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

3nids avatar Jun 12 '17 12:06 3nids

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

wonder-sk avatar Jun 12 '17 13:06 wonder-sk

looking into it

3nids avatar Jun 12 '17 15:06 3nids

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

@dsavary can you test and let me know?

3nids avatar Jun 12 '17 19:06 3nids

@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 avatar Jun 21 '17 15:06 dsavary

@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.

dsavary avatar Apr 17 '18 15:04 dsavary