Changeset 58765


Ignore:
Timestamp:
Jan 22, 2014, 10:58:40 AM (11 years ago)
Author:
wenzeslaus
Message:

r.mapcalc: add note about eval function variables and existing maps

File:
1 edited

Legend:

Unmodified
Added
Removed
  • grass/trunk/raster/r.mapcalc/r.mapcalc.html

    r58764 r58765  
    580580This example uses unix-like <tt>&lt;&lt; EOF</tt> syntax to provide
    581581input to <em>r.mapcalc</em>.
     582<p>
     583Note that the temporary variables (maps) are not created
     584and thus it does not matter whether they exists or not.
     585In the example above, if map <tt>elev_200</tt> exists it will not be
     586overwritten and no error will be generated.
     587The reason is that the name <tt>elev_200</tt> now denotes the temporary
     588variable (map) and not the existing map.
     589The following parts of the expression will use the temporary <tt>elev_200</tt>
     590and the existing <tt>elev_200</tt> will be left intact and will not be used.
     591If a user want to use the existing map, the name of the temporary variable
     592(map) must be changed.
    582593
    583594<h3>Random number generator initialization</h3>
Note: See TracChangeset for help on using the changeset viewer.