raster3dintro.html 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <html>
  3. <head>
  4. <title>3D Raster data (voxel) processing in GRASS GIS</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  6. <meta name="Author" content="Markus Neteler/GRASS Development Team">
  7. <link rel="stylesheet" href="grassdocs.css" type="text/css">
  8. </head>
  9. <body bgcolor="white">
  10. <img src="grass_logo.png" alt="GRASS logo"><hr align=center size=6 noshade>
  11. <!-- meta page description: 3D Raster data (voxel) introduction -->
  12. <h2>3D Raster data (voxel) in GRASS GIS</h2>
  13. <h3>3D Raster (voxel) import</h3>
  14. The module <a href="r3.in.ascii.html">r3.in.ascii</a> supports
  15. generic x,y,z import. Alternatively, voxels can be generated
  16. from 3D point vector data (<a href="v.to.rast3.html">v.to.rast3</a>).
  17. Always the full map is imported.
  18. Volumes can also be created based on 2D elevation map(s) and value raster map(s)
  19. (<a href="r.to.rast3elev.html">r.to.rast3elev</a>). Alternatively,
  20. a volume can be composed of several 2D raster map slices which are
  21. merged into one 3D raster volume map (<a href="r.to.rast3.html">r.to.rast3</a>).
  22. <h3>Voxel region settings and 3D MASK</h3>
  23. GRASS 3D raster map processing is always performed in the current 3D region
  24. settings (see <a href="g.region.html">g.region</a>, <em>-p3</em> flags), i.e.
  25. the current region extent, vertical extent and current 3D resolution are used.
  26. If the 3D resolution differs from that of the input raster map(s),
  27. on-the-fly resampling is performed (nearest neighbor resampling).
  28. If this is not desired, the input map(s) has/have to be reinterpolated
  29. beforehand with one of the dedicated modules.
  30. Masks can be set (<a href="r3.mask.html">r3.mask</a>).
  31. <h3>Voxel operations</h3>
  32. Powerful 3D map algebra is implemented in <a href="r3.mapcalc.html">r3.mapcalc</a>.
  33. <h3>Voxel conversion to vector or 2D raster maps</h3>
  34. 3D vector point data can be converted to a GRASS 3D raster map
  35. (<a href="v.to.rast3.html">v.to.rast3</a>).
  36. Layers from a 3D raster map can be converted to a 2D raster map
  37. (<a href="r3.to.rast.html">r3.to.rast</a>).
  38. Cross sectional 2D raster map can be extracted from 3D raster map based
  39. on a 2D elevation map (<a href="r3.cross.rast.html">r3.cross.rast</a>).
  40. <h3>Voxel statistics</h3>
  41. Volume statistics can be calculated with <a href="r3.stats.html">r3.stats</a>
  42. and <a href="r3.univar.html">r3.univar</a>.
  43. <h3>Voxel interpolation</h3>
  44. From 3D vector points, GRASS 3D raster maps can be interpolated
  45. (<a href="v.vol.rst.html">v.vol.rst</a>). Results are volumes,
  46. or 2D raster maps can be also extracted.
  47. <h3>Voxel export</h3>
  48. GRASS 3D raster maps can be exported to VTK (<a href="r3.out.vtk.html">r3.out.vtk</a>).
  49. VTK files can be visualized with the
  50. <em><a href="http://www.vtk.org">VTK Toolkit</a></em>,
  51. <em><a href="http://www.paraview.org">Paraview</a></em> and
  52. <em><a href="http://mayavi.sourceforge.net">MayaVi</a></em>.
  53. GRASS 2D raster maps can be exported to VTK with <a href="r.out.vtk.html">r.out.vtk</a>,
  54. GRASS vector maps can be exported to VTK with <a href="v.out.vtk.html">v.out.vtk</a>.
  55. <p>
  56. Alternatively, GRASS 3D raster maps can be imported and exported from/to Vis5D
  57. (<a href="r3.in.v5d.html">r3.in.v5d</a>, <a href="r3.out.v5d.html">r3.out.v5d</a>).
  58. Note that Vis5D is limited in the number of supported voxels.
  59. <p>
  60. Finally, export to 3D ASCII is also available (<a href="r3.out.ascii.html">r3.out.ascii</a>).
  61. <h3>See also</h3>
  62. <a href=rasterintro.html>Introduction to GRASS raster map processing</a>
  63. <HR>
  64. <P><a href="index.html">Main index</a> - <a href="raster3D.html">raster3D index</a> - <a href="full_index.html">full index</a>
  65. <P>&copy; 2008 <a href="http://grass.osgeo.org">GRASS Development Team</a></P>
  66. </body>
  67. </html>