GeoCenter

GeoCenter

is an option for GeoGraphics that specifies the coordinates of the point that should appear at the geographic center of the final map.

Details

  • An explicit GeoRange specification takes precedence over GeoCenter.
  • GeoCenter can be specified as GeoPosition[{lat,lon}] or Entity[]. In the latter case, the "Position" property of the specified entity is used.

Examples

open allclose all

Basic Examples  (4)

Plot a world map centered at a point in the Pacific Ocean:

Show a point on a map centered on London, UK:

Center the map on a country:

Center the map on a famous structure:

Properties & Relations  (3)

An explicit geo range (other than All or "World") takes precedence over a geo center:

To use a geo center, remove the geo range specification:

The latitude of the specified geo center is ignored for cylindrical projections, which are always aligned with the poles:

The center longitude takes effect for cylindrical projections:

The center latitude and longitude take effect for non-cylindrical projections:

The geo center of a map is not the same as the latitude and longitude defining the "Centering" of the projection:

Possible Issues  (1)

Attempting to use an entity class as a geo center ignores the specification and gives a message:

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

Text

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

CMS

Wolfram Language. 2014. "GeoCenter." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/GeoCenter.html.

APA

Wolfram Language. (2014). GeoCenter. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/GeoCenter.html

BibTeX

@misc{reference.wolfram_2024_geocenter, author="Wolfram Research", title="{GeoCenter}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/GeoCenter.html}", note=[Accessed: 04-October-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_geocenter, organization={Wolfram Research}, title={GeoCenter}, year={2014}, url={https://reference.wolfram.com/language/ref/GeoCenter.html}, note=[Accessed: 04-October-2024 ]}