GeoLength

GeoLength[g]

gives the length of the geo path g.

Details and Options

Examples

open allclose all

Basic Examples  (4)

Compute the total length of a geo path on the Earth:

Compute the total length of a path formed by geodesic segments:

Compute the total length of the rhumb lines joining the same points:

Length of the Earth's equator:

Length of a full meridian:

Compute the perimeter of a geo disk:

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)

GeoLength[Line[{p1,p2,}]] is equivalent to GeoLength[GeoPath[{p1,p2,}]] for geo locations pi:

Options  (2)

UnitSystem  (1)

Use the units determined by the value of $UnitSystem:

Specify the unit system to use:

GeoModel  (1)

Length of a geo path on the Earth:

Length of the corresponding path on Mars:

Applications  (2)

Compute the length of the boundary of a country from its polygon:

That value is shorter than the actual length of the boundary, due to approximations in the polygon:

The length of a segment of parallel, or the projection on a parallel of any geo path, is called departure:

Express it in nautical miles:

Properties & Relations  (1)

For a geo path defined by a list of points, GeoLength[GeoPath[list]] is equivalent to GeoDistance[list]:

Wolfram Research (2016), GeoLength, Wolfram Language function, https://reference.wolfram.com/language/ref/GeoLength.html.

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

BibTeX

@misc{reference.wolfram_2024_geolength, author="Wolfram Research", title="{GeoLength}", year="2016", howpublished="\url{https://reference.wolfram.com/language/ref/GeoLength.html}", note=[Accessed: 21-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_geolength, organization={Wolfram Research}, title={GeoLength}, year={2016}, url={https://reference.wolfram.com/language/ref/GeoLength.html}, note=[Accessed: 21-December-2024 ]}