Opened 15 years ago

Closed 15 years ago

#1701 closed bug (fixed)

copy and paste of objects should take care of CRS

Reported by: mlechner Owned by: nobody
Priority: major: does not work as expected Milestone: Version 1.2.0
Component: Projection Support Version: Trunk
Keywords: copy/paste, projections Cc: pcav
Must Fix for Release: Yes Platform: All
Platform Version: Awaiting user input: yes

Description

By copying objects from one vectorlayer to another should take care of different KBS of the layers if they vary (e.g. if On-The-Fly-Projection is used). Right now the copy/patse doesn't work as expected, not taking care of that, because copy/paste is possible, but produces wrong results in those cases.

Change History (6)

comment:1 by lutra, 15 years ago

Cc: pcav added
Milestone: Version 1.0.3Version 1.2.0
Version: 1.0.0HEAD

Still true on qgis 1.2 from trunk.

Pushing the milestone.

comment:2 by homann, 15 years ago

What is 'KBS'???

comment:3 by lutra, 15 years ago

CRS, I guess...

comment:4 by lutra, 15 years ago

Keywords: copy/paste projections added; copy paste KBS removed
Type: enhancementbug

For what I see now on the user manual (tip 21 on page 58 of the qgis 1.1 manual) it seems that when pasting a feature from a layer with a different projection, qgis should reproject it (but with an advice of possibly have the geometry of the pasted layer changed), so the bug should be confirmed.

Please check it and correct me if I'm wrong, because it seems strange to me that a documented feature is not working the right way.



From the manual

CONGRUENCY OF PASTED FEATURES If your source and destination layers use the same projection, then the pasted features will have geometry identical to the source layer. However if the destination layer is a different projection then QGIS cannot guarantee the geometry is identical. This is simply because there are small rounding-off errors involved when converting between projections.

comment:5 by lutra, 15 years ago

Summary: copy and paste of objects should take care of KBScopy and paste of objects should take care of CRS

comment:6 by homann, 15 years ago

Resolution: fixed
Status: newclosed

Fixed in r11409.

Note: See TracTickets for help on using tickets.