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

GRASS GIS trac at osgeo.org
Fri Mar 13 04:38:53 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 hellik):

 Replying to [comment:2 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

 i tried it on the wx-cmd-line (osgeo4w, win vista) without quotation marks
 and the calculation is done.

 maybe there could be a hint for this in
 http://skagit.meas.ncsu.edu/~helena/grasswork/grassbookdat07/ncexternal/grasstestrast.txt


 helmut

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


More information about the grass-dev mailing list