Opened 13 years ago
Closed 13 years ago
#3384 closed patch (fixed)
Measure tool ignore 'measure\ellipsoid' QGis settings
Reported by: | stopa85 | Owned by: | mhugent |
---|---|---|---|
Priority: | major: does not work as expected | Milestone: | Version 1.7.0 |
Component: | GUI | Version: | |
Keywords: | measure tool | Cc: | stopa85 |
Must Fix for Release: | No | Platform: | All |
Platform Version: | Awaiting user input: | no |
Description
Measure tool ignore 'measure\ellipsoid' QGis settings and use always WGS 84
this path fix it.
Attachments (1)
Change History (4)
by , 13 years ago
Attachment: | measure.diff added |
---|
comment:1 by , 13 years ago
Type: | bug → patch |
---|
comment:2 by , 13 years ago
Owner: | changed from | to
---|
comment:3 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
The patch is applied in r14992. Thanks, Sergey! I rearranged the code a bit and, following Martins advice, removed the remaining places where QgsMapRenderer::distanceArea() was used.
Note:
See TracTickets
for help on using tickets.
Thanks for the patch, I'm going to review it in detail in the next few days. Afaik, current approach is to use the ellipsoid of the central maprenderers QgsDistanceArea object (rather than calling QSettings in every tool).