r.to.rast3(1grass)


NAME

   r.to.rast3   -  Converts  2D  raster map slices to one 3D raster volume
   map.

KEYWORDS

   raster, conversion, voxel

SYNOPSIS

   r.to.rast3
   r.to.rast3 --help
   r.to.rast3 [-m] input=name[,name,...]  output=name   [tilesize=integer]
   [--overwrite]  [--help]  [--verbose]  [--quiet]  [--ui]

   Flags:
   -m
       Use 3D raster mask (if exists) with output map

   --overwrite
       Allow output files to overwrite existing files

   --help
       Print usage summary

   --verbose
       Verbose module output

   --quiet
       Quiet module output

   --ui
       Force launching GUI dialog

   Parameters:
   input=name[,name,...] [required]
       2D raster maps which represent the slices

   output=name [required]
       Name for output 3D raster map

   tilesize=integer
       The maximum tile size in kilo bytes. Default is 32KB.
       Default: 32

DESCRIPTION

   Converts  2D  raster  map(s)  into one raster3D map. It is important to
   properly set the 3D region settings, especially number  or  layers  and
   depth of layers. If the 2D and 3D region settings are different, the 2D
   resolution will be adjusted to the 3D resolution.

   How r.to.rast3 works

NOTES

   Every 2D raster map is copied as one slice to the raster3D map.  Slices
   are  counted  from  bottom  to  the  top, so the bottom slice has to be
   number 1.
   If less number of 2D raster maps are provided than defined depths,  the
   last  given  2D map is used to fill up the remaining raster3D slices to
   the top.

EXAMPLES

   EXAMPLE 1
   This example shows how to convert 6 maps into one 3D map with 6 layers.
   # Mapset data in Location slovakia3d
   g.region raster=prec_1,prec_2,prec_3,prec_4,prec_5,prec_6 -p
   g.region b=0 t=600 tbres=100 res3=100 -p3
   r.to.rast3 input=prec_1,prec_2,prec_3,prec_4,prec_5,prec_6 output=new_3dmap

   EXAMPLE 2
   This example shows how to convert 3 maps into one 3D map with 6 layers.
   # Mapset data in Location slovakia3d
   g.region b=0 t=600 tbres=100 res3=100 -p3
   r.to.rast3 input=prec_1,prec_2,prec_3 output=new_3dmap

SEE ALSO

    g.region, r3.to.rast, r.to.rast3elev

AUTHOR

   Soeren Gebbert

   Last changed: $Date: 2015-03-20 21:25:22 +0100 (Fri, 20 Mar 2015) $

SOURCE CODE

   Available at: r.to.rast3 source code (history)

   Main index | Raster index | Topics index | Keywords index  |  Graphical
   index | Full index

    2003-2016 GRASS Development Team, GRASS GIS 7.2.0 Reference Manual





Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.





Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.


Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.





Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.


Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.





Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.


Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.