GeoLength
GeoLength[g]
gives the length of the geo path g.
Details and Options
- The path g in GeoLength[g] can be any one-dimensional geo primitive, such as GeoPath, GeoCircle, or GeoVisibleRegionBoundary.
- GeoLength[GeoPath[{p1,p2,…}]] computes the length of the path formed by geodesic segments joining the locations pi.
- JoinedCurve and GeoGroup can be used to combine multiple paths.
- GeoLength[g] returns a Quantity object with units of length.
- GeoLength[{g1,g2,…}] gives {GeoLength[g1],GeoLength[g2],…}.
- Possible options of GeoLength include:
-
GeoModel Automatic model of the Earth or celestial body UnitSystem $UnitSystem unit system to use in the result
Examples
open allclose allBasic Examples (4)
Scope (3)
Compute the length of different one-dimensional geo elements:
Length of the perimeter of a region with holes, as a single joined object:
It can also be obtained by adding the lengths of the outer and inner curves:
Paths of different types can be combined with GeoGroup:
Generalizations & Extensions (1)
Options (2)
UnitSystem (1)
Use the units determined by the value of $UnitSystem:
Applications (2)
Properties & Relations (1)
For a geo path defined by a list of points, GeoLength[GeoPath[list]] is equivalent to GeoDistance[list]:
Text
Wolfram Research (2016), GeoLength, Wolfram Language function, https://reference.wolfram.com/language/ref/GeoLength.html.
CMS
Wolfram Language. 2016. "GeoLength." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/GeoLength.html.
APA
Wolfram Language. (2016). GeoLength. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/GeoLength.html