WOLFRAM

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.

represents the latitude-longitude bounding box of the geo region 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)Summary of the most common use cases

A geo bounds region over part of Europe:

Out[1]=1

Draw the polygon of a country and its bounding box:

Out[1]=1

Scope  (3)Survey of the scope of standard use cases

Provide latitudes and longitudes as numbers in degrees:

Out[1]=1

Provide latitudes and longitudes as Quantity angles:

Out[2]=2

Or using a QuantityArray object with angular unit:

Out[3]=3

Draw the bounding box of a geo region:

Out[2]=2

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

Out[3]=3

Add the same padding in all directions:

Out[1]=1

Add different paddings:

Out[2]=2

Applications  (1)Sample problems that can be solved with this function

Use different map styles in different latitude-longitude regions:

Out[1]=1

Properties & Relations  (6)Properties of the function, and connections to other functions

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

Out[1]=1
Out[2]=2

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

Out[1]=1

The boundary of a GeoBoundsRegion primitive is given by GeoBoundsRegionBoundary:

Out[1]=1

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

Out[2]=2

The sides of the geo bounds region are rhumb lines:

Out[3]=3

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

Out[2]=2
Out[3]=3
Out[4]=4

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

Out[1]=1

Possible Issues  (1)Common pitfalls and unexpected behavior

Take two locations:

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

Out[2]=2

This is because GeoBounds is insensitive to orientation:

Out[3]=3
Out[4]=4

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

Out[5]=5

Neat Examples  (1)Surprising or curious use cases

Define the countries and colors to use:

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

Out[2]=2
Wolfram Research (2015), GeoBoundsRegion, Wolfram Language function, https://reference.wolfram.com/language/ref/GeoBoundsRegion.html.
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.

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.

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

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: 09-January-2025 ]}

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

BibLaTeX

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

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