Feature request #3384

Measure tool ignore 'measure\\ellipsoid' QGis settings

Added by Sergey Yakushev almost 11 years ago. Updated almost 11 years ago.

Status:Closed
Priority:Low
Assignee:Marco Hugentobler
Category:GUI
Pull Request or Patch supplied: Resolution:fixed
Easy fix?:No Copied to github as #:13444

Description

Measure tool ignore 'measure\\ellipsoid' QGis settings and use always WGS 84

this path fix it.

measure.diff Magnifier (3.62 KB) Sergey Yakushev, 2011-01-03 01:14 AM

History

#1 Updated by Marco Hugentobler almost 11 years ago

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

#2 Updated by Marco Hugentobler almost 11 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

The patch is applied in 862024a7 (SVN r14993). Thanks, Sergey!
I rearranged the code a bit and, following Martins advice, removed the remaining places where QgsMapRenderer::distanceArea() was used.

Also available in: Atom PDF