|
NAMEv.extrude - Extrudes flat vector features to 3D
vector features with defined height.
KEYWORDSvector, geometry, sampling, 3D SYNOPSISv.extrude
Flags:Parameters:
DESCRIPTIONv.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. NOTESv.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. EXAMPLES3D houses with fixed heightv.extrude input=houses output=houses3D height=5 type=area 3D houses with individual heightv.extrude input=houses output=houses3D elevation=dem height_column=height type=area Convert 2D points to 3D vertical lines with fixed heightv.extrude input=geodetic_pts output=points3D height=200 type=point SEE ALSOv.transform, v.drape, v.to.3d wxGUI 3D viewer AUTHORSJachym Cepicky,
SOURCE CODEAvailable at: v.extrude source code (history) Latest change: Friday Apr 07 09:46:47 2023 in commit: 6d461f8a2757fa8e8aca7aeccb200989fc48ff0b Main index | Vector index | Topics index | Keywords index | Graphical index | Full index © 2003-2025 GRASS Development Team, GRASS GIS 8.4.1 Reference Manual
|