r.to.vect.html 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <h2>DESCRIPTION</h2>
  2. <em>r.to.vect</em> scans the named <b>input</b> raster map
  3. layer, extracts points, lines or area edge features from it, converts data
  4. to GRASS vector format.
  5. <h3>Points</h3>
  6. The <em>r.to.vect</em> program extracts data from a GRASS raster map layer and stores output
  7. in a new GRASS <em>vector</em> file.
  8. <h3>Lines</h3>
  9. <em>r.to.vect</em> assumes that the <em>input</em> map has been thinned
  10. using <em><a href="r.thin.html">r.thin</a></em>.
  11. <p>
  12. <em>r.to.vect</em> extracts vectors (aka, "arcs") from a
  13. raster map. These arcs may represent linear features
  14. (like roads or streams), or may represent area edge
  15. features (like political boundaries, or soil mapping
  16. units).
  17. <p>
  18. <em><a href="r.thin.html">r.thin</a></em> and <em>r.to.vect</em>
  19. may create excessive nodes at every junction, and may create small spurs
  20. or "dangling lines" during the thinning and vectorization process.
  21. These excessive nodes and spurs may be removed using
  22. <em><a href="v.clean.html">v.clean</a></em>.
  23. <h3>Areas</h3>
  24. <em>r.to.vect</em> first traces the perimeter of each unique
  25. area in the raster map layer and creates vector data to
  26. represent it. The cell category values for the raster map
  27. layer will be used to create attribute information for the
  28. resultant vector area edge data.
  29. <p>
  30. A true vector tracing of the area edges might appear
  31. blocky, since the vectors outline the edges of raster data
  32. that are stored in rectangular cells. To produce a
  33. better-looking vector map, <em>r.to.vect</em> smoothes the
  34. corners of the vector data as they are being extracted. At
  35. each change in direction (i.e., each corner), the two
  36. midpoints of the corner cell (half the cell's height and
  37. width) are taken, and the line segment connecting them is
  38. used to outline this corner in the resultant vector map.
  39. (The cell's cornermost node is ignored.) Because vectors
  40. are smoothed by this program, the resulting vector map will
  41. not be "true" to the raster map from which it was created.
  42. The user should check the resolution of the geographic
  43. region (and the original data) to estimate the possible
  44. error introduced by smoothing.
  45. <p>
  46. <em>r.to.vect</em> extracts only area edges from the named raster input file.
  47. If the raster map contains other data (i.e., line edges, or point data) the
  48. output may be wrong.
  49. <h2>BUGS</h2>
  50. For feature=line the input raster map MUST be thinned by
  51. <em><a href="r.thin.html">r.thin</a></em>;
  52. if not, <em>r.to.vect</em> may crash.
  53. <h2>AUTHOR</h2>
  54. <b>Points</b><br>
  55. Bill Brown<br>
  56. <br>
  57. <b>Lines</b><br>
  58. Mike Baba<br>
  59. DBA Systems, Inc.<br>
  60. 10560 Arrowhead Drive<br>
  61. Fairfax, Virginia 22030<br>
  62. <br>
  63. <b>Areas</b><br>
  64. <em>Original</em> version of <em>r.poly</em>:
  65. <br>
  66. Jean Ezell and Andrew Heekin,
  67. <br>
  68. U.S. Army Construction Engineering
  69. Research Laboratory
  70. <p><em>Modified</em> program for smoothed lines:
  71. <br>
  72. David Satnik,
  73. Central Washington University
  74. <br>
  75. Updated 2001 by Andrea Aime, Modena, Italy<br>
  76. <br>
  77. <b>Update</b><br>
  78. Original r.to.sites, r.line and r.poly merged and updated to 5.7 by Radim Blazek
  79. <p><i>Last changed: $Date$</i>