g.remove.html 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <h2>DESCRIPTION</h2>
  2. <em>g.remove</em> allows the user to remove specified data
  3. base element files from the current mapset.
  4. <h2>EXAMPLE</h2>
  5. For example, the below command will cause the raster maps
  6. named <em>soils</em>, <em>slope</em>, and <em>temp</em>,
  7. the vector maps named <em>roads</em> and <em>rail</em>,
  8. and the
  9. <a href="i.group.html">imagery</a> group files
  10. named <em>nhap.1</em> and <em>nhap.2</em>, and these files'
  11. associated support files (e.g., cell header files, category
  12. files, etc.), to be removed from the user's current
  13. mapset.
  14. <div class="code"><pre>
  15. g.remove rast=soils,slope,temp vect=roads,rail group=nhap.1,nhap.2
  16. </pre></div>
  17. <h2>NOTE</h2>
  18. If a particular data base element file has support files
  19. associated with it (e.g., as is commonly the case with
  20. raster maps), <em>g.remove</em> will remove these support
  21. files along with the data base element file specified.
  22. <p>
  23. The user can only use <em>g.remove</em> to remove data
  24. files existing under the user's <em>current mapset</em>.
  25. <p>
  26. To remove multiple files, the script <em>g.mremove</em> may be used.
  27. <h2>FILES</h2>
  28. <kbd>$GISBASE/etc/element_list</kbd> lists the element
  29. types whose files can be removed by the user.
  30. <h2>SEE ALSO</h2>
  31. <em><a href="g.copy.html">g.copy</a></em><br>
  32. <em><a href="g.list.html">g.list</a></em><br>
  33. <em><a href="g.rename.html">g.rename</a></em><br>
  34. <em>g.mremove</em>
  35. <h2>AUTHOR</h2>
  36. Michael Shapiro,
  37. U.S.Army Construction Engineering
  38. Research Laboratory
  39. <p><i>Last changed: $Date$</i>