Commit
- Loading branch information
There are no files selected for viewing
7 comments
on commit bae6d56
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jef-n any chance to backport this to 2.18 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this issue is even a bit broader....
taking the example of the issue (canvas in epsg 2056, layer in 21781 with custom datum transform)
if you use the select map tool and try to select features on the 21781 layer, the map tool does not respect the transformation either....
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ping @andreasneumann
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
snapping is also affected....
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@3nids actually the issue is everywhere. IMO datum transforms need a total rethink and rewrite - the current approach just isn't working.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nyalldawson do you have something in mind already? I think this is a major concern in Switzerland for the upcoming months/years, and I guess it'll be easier to fix this before 3.0.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree. Datum transformations are currently quite important in Switzerland. Some cantons already migrated everything, others are in transition or will do the migration soon.
If you make mSrcLayer a QPointer < QgsVectorLayer> then all this is taken care of for you, and mSrcLayer will be automatically cleared if the layer is deleted.