PRODUCTS
Mathematica
Mathematica Home Edition
Mathematica for Students
Mathematica for the Classroom
grid
Mathematica
Wolfram Lightweight Grid Manager
web
Mathematica
Mathematica Player
(free download)
Mathematica Player Pro
Wolfram
Workbench
Mathematica
Applications
SOLUTIONS
Engineering
Aerospace Engineering & Defense
Chemical Engineering
Electrical Engineering
Image Processing
Industrial Engineering
Materials Science
Mechanical Engineering
Operations Research
Optics
Petroleum Engineering
Biotechnology & Medicine
Bioinformatics
Medical Imaging
Finance, Statistics, & Business Analysis
Actuarial Sciences
Data Analysis & Mining
Econometrics
Economics
Financial Engineering & Mathematics
Financial Risk Management
Statistics
Software Engineering & Content Delivery
Authoring & Publishing
Interface Development
Software Engineering
Web Development
Science
Astronomy
Biological Sciences
Chemistry
Environmental Sciences
Geosciences
Social & Behavioral Sciences
Design, Arts, & Entertainment
Game Design, Special Effects, & Generative Art
Education
Higher Education
Precollege Education
Students
Technology
Interactive Deployment
High-Performance & Parallel Computing (HPC)
See Also: Technology Guide
PURCHASE
Online Store
Other Ways to Buy
Volume & Site Licensing
Contact Sales
Software
Service
Upgrades
Training
Books
FOR USERS
All User Resources
Product Registration
Technical Support
Customer Service
Developer Support
Does My Site Have a License?
Free Seminars
Learning Center
Training
Custom Group Seminars
Documentation & Examples
Tutorial Screencasts
Video Gallery
Demonstrations Project
Education Portal
Student Resources
COMPANY
About Wolfram Research
News & Events
Wolfram Blog
Employment Opportunities
History of
Mathematica
Stephen Wolfram's Home Page
Contact Us
OUR SITES
Wolfram|Alpha
Demonstrations Project
Wolfram Blog
MathWorld
Integrator
Wolfram Functions Site
Mathematica Journal
Wolfram Library Archive
Wolfram
Tones
Wolfram Science
Stephen Wolfram
DOCUMENTATION CENTER SEARCH
Mathematica
>
Computable Data
>
Geographic Data
>
Geodesy
>
Built-in
Mathematica
Symbol
GeoDirection
GeoDestination
GeoPosition
GeodesyData
See Also »
|
Geodesy
Geographic Data
Scientific & Technical Data
Summary of New Features in 7.0
New in 7.0: Alphabetical Listing
New in 7.0: Data Manipulation
More About »
GeoDistance
GeoDistance
[{
lat
1
,
long
1
}, {
lat
2
,
long
2
}]
gives the geodesic distance in meters between latitude-longitude positions on the Earth.
GeoDistance
[
pos
1
,
pos
2
]
gives the distance between positions specified by position objects.
MORE INFORMATION
Latitudes and longitudes are given in degrees or as DMS lists.
GeoDistance
["
latlong
1
", "
latlong
2
"]
gives the distance between positions specified by latitudes and longitudes given as strings.
Position objects in
GeoDistance
[
pos
1
,
pos
2
]
can be given as
GeoPosition
,
GeoPositionXYZ
,
GeoPositionENU
or
GeoGridPosition
objects.
GeoDistance
gives the distance between positions projected onto a reference ellipsoid; heights are ignored.
GeoDistance
[
pos
1
,
pos
2
]
by default uses the reference ellipsoid associated with the datum for
pos
1
.
GeoDistance
and
GeoDirection
solve the geodetic inverse problem.
The algorithm used by
GeoDistance
can be specified by setting the
Method
option to one of the following values:
"Vincenty75"
,
"Robbin61"
,
"ExtendedNewtonRaphson"
.
EXAMPLES
CLOSE ALL
Basic Examples
(2)
Distance between two positions on the reference ellipsoid:
In[1]:=
Out[1]=
Distance between two fully specified geodetic positions:
In[1]:=
Out[1]=
SEE ALSO
GeoDirection
GeoDestination
GeoPosition
GeodesyData
MORE ABOUT
Geodesy
Geographic Data
Scientific & Technical Data
Summary of New Features in 7.0
New in 7.0: Alphabetical Listing
New in 7.0: Data Manipulation
New in 7