[QGIS-trac] Re: [Quantum GIS] #3296: Areas and length from field calculator are different to derived or measuared results, when on the fly projection is on

Quantum GIS qgis at qgis.org
Tue Dec 7 11:09:25 EST 2010


#3296: Areas and length from field calculator are different to derived or
measuared results, when on the fly projection is on
------------------------------------------------+---------------------------
   Reporter:  gespiel                           |              Owner:  jef          
       Type:  enhancement                       |             Status:  new          
   Priority:  major: does not work as expected  |          Milestone:  Version 1.7.0
  Component:  Vectors                           |            Version:  Trunk        
   Keywords:                                    |   Platform_version:  XP sp3       
   Platform:  Windows                           |           Must_fix:  No           
Status_info:  0                                 |  
------------------------------------------------+---------------------------

Comment(by mhugent):

 Hi all

 The reason is that the field calculator does not take the target
 projection for measurement (and uses the default WGS84 ellipsoid), see
 qgssearchstring.cpp:145. It should probably read the ellipsoid from the
 options and set the target projection for measuring.

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/3296#comment:2>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list