[GRASS-dev] [GRASS GIS] #1747: v.rast.stats on dbf shapefile not enough precision even with DOUBLE PRECISION

GRASS GIS trac at osgeo.org
Thu May 2 14:49:20 PDT 2013


#1747: v.rast.stats on dbf shapefile not enough precision even with DOUBLE
PRECISION
--------------------------+-------------------------------------------------
 Reporter:  vesnikos      |       Owner:  grass-dev@…              
     Type:  defect        |      Status:  new                      
 Priority:  normal        |   Milestone:  6.4.3                    
Component:  Vector        |     Version:  6.4.2                    
 Keywords:  v.rast.stats  |    Platform:  Linux                    
      Cpu:  x86-32        |  
--------------------------+-------------------------------------------------

Comment(by hamish):

 Replying to [comment:4 elcol]:
 > I can confirm this bug. I also only get 2 decimals instead of double
 precision
 > for column attributes, also when using v.db.select. I am using GRASS
 6.4.2

 is the database backend dbf?

 if so, can you look at it with a utility like 'dbview' or
 {Open|Libre}Office Calc and inspect the data values in it? Perhaps the raw
 data is that way and v.db.* is just rounding off the .000000000s


 Hamish

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1747#comment:5>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list