m.measure(1)
β¨ m.measure β¨
okay bestie, welcome to the GRASS GIS User's Manual page for m.measure(1) β it's giving measurement era π
π NAME π
m.measure β measures the lengths and areas of features. that's it, that's the whole job, and it eats every time π
π KEYWORDS π
miscellaneous, measurement, distance, area
πΈ SYNOPSIS πΈ
m.measure
m.measure --help
m.measure [-g] coordinates=east,north[,east,north,...] [units=string]
[--help] [--verbose] [--quiet] [--ui]
π© Flags π©
-gβ shell script style β¨--helpβ prints the usage summary, for when you're like "wait what"--verboseβ verbose module output, aka it tells you everything π--quietβ quiet module output, aka it tells you nothing π€«--uiβ forces the GUI dialog to launch, main character energy for your mouse π±οΈ
π Parameters π
coordinates=east,north[,east,north,...][required] β the coordinates, bestie. you literally cannot skip this one. it's required fr frunits=stringβ the units π¦- Default: project map units
- Options:
miles,feet,meters,kilometers,acres,hectares
π DESCRIPTION π
so m.measure hands you a whole way to measure the lengths and areas of lines and polygons π«Ά no cap. and the areas? they can be stated in acres, hectares, square miles, square feet, square meters and square kilometers. iconic behavior honestly π
π EXAMPLES π
βοΈ distance example, orthodrome style
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 π
π² square example, North Carolina sample dataset
as an example for the North Carolina sample dataset, here 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
and now the script style output moment:
# 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
π 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
π¦ SOURCE CODE π¦
Available at: m.measure source code (history)
Accessed: Saturday Jan 17 05:41:36 2026
Main index | Miscellaneous index | Topics index | Keywords index | Graphical index | Full index
Β© 2003-2025 GRASS Development Team, GRASS GIS 8.4.2 Reference Manual
and that's the whole page bestie, you ate that πβ¨ mwah π this was GRASS 8.4.2, m.measure(1), signing off π¦π
π¦ where this page comes from
- fedora 44: grass 8.4.2-4.fc44 Β· 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