[Qgis-developer] Measure tool ignore 'measure\ellipsoid' QGis settings

Marco Hugentobler marco.hugentobler at sourcepole.ch
Mon Jan 3 08:22:23 EST 2011


Hi Sergey

Ticket is assigned.

> mTool->canvas()->mapRenderer()->distanceArea()->ellipsoid() return always
> WGS84

If maprenderer does not take the ellipsoid from settings, it's probably a bug.

Regards,
Marco

Am Montag, 3. Januar 2011, um 10.18:10 schrieb Sergey Yakushev:
> Hi.
> 
> I'm author measure_ellipsoid.diff ( http://trac.osgeo.org/qgis/ticket/3240
> ) .
> 
> In file src/app/qgsmeasuredialog.cpp, line 139
> mTool->canvas()->mapRenderer()->distanceArea()->ellipsoid() return always
> WGS84. It not depend on project coordinate systems or "measure\ellpsiod"
> settings.
> 
> I know not good code QGIS. This is a bug or a feature?
> 
> P.S.
> For measure tools I have a path to use 'measure\ellipsoid' (
> http://trac.osgeo.org/qgis/ticket/3384 )
> 
> --
> Thanks


-- 
Dr. Marco Hugentobler
Sourcepole - Linux & Open Source Solutions
Churerstr. 22, CH-8808 Pfäffikon SZ, Switzerland
marco.hugentobler at sourcepole.ch http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee


More information about the Qgis-developer mailing list