[GRASS-dev] Re: [GRASS GIS] #185: division with dbf driver leads to protocol error

GRASS GIS trac at osgeo.org
Tue Oct 21 09:07:58 EDT 2008


#185: division with dbf driver leads to protocol error
--------------------------+-------------------------------------------------
  Reporter:  mlennert     |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect       |      Status:  closed                   
  Priority:  major        |   Milestone:  6.4.0                    
 Component:  default      |     Version:  6.3.0                    
Resolution:  worksforme   |    Keywords:  dbf division             
  Platform:  Unspecified  |         Cpu:  Unspecified              
--------------------------+-------------------------------------------------
Changes (by mlennert):

  * status:  new => closed
  * platform:  => Unspecified
  * resolution:  => worksforme
  * cpu:  => Unspecified

Comment:

 The problem is division by 0, if I use


 {{{
 v.db.update map=ilots col=prop_popmo value='(P_UNDER_5+P5_TO_9)/TOTAL_POP'
 where="TOTAL_POP>0"
 }}}

 it works.

 Maybe the error message could be enhanced, but it's not really a bug, so
 closing it.

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


More information about the grass-dev mailing list