v.patch.html 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <h2>DESCRIPTION</h2>
  2. <em>v.patch</em> allows the user to combine any number of
  3. vector maps together to create one composite vector
  4. map. If the table structures are identical, attributes are
  5. transferred to the new table.
  6. <h2>NOTES</h2>
  7. Any vectors that are duplicated among the maps being
  8. patched together (e.g., border lines) will have to be
  9. edited or removed after <em>v.patch</em> is run. Such
  10. editing can be done automatically using
  11. <em><a href="v.clean.html">v.clean</a></em>.
  12. <p>Lines may need to be
  13. snapped with <em><a href="v.clean.html">v.clean</a>
  14. tool=snap,break,rmdupl</em>.
  15. <p>Boundaries may need to be cleaned with
  16. <em><a href="v.clean.html">v.clean</a> tool=break,rmdupl,rmsa</em>
  17. repeatedly until the <em>rmsa</em> tool (Remove small angles at nodes)
  18. no longer modifies any boundaries. If vector topology is still not
  19. clean, boundaries may also need to be snapped with
  20. <em><a href="v.clean.html">v.clean</a> tool=snap,break,rmdupl</em>.
  21. <p>When using the <em>-a</em> flag, the user has to make sure that the
  22. features in the different maps added to the output map do not have
  23. overlapping category numbers, unless identical category numbers
  24. reflect identical attributes, otherwise the attributes of the added
  25. maps are lost. To avoid this, the user can use <em>v.category
  26. option=sum</em> to change category values of some of the maps before
  27. patching.
  28. <h2>EXAMPLES</h2>
  29. Patch together two maps with mixed feature types:
  30. <div class="code"><pre>
  31. v.patch input=geology,streams out=geol_streams
  32. </pre></div>
  33. <br>
  34. Append one map to another:
  35. <div class="code"><pre>
  36. g.copy vect=roads,transport
  37. v.patch -a input=railroads output=transport --overwrite
  38. </pre></div>
  39. <h2>SEE ALSO</h2>
  40. <em><a href="v.clean.html">v.clean</a></em>,
  41. <em><a href="v.build.html">v.build</a></em>,
  42. <em><a href="v.select.html">v.select</a></em>,
  43. <em><a href="v.overlay.html">v.overlay</a></em>
  44. <h2>AUTHORS</h2>
  45. Dave Gerdes, U.S.Army Construction Engineering
  46. Research Laboratory
  47. <br>
  48. Radim Blazek, ITC-Irst, Trento, Italy
  49. <p><i>Last changed: $Date$</i>