GRASS logo


v.profile.points - Creates a profile (transect) from points


vector, points, profile, transect, lidar, point cloud


v.profile.points --help
v.profile.points [-z] [line_input=name] [coordinates=east,north[,east,north,...]] [point_input=name] [file_input=name] output=name [width=float] [--overwrite] [--help] [--verbose] [--quiet] [--ui]


Start the z coordinates at 0 instead of the actual height
Allow output files to overwrite existing files
Print usage summary
Verbose module output
Quiet module output
Force launching GUI dialog


Vector map with a single line (with 2 points)
Vector line prepared ahead
Line coordinates (x,y,x,y)
Two pairs of coordinates as an alternative to a vector line
Vector map with points
Or data source for direct OGR access
LAS (or LAZ) file with a point cloud
File to be imported using
output=name [required]
Name for output vector map
Width of profile in map units
Default with is 5% of the profile length

Table of contents


v.profile.points creates profile (transect) from vector point map or a lidar point cloud stored in a LAS file.
r.profile.points sample output
Figure: Profile (transect) of a lidar point cloud, closer points are darker, further points are lighter

Workflow in GUI

First Map Display should contain some base layers such as point density raster or digital elevation model. First Map Display should contain the resulting profile or profiles. Optionally a grid overlay can be added. The "Zoom to selected map layers" button in the Map Display toolbar should be used to zoom to the newly created profile. The coordinates option in the Line tab can be activated, deactivated, or cleared during the work as need.
r.profile.points sample output
Figure: Creating the profile in GUI: running module from the top left window; selecting line points in the Map Display in the top right; resulting profile in the bottom.


ASCII files such as CSV can be profiled after import and raster maps can be profiles after conversion to vector points. It is advantageous to limit the import or the conversion just to the area of interest to avoid unnecessary overhead.


v.profile.points input_file=.../points.las output=points_profile width=5 \


Vaclav Petras, NCSU GeoForAll Lab


Available at: v.profile.points source code (history)

Latest change: Thursday Feb 03 09:32:35 2022 in commit: f17c792f5de56c64ecfbe63ec315307872cf9d5c

Main index | Vector index | Topics index | Keywords index | Graphical index | Full index

© 2003-2024 GRASS Development Team, GRASS GIS 8.3.3dev Reference Manual