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)

measure.diff (3.6 KB ) - added by stopa85 13 years ago.

Download all attachments as: .zip

Change History (4)

by stopa85, 13 years ago

Attachment: measure.diff added

comment:1 by lutra, 13 years ago

Type: bugpatch

comment:2 by mhugent, 13 years ago

Owner: changed from nobody to mhugent

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

comment:3 by mhugent, 13 years ago

Resolution: fixed
Status: newclosed

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.