[GRASS-dev] Re: [GRASS GIS] #528: wxGUI cmd: r.mapcalc fails

GRASS GIS trac at osgeo.org
Fri Mar 13 04:03:02 EDT 2009


#528: wxGUI cmd: r.mapcalc fails
----------------------+-----------------------------------------------------
  Reporter:  neteler  |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect   |      Status:  new                      
  Priority:  major    |   Milestone:  6.4.0                    
 Component:  wxGUI    |     Version:  svn-develbranch6         
Resolution:           |    Keywords:                           
  Platform:  All      |         Cpu:  All                      
----------------------+-----------------------------------------------------
Comment (by martinl):

 Replying to [ticket:528 neteler]:
 {{{
 > r.mapcalc "developed_lake=if(landuse96_28m==1 || landuse96_28m==2,
 lakes_buff, null())"
 > syntax error, unexpected $end, expecting '='
 > Parse error
 }}}
 > Maybe the " chars are not protected?

 yes, anyway it should without quotation marks

 {{{
 r.mapcalc developed_lake = if(landuse96_28m==1 || landuse96_28m==2,
 lakes_buff, null())
 }}}

 Martin

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


More information about the grass-dev mailing list