GeoBoundsRegion

GeoBoundsRegion[{{latmin,latmax},{lonmin,lonmax}}]

is a two-dimensional GeoGraphics primitive that represents a geo region bounded by parallels latmin, latmax and meridians lonmin, lonmax on the surface of the Earth.

GeoBoundsRegion[g]

represents the latitude-longitude bounding box of the geo region g.

GeoBoundsRegion[g,δ]

pads the ranges of latitudes and longitudes by ±δ.

Details

  • Latitudes and longitudes can be given as numbers in degrees or as Quantity angles.
  • The geo bounds region is taken to cover longitudes from lonmin toward the east until reaching lonmax.
  • GeoBoundsRegion[g,δ] for a geo region g and a padding specification δ is equivalent to GeoBoundsRegion[GeoBounds[g,δ]].

Examples

open allclose all

Basic Examples  (2)

A geo bounds region over part of Europe:

Draw the polygon of a country and its bounding box:

Scope  (3)

Provide latitudes and longitudes as numbers in degrees:

Provide latitudes and longitudes as Quantity angles:

Or using a QuantityArray object with angular unit:

Draw the bounding box of a geo region:

Use a cylindrical projection, like Mercator, to get a rectangular shape:

Add the same padding in all directions:

Add different paddings:

Applications  (1)

Use different map styles in different latitude-longitude regions:

Properties & Relations  (6)

The range {lonmin,lonmax} of longitudes is taken to have lonmax to the east of lonmin:

GeoBoundsRegion[g] is equivalent to GeoBoundsRegion[GeoBounds[g]] for a geo region g:

The boundary of a GeoBoundsRegion primitive is given by GeoBoundsRegionBoundary:

Sides of a geo bounds region are parallels and meridians, not geodesics:

The sides of the geo bounds region are rhumb lines:

The shape of a geo bounds region depends on the projection being used:

A geo bounds region reaching latitude 90 or -90 is actually a sector of a geo disk centered at that pole:

Possible Issues  (1)

Take two locations:

These two maps coincide, even though the locations are reversed:

This is because GeoBounds is insensitive to orientation:

To get the complementary rectangle in longitudes, use the following:

Neat Examples  (1)

Define the countries and colors to use:

Make a map showing the geo bounding regions of South American countries:

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

Text

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

CMS

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

APA

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

BibTeX

@misc{reference.wolfram_2024_geoboundsregion, author="Wolfram Research", title="{GeoBoundsRegion}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/GeoBoundsRegion.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_geoboundsregion, organization={Wolfram Research}, title={GeoBoundsRegion}, year={2015}, url={https://reference.wolfram.com/language/ref/GeoBoundsRegion.html}, note=[Accessed: 22-November-2024 ]}