m.measure(1grass)
π m.measure β the manual, but make it cute π
okay bestie, so this is m.measure from the GRASS User's Manual, and it is literally the tool that measures the lengths and areas of features. that's it. that's the job. icon behavior.
KEYWORDS: miscellaneous, measurement, distance, area π
β¨ SYNOPSIS β¨
m.measure
m.measure --help
m.measure [-g] coordinates=east,north[,east,north,...] [units=string]
format=name [--help] [--verbose] [--quiet] [--ui]
πΈ FLAGS πΈ
-gβ Shell script style [deprecated]. this one is on its way out, bestie π it's deprecated and will be removed in a future release. useformat=shellinstead. no cap.--helpβ shows you the usage summary. your lil cheat sheet π«Ά--verboseβ verbose module output, aka it tells you everything it's doing--quietβ quiet module output, aka it shuts up and just works--uiβ forces the GUI dialog to launch, for when you want the pretty buttons β¨
π¦ PARAMETERS π¦
coordinates=east,north[,east,north,...][required] β the coordinates. yes queen you actually have to give it these, it's required.units=stringβ the units. default isproject map units. your options are:miles,feet,meters,kilometers,acres,hectaresπformat=name[required] β output format. default isplain. your options:plainβ Plain text outputshellβ shell script style outputjsonβ JSON (JavaScript Object Notation)
π DESCRIPTION π
m.measure gives you a way to measure the lengths and areas of lines and polygons. and the area tea? you can state areas in acres, hectares, square miles, square feet, square meters and square kilometers. versatility, she ate. π
π EXAMPLES π
here's a distance example in a latitude-longitude coordinate reference system (on great circle, i.e. an orthodrome):
Bonn_DE="7.09549,50.73438"
Philadelphia_US="-75.16379,39.95233"
m.measure coordinates="$Bonn_DE,$Philadelphia_US" units=kilometers
Length: 6217.916452 kilometers
Visualization (with d.geodesic) of m.measure distance example
(that visualization line is about using d.geodesic to see that distance example, iykyk π§)
now for the North Carolina sample dataset moment β here are four points describing a square of 1000m side length:
m.measure units=meters \
coordinates=922000,2106000,923000,2106000,923000,2107000,922000,2107000
Length: 3000.000000 meters
Area: 1000000.000000 square meters
# script style output:
m.measure -g units=hectares \
coordinates=922000,2106000,923000,2106000,923000,2107000,922000,2107000
units=meters,square meters
length=3000.000000
area=1000000.000000
look at those numbers pop off π₯
π SEE ALSO π
d.geodesic
π AUTHORS π
- Glynn Clements
- Some updates by Martin Landa, CTU in Prague, Czech Republic
- Derived from
d.measureby James Westervelt, Michael Shapiro, U.S. Army Construction Engineering Research Laboratory
the origin story is giving collaborative excellence fr fr π
π SOURCE CODE π
Available at: m.measure source code (history)
Latest change: Monday Nov 03 07:16:48 2025 in commit: c96796774942e46bbababcd652d3986d4e295665
Main index | Miscellaneous index | Topics index | Keywords index | Graphical index | Full index
Β© 2003-2026 GRASS Development Team, GRASS 8.5.0 Reference Manual
aaaand that's the whole page bestie, every single flag, unit, format and commit hash preserved, periodt π
this was m.measure(1grass) from GRASS 8.5.0 β go forth and measure some areas, you main character π¦β¨
π¦ where this page comes from
- alpine 3.24: grass-gis-doc 8.5.0-r1 Β· GPL-2.0-or-later
- ubuntu stonking: grass-doc 8.5.0-1ubuntu1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms