GeoVectorXYZ
✖
GeoVectorXYZ
represents a three-dimensional vector of Cartesian components vX, vY, vZ in an orthonormal frame parallel to the geocentric frame, at location loc.
represents a collection of vectors veci at respective geo locations loci.
represents a geo vector whose associated location has been implicitly specified.
Details


- GeoVectorXYZ[…] can represent any vectorial magnitude on the surface of the Earth or any other celestial globe, like wind speed, magnetic field, scalar gradients, etc.
- GeoVectorXYZ describes data using an orthonormal frame of fixed orientation with respect to the ambient 3D space, but origin at the given location.
- GeoVectorXYZ acts both as a vector data container and as a converter from other types of geo vector data, like GeoVector or GeoGridVector.
- In GeoVectorXYZ[locvec], the components of the vector vec can be quantities, but their units must be compatible.
- In GeoVectorXYZ[locvec], the location loc can be given as a {lat,lon} pair in degrees, a geo Entity object or any geo location object with head GeoPosition or similar.
- GeoVectorXYZ[…][prop] gives the specified property of a geo vector.
- Possible properties include:
-
"Count" number of vectors in the GeoVectorXYZ object "Data" first argument of the GeoVectorXYZ object "Depth" vector depth: 0 for a single vector, 1 for a list of them, … "Location" location data of the GeoVectorXYZ object "LocationDimension" number of coordinates for each position "LocationPackingType" Integer or Real if positions are packed; None otherwise "Vector" vector data of the GeoVectorXYZ object "VectorDimension" number of components for each vector "VectorPackingType" Integer or Real if vectors are packed; None otherwise

Examples
open allclose allBasic Examples (2)Summary of the most common use cases
Construct two north-pointing vectors at different locations:

https://wolfram.com/xid/0v50m8jne23l0-3wlbq9


https://wolfram.com/xid/0v50m8jne23l0-xyh8m5

Their GeoVectorXYZ forms have different components, due to their different orientations in 3D space:

https://wolfram.com/xid/0v50m8jne23l0-8b24dr


https://wolfram.com/xid/0v50m8jne23l0-ksd9vy

This is the angle in degrees formed by those two vectors in 3D space:

https://wolfram.com/xid/0v50m8jne23l0-htym80

Take 50 random locations in the world:

https://wolfram.com/xid/0v50m8jne23l0-zy1ndd

Compute the magnetic field at those locations and convert it into GeoVectorXYZ form:

https://wolfram.com/xid/0v50m8jne23l0-p204l8

Extract the 3D coordinates of the locations and the 3D components of the vectors, in numeric form:

https://wolfram.com/xid/0v50m8jne23l0-jsonwo
Draw 3D arrows for those vectors:

https://wolfram.com/xid/0v50m8jne23l0-806pp0

https://wolfram.com/xid/0v50m8jne23l0-fcp2g

Scope (7)Survey of the scope of standard use cases
Data Specification (4)
Specify the location of a geo vector as a {lat,lon} pair in degrees:

https://wolfram.com/xid/0v50m8jne23l0-13u4fo

Construct a 3D velocity vector with three identical components at Chicago:

https://wolfram.com/xid/0v50m8jne23l0-069j5

Rewrite the location as a geo position object with any head:

https://wolfram.com/xid/0v50m8jne23l0-9iitxm


https://wolfram.com/xid/0v50m8jne23l0-nmj0q5


https://wolfram.com/xid/0v50m8jne23l0-cijd7f

Anything that can be interpreted by GeoPosition can be used as a location:

https://wolfram.com/xid/0v50m8jne23l0-pg52d2


https://wolfram.com/xid/0v50m8jne23l0-f1vi9f

Work with 3D vectors of any unit dimension:

https://wolfram.com/xid/0v50m8jne23l0-t75s6b


https://wolfram.com/xid/0v50m8jne23l0-9ap3il


https://wolfram.com/xid/0v50m8jne23l0-676bga

Geo Vector Arrays (2)
Specify gravitational field data simultaneously for several locations:

https://wolfram.com/xid/0v50m8jne23l0-dhkqdd

Rewrite as a single geo vector array with XYZ components:

https://wolfram.com/xid/0v50m8jne23l0-297ch6

Represent the very small horizontal components in a map:

https://wolfram.com/xid/0v50m8jne23l0-7iun6j

Generate a million random 3D Cartesian vectors at respective random locations:

https://wolfram.com/xid/0v50m8jne23l0-cgd9hy


https://wolfram.com/xid/0v50m8jne23l0-iq7k9p

Use GeoVectorXYZ to transform them back to their 3D Cartesian form:

https://wolfram.com/xid/0v50m8jne23l0-4ik0xq

Check that the difference is just numerical error:

https://wolfram.com/xid/0v50m8jne23l0-zuzias

Data Extraction (1)
A wind velocity vector at Chicago, expressed in XYZ components:

https://wolfram.com/xid/0v50m8jne23l0-1yszhe

Extract the location of the geo vector:

https://wolfram.com/xid/0v50m8jne23l0-pve0te

Extract the vector data from the geo vector:

https://wolfram.com/xid/0v50m8jne23l0-m5q56t


https://wolfram.com/xid/0v50m8jne23l0-bpa56o


https://wolfram.com/xid/0v50m8jne23l0-gzjluk


https://wolfram.com/xid/0v50m8jne23l0-fhr1o5

Properties & Relations (3)Properties of the function, and connections to other functions
Convert a GeoVectorXYZ expression into other types of geo vectors:

https://wolfram.com/xid/0v50m8jne23l0-wbdkn


https://wolfram.com/xid/0v50m8jne23l0-rs5mvp


https://wolfram.com/xid/0v50m8jne23l0-zc8dr5


https://wolfram.com/xid/0v50m8jne23l0-45rmd4

Convert back to GeoVectorXYZ form:

https://wolfram.com/xid/0v50m8jne23l0-nty3rb

Converting a geo vector into GeoVectorXYZ form does not convert its location into GeoPositionXYZ form:

https://wolfram.com/xid/0v50m8jne23l0-u9gx40


https://wolfram.com/xid/0v50m8jne23l0-mzgilp

Use GeoPositionXYZ explicitly to convert the location:

https://wolfram.com/xid/0v50m8jne23l0-oi9p2t

GeoPositionXYZ[{x,y,z}] represents a positional vector from the center of the Earth, in meters:

https://wolfram.com/xid/0v50m8jne23l0-pmvpw8

You can have a tangent vector with the same components at the same location:

https://wolfram.com/xid/0v50m8jne23l0-p92gbv

Transforming to ENU geo vector form shows that the vector is almost vertical, except for a south component due to the oblateness of the Earth:

https://wolfram.com/xid/0v50m8jne23l0-sefrz6

Those components can also be computed (modulo sign) using GeoPositionENU:

https://wolfram.com/xid/0v50m8jne23l0-j4jpur

Wolfram Research (2019), GeoVectorXYZ, Wolfram Language function, https://reference.wolfram.com/language/ref/GeoVectorXYZ.html.
Text
Wolfram Research (2019), GeoVectorXYZ, Wolfram Language function, https://reference.wolfram.com/language/ref/GeoVectorXYZ.html.
Wolfram Research (2019), GeoVectorXYZ, Wolfram Language function, https://reference.wolfram.com/language/ref/GeoVectorXYZ.html.
CMS
Wolfram Language. 2019. "GeoVectorXYZ." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/GeoVectorXYZ.html.
Wolfram Language. 2019. "GeoVectorXYZ." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/GeoVectorXYZ.html.
APA
Wolfram Language. (2019). GeoVectorXYZ. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/GeoVectorXYZ.html
Wolfram Language. (2019). GeoVectorXYZ. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/GeoVectorXYZ.html
BibTeX
@misc{reference.wolfram_2025_geovectorxyz, author="Wolfram Research", title="{GeoVectorXYZ}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/GeoVectorXYZ.html}", note=[Accessed: 16-April-2025
]}
BibLaTeX
@online{reference.wolfram_2025_geovectorxyz, organization={Wolfram Research}, title={GeoVectorXYZ}, year={2019}, url={https://reference.wolfram.com/language/ref/GeoVectorXYZ.html}, note=[Accessed: 16-April-2025
]}