[QGIS-trac] [Quantum GIS] #3500: FTOOLS Calculate Area error

Quantum GIS qgis at qgis.org
Fri Feb 18 04:10:13 EST 2011


#3500: FTOOLS Calculate Area error
------------------------------------------------+---------------------------
   Reporter:  enrico80                          |              Owner:  borysiasty   
       Type:  bug                               |             Status:  new          
   Priority:  major: does not work as expected  |          Milestone:  Version 1.7.0
  Component:  Python plugins and bindings       |            Version:               
   Keywords:  ftools                            |   Platform_version:               
   Platform:  Debian                            |           Must_fix:  No           
Status_info:  0                                 |  
------------------------------------------------+---------------------------
 Hi,
 I try to calculate area with ftools add geometry column. I have noted that
 in automatic new field “AREA” have this properties type=real lenght=10 >
 precision=6, this involve an error, some numbers are lost, because the
 Area number have lenght>10.
 Example: if I calculate Piedmont area with Ftools obtain 2539107283
 if I calculate the same Area , add new column (type real lenght=20
 precision=5) and use calc field ($area) I obtain 25391072834.9971.

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/3500>
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