GeoGridVector
✖
GeoGridVector
represents a horizontal two-dimensional vector of components vx, vy in the orthonormal frame of the coordinates of the geo projection proj, at geo location loc.
represents a three-dimensional vector of horizontal components vx, vy and vertical component vz at geo 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


- GeoGridVector[…] can represent any vectorial magnitude on the surface of the Earth or any other celestial globe, like wind speed, magnetic field, scalar gradients, etc.
- GeoGridVector describes data using an orthonormal frame tangent to the reference ellipsoid at the given location.
- GeoGridVector acts both as a vector data container and as a converter from other types of geo vector data, like GeoVectorENU or GeoVector.
- In GeoGridVector[locvec], the components of the vector vec can be quantities, but their units must be compatible.
- In GeoGridVector[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.
- In GeoGridVector[locvec,proj], the geo projection proj can be specified in the following forms:
-
"proj" named projection with default parameter values {"proj","param1"->val1,"param2"->val2,…} projection with detailed parameters specified - Names of possible projections are given by GeoProjectionData[].
- Default values of parameters for a particular named projection are given by GeoProjectionData[proj].
- GeoGridVector[…][prop] gives the specified property of a geo grid vector.
- Possible properties include:
-
"Count" number of vectors in the GeoGridVector object "Data" first argument of the GeoGridVector object "Depth" vector depth: 0 for a single vector, 1 for a list of them, … "GeoProjection" geo projection of the GeoGridVector object "Location" location data of the GeoGridVector object "LocationDimension" number of coordinates for each position "LocationPackingType" Integer or Real if positions are packed; None otherwise "Vector" vector data of the GeoGridVector 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
Take a geo vector aligned with the vertical axis of the Albers coordinates at your location:

https://wolfram.com/xid/0dqwnz0xb0q-ngkiun


https://wolfram.com/xid/0dqwnz0xb0q-p5aitt

That vector does not point northward in the local Mercator projection:

https://wolfram.com/xid/0dqwnz0xb0q-friqt4

Take two orthogonal geo vectors at New York:

https://wolfram.com/xid/0dqwnz0xb0q-58rf4x

They are not orthogonal in the Mollweide projection with default centering:

https://wolfram.com/xid/0dqwnz0xb0q-br4xrq

Show the geo grid vectors as darts in a GeoGraphics map with that projection:

https://wolfram.com/xid/0dqwnz0xb0q-5uxbom

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

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

Construct a horizontal velocity vector crossing the Bonne frame axes at 45 degrees at Chicago:

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

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

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


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


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

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

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


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

Work with horizontal 2D or 3D vectors of any unit dimension:

https://wolfram.com/xid/0dqwnz0xb0q-zzxuas


https://wolfram.com/xid/0dqwnz0xb0q-9rxgbb


https://wolfram.com/xid/0dqwnz0xb0q-bxde4

Geo Projection Conversion (2)
Convert geo grid vector data in the Mercator projection to different geo projections:

https://wolfram.com/xid/0dqwnz0xb0q-9j9wje


https://wolfram.com/xid/0dqwnz0xb0q-q5n5ud


https://wolfram.com/xid/0dqwnz0xb0q-zjyic4

Convert back to the original projection:

https://wolfram.com/xid/0dqwnz0xb0q-uanxcy

Use projections with default parameters, as given by GeoProjectionData:

https://wolfram.com/xid/0dqwnz0xb0q-n15fna


https://wolfram.com/xid/0dqwnz0xb0q-qvwb7h

Convert the geo grid vector to the Albers projection with nondefault parameters:

https://wolfram.com/xid/0dqwnz0xb0q-e4sgdm

Convert back to the Albers projection with default parameters:

https://wolfram.com/xid/0dqwnz0xb0q-dupj93

Geo Vector Arrays (3)
Compute gravitational field data simultaneously for several locations:

https://wolfram.com/xid/0dqwnz0xb0q-5gq5x1

Convert it to a single geo grid vector array in the Mercator projection:

https://wolfram.com/xid/0dqwnz0xb0q-7bdnvx

Represent the relative sizes and directions of the small horizontal components:

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

Generate a million random geo grid vectors at respective random locations:

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

Convert them into geo vector form:

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

Use GeoGridVector to transform them back to their projected form in the Albers projection:

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

Check that the difference is just numerical error:

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

Generate a million random geo grid vectors at respective random locations:

https://wolfram.com/xid/0dqwnz0xb0q-ecdhnm

Convert the geo grid vectors from the Albers to the Mollweide projection:

https://wolfram.com/xid/0dqwnz0xb0q-w2djia

Use GeoGridVector to transform them back to the Albers projection:

https://wolfram.com/xid/0dqwnz0xb0q-ydcdbp

Check that the difference is just numerical error:

https://wolfram.com/xid/0dqwnz0xb0q-nep8ud

Data Extraction (1)
A horizontal velocity vector at Chicago:

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

Extract the location of the geo vector:

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

Extract the vector data from the geo vector:

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


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


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


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

Properties & Relations (1)Properties of the function, and connections to other functions
GeoGridVector components in the Mercator projection coincide with GeoVectorENU components:

https://wolfram.com/xid/0dqwnz0xb0q-d8wg91


https://wolfram.com/xid/0dqwnz0xb0q-dnb13u

Components are different in other projections, due to angular distortion or tilting of latitude, longitude lines:

https://wolfram.com/xid/0dqwnz0xb0q-fkoa52

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