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.
GeoBoundsRegion[g,δ]
pads the ranges of latitudes and longitudes by ±δ.
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.
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 all close allBasic Examples (2)
A geo bounds region over part of Europe:
GeoGraphics[GeoBoundsRegion[{{40, 60}, {-10, 25}}], GeoGridLines -> Automatic, GeoZoomLevel -> 5]Draw the polygon of a country and its bounding box:
GeoGraphics[{GeoBoundsRegion[Entity["Country", "Brazil"]], Red, Polygon[Entity["Country", "Brazil"]]}]Scope (3)
Provide latitudes and longitudes as numbers in degrees:
GeoGraphics[GeoBoundsRegion[{{-40, 40}, {-60, 60}}]]Provide latitudes and longitudes as Quantity angles:
GeoGraphics[GeoBoundsRegion[{{Quantity[-40, "AngularDegrees"], Quantity[40, "AngularDegrees"]}, {Quantity[-1, "Radians"], Quantity[1, "Radians"]}}]]Or using a QuantityArray object with angular unit:
GeoGraphics[GeoBoundsRegion[QuantityArray[{{-40, 40}, {-60, 60}}, "AngularDegrees"]]]Draw the bounding box of a geo region:
disk = GeoDisk[Here, Quantity[3000, "Kilometers"]];GeoGraphics[{Blue, disk, Red, GeoBoundsRegion[disk]}, GeoGridLines -> Automatic]Use a cylindrical projection, like Mercator, to get a rectangular shape:
GeoGraphics[{Blue, disk, Red, GeoBoundsRegion[disk]}, GeoGridLines -> Automatic, GeoProjection -> "Mercator"]Add the same padding in all directions:
GeoGraphics[GeoBoundsRegion[Entity["Country", "Spain"], Quantity[100, "Kilometers"]]]GeoGraphics[GeoBoundsRegion[Entity["Country", "Spain"], {{Quantity[100, "Kilometers"], 0}, {Quantity[-100, "Kilometers"], Quantity[200, "Kilometers"]}}]]Applications (1)
Properties & Relations (6)
The range {lonmin,lonmax} of longitudes is taken to have lonmax to the east of lonmin:
GeoGraphics[GeoBoundsRegion[{{-50, 50}, {-90, 90}}], Frame -> True]GeoGraphics[GeoBoundsRegion[{{-50, 50}, {90, -90}}], Frame -> True]GeoBoundsRegion[g] is equivalent to GeoBoundsRegion[GeoBounds[g]] for a geo region g:
{GeoGraphics[GeoBoundsRegion[["Australia"]]], GeoGraphics[GeoBoundsRegion[GeoBounds[["Australia"]]]]}The boundary of a GeoBoundsRegion primitive is given by GeoBoundsRegionBoundary:
GeoGraphics[{GeoBoundsRegion[{{-50, 50}, {-90, 90}}], Red, GeoBoundsRegionBoundary[{{-50, 50}, {-90, 90}}]}, Frame -> True]Sides of a geo bounds region are parallels and meridians, not geodesics:
{latmin, latmax} = {-30, 60};
{lonmin, lonmax} = {-20, 70};GeoGraphics[{GeoBoundsRegion[{{latmin, latmax}, {lonmin, lonmax}}], Red, GeoPath[{{latmin, lonmin}, {latmin, lonmax}, {latmax, lonmax}, {latmax, lonmin}, {latmin, lonmin}}]}, GeoGridLines -> Automatic]The sides of the geo bounds region are rhumb lines:
GeoGraphics[{GeoBoundsRegion[{{latmin, latmax}, {lonmin, lonmax}}], Red, GeoPath[{{latmin, lonmin}, {latmin, lonmax}, {latmax, lonmax}, {latmax, lonmin}, {latmin, lonmin}}, "RhumbLine"]}, GeoGridLines -> Automatic]The shape of a geo bounds region depends on the projection being used:
grect = GeoBoundsRegion[{{0, 85}, {-70, 70}}];GeoGraphics[grect, GeoProjection -> "Equirectangular", GeoGridLines -> Automatic]GeoGraphics[grect, GeoProjection -> "LambertAzimuthal", GeoGridLines -> Automatic]A geo bounds region reaching latitude 90 or -90 is actually a sector of a geo disk centered at that pole:
GeoGraphics[GeoBoundsRegion[{{70, 90}, {-150, 150}}], GeoGridLines -> Automatic]Possible Issues (1)
rio = Entity["City", {"RioDeJaneiro", "RioDeJaneiro", "Brazil"}];
moscow = Entity["City", {"Moscow", "Moscow", "Russia"}];These two maps coincide, even though the locations are reversed:
{GeoGraphics[GeoBoundsRegion[{rio, moscow}]], GeoGraphics[GeoBoundsRegion[{moscow, rio}]]}This is because GeoBounds is insensitive to orientation:
bounds = GeoBounds[{rio, moscow}]GeoBounds[{moscow, rio}] == boundsTo get the complementary rectangle in longitudes, use the following:
GeoGraphics[GeoBoundsRegion[MapAt[Reverse, bounds, {2}]]]Neat Examples (1)
Define the countries and colors to use:
countries = EntityList[EntityClass["Country", "SouthAmerica"]];
colors = (RandomColor[]&) /@ countries;Make a map showing the geo bounding regions of South American countries:
GeoGraphics[{GeoStyling[#1], Polygon[#2], GeoStyling[Directive[{#1, Opacity[0.3]}]], GeoBoundsRegion[#2]}&@@@Transpose[{colors, countries}]]Tech Notes
Related Guides
History
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_2026_geoboundsregion, author="Wolfram Research", title="{GeoBoundsRegion}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/GeoBoundsRegion.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_geoboundsregion, organization={Wolfram Research}, title={GeoBoundsRegion}, year={2015}, url={https://reference.wolfram.com/language/ref/GeoBoundsRegion.html}, note=[Accessed: 12-June-2026]}