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

GRASS GIS trac at osgeo.org
Sun Jan 12 14:09:32 PST 2014


#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.4                    
Component:  Vector        |     Version:  6.4.2                    
 Keywords:  v.rast.stats  |    Platform:  Linux                    
      Cpu:  x86-32        |  
--------------------------+-------------------------------------------------
Changes (by neteler):

  * milestone:  6.4.3 => 6.4.4


Comment:

 Replying to [comment:14 hamish]:
 ...
 > It happens because the awk command specifically sets the print format to
 "%.2f".
 ...
 > seems this came in with r48058 as part of a bulk merge ...
 >
 >I don't see a reason to keep it as %.2f instead of %.{something}g, any
 hints Otto?

 To which precision should we change this?

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



More information about the grass-dev mailing list