v.extrude - Extrudes flat vector features to 3D vector features with defined height. Optionally the height can be derived from sampling of elevation raster map.
vector, geometry, sampling, 3D
v.extrude v.extrude --help v.extrude [-t] input=name [layer=string] [cats=range] [where=sql_query] [type=string[,string,...]] output=name [zshift=float] [height=float] [height_column=name] [elevation=name] [method=string] [scale=float] [null_value=float] [--overwrite] [--help] [--verbose] [--quiet] [--ui] Flags: -t Trace elevation --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 [required] Name of input vector map Or data source for direct OGR access layer=string Layer number or name ('-1' for all layers) A single vector map can be connected to multiple database tables. This number determines which table to use. When used with direct OGR access this is the layer name. Default: -1 cats=range Category values Example: 1,3,7-9,13 where=sql_query WHERE conditions of SQL statement without 'where' keyword Example: income < 1000 and inhab >= 10000 type=string[,string,...] Input feature type Options: point, line, area Default: point,line,area output=name [required] Name for output vector map zshift=float Shifting value for z coordinates Default: 0 height=float Fixed height for 3D vector features height_column=name Name of attribute column with feature height elevation=name Elevation raster map for height extraction method=string Sampling interpolation method Options: nearest, bilinear, bicubic Default: nearest nearest: Nearest-neighbor interpolation bilinear: Bilinear interpolation bicubic: Bicubic interpolation scale=float Scale factor sampled raster values Default: 1.0 null_value=float Height for sampled raster NULL values
v.extrude creates faces, kernels or 3D lines based on input 2D vector features. Points are converted to 3D vertical lines, lines to faces and areas to volumes (composition of closed set of faces and kernel). If elevation parameter is used then 3D vector features follow the elevation model by using individual elevation values for the vertices. Height for vertices is interpolated from elevation raster map using given interpolation method.
v.extrude extrudes vector features which means that points are converted to vertical lines. Lines and area boundaries are extruded to a set of faces, each segment defines one face. Area centroids are written as kernels. Area as a composition of boundaries and centroid is stored as a closed set of faces and kernel which define a volume. For conversion of 2D points or lines to 3D can be used v.to.3d or v.drape. In opposite to v.extrude, these modules do not extrude vector features, they defines z-coordinate for the features from given parameters or by sampling elevation raster map values. It means that no feature type conversion is applied, points remain still points in the output vector map. Same applies for the lines. v.extrude modifies only features geometry. Feature categories remain untouched and attribute data is copied from input vector map to the output. By default, all features (including features without category) from input vector map are processed (layer=-1). Feature selection can be applied by layer, cats or where parameter.
3D houses with fixed height v.extrude input=houses output=houses3D height=5 type=area 3D houses with individual height v.extrude input=houses output=houses3D elevation=dem height_column=height type=area Convert 2D points to 3D vertical lines with fixed height v.extrude input=geodetic_pts output=points3D height=200 type=point
v.transform, v.extrude, v.drape, v.to.3d wxGUI 3D viewer
Jachym Cepicky, Updated for GRASS 7 by Martin Landa, FBK-irst, Italy and Czech Technical University in Prague, Czech Republic Last changed: $Date: 2014-11-28 17:22:17 +0100 (Fri, 28 Nov 2014) $
Available at: v.extrude source code (history) Main index | Vector index | Topics index | Keywords index | Graphical index | Full index 2003-2016 GRASS Development Team, GRASS GIS 7.2.0 Reference Manual
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 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.
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.
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.