#1161: g.region and r.info decimel issue when using grass python libs
-------------------------+--------------------------------------------------
  Reporter:  isaacullah  |       Owner:  grass-...@…              
      Type:  defect      |      Status:  closed                   
  Priority:  normal      |   Milestone:  6.4.1                    
 Component:  Python      |     Version:  6.4.0                    
Resolution:  invalid     |    Keywords:                           
  Platform:  All         |         Cpu:  All                      
-------------------------+--------------------------------------------------
Changes (by glynn):

  * status:  new => closed
  * resolution:  => invalid


Comment:

 Replying to [ticket:1161 isaacullah]:

 > When running grass.region() and grass.raster_info(), values come out in
 double precision, which is NOT what you get if you run g.region or r.info,
 where they come out in single precision. This can cause region
 misalignments and problems with boolean comparisons in scripts.

 These functions simply parse the (decimal) output from g.region and
 r.info. Python has printf-like formatting operations if you wish to use
 them.

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

_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to