GeoBoundsRegionBoundary[{{latmin,latmax},{lonmin,lonmax}}]
is a one-dimensional GeoGraphics primitive that represents the boundary of the region between parallels latmin, latmax and meridians lonmin, lonmax on the surface of the Earth.
represents the boundary of the latitude-longitude bounding box of the geo region g.
pads the ranges of latitudes and longitudes by ±δ.
GeoBoundsRegionBoundary
GeoBoundsRegionBoundary[{{latmin,latmax},{lonmin,lonmax}}]
is a one-dimensional GeoGraphics primitive that represents the boundary of the region between parallels latmin, latmax and meridians lonmin, lonmax on the surface of the Earth.
represents the boundary of 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.
- GeoBoundsRegionBoundary[g,δ] for a geo region g and a padding specification δ is equivalent to GeoBoundsRegionBoundary[GeoBounds[g,δ]].
Examples
open all close allBasic Examples (2)
The boundary of a latitude-longitude rectangle over part of Europe:
GeoGraphics[GeoBoundsRegionBoundary[{{40, 60}, {-10, 25}}], GeoGridLines -> Automatic, GeoZoomLevel -> 5]Draw the polygon of a country and the boundary of its bounding box:
GeoGraphics[{GeoBoundsRegionBoundary[Entity["Country", "Brazil"]], Red, Polygon[Entity["Country", "Brazil"]]}]Scope (3)
Provide latitudes and longitudes as numbers in degrees:
GeoGraphics[GeoBoundsRegionBoundary[{{-40, 40}, {-60, 60}}]]Provide latitudes and longitudes as Quantity angles:
GeoGraphics[GeoBoundsRegionBoundary[{{Quantity[-40, "AngularDegrees"], Quantity[40, "AngularDegrees"]}, {Quantity[-1, "Radians"], Quantity[1, "Radians"]}}]]Or using a QuantityArray object with angular unit:
GeoGraphics[GeoBoundsRegionBoundary[QuantityArray[{{-40, 40}, {-60, 60}}, "AngularDegrees"]]]Draw the bounding box of a geo region:
disk = GeoDisk[Here, Quantity[3000, "Kilometers"]];GeoGraphics[{Blue, disk, Red, GeoBoundsRegionBoundary[disk]}, GeoGridLines -> Automatic]Use a cylindrical projection, like Mercator, to get a rectangular shape:
GeoGraphics[{Blue, disk, Red, GeoBoundsRegionBoundary[disk]}, GeoGridLines -> Automatic, GeoProjection -> "Mercator"]Add the same padding in all directions:
GeoGraphics[GeoBoundsRegionBoundary[Entity["Country", "Spain"], Quantity[100, "Kilometers"]]]GeoGraphics[GeoBoundsRegionBoundary[Entity["Country", "Spain"], {{Quantity[100, "Kilometers"], 0}, {Quantity[-100, "Kilometers"], Quantity[200, "Kilometers"]}}]]Properties & Relations (6)
The range {lonmin,lonmax} of longitudes is taken to have lonmax to the east of lonmin:
GeoGraphics[GeoBoundsRegionBoundary[{{-50, 50}, {-90, 90}}], Frame -> True]GeoGraphics[GeoBoundsRegionBoundary[{{-50, 50}, {90, -90}}], Frame -> True]GeoBoundsRegionBoundary corresponds to the boundary of a GeoBoundsRegion primitive:
GeoGraphics[{GeoBoundsRegion[{{-50, 50}, {-90, 90}}], Red, GeoBoundsRegionBoundary[{{-50, 50}, {-90, 90}}]}, Frame -> True]GeoBoundsRegionBoundary[g] is equivalent to GeoBoundsRegionBoundary[GeoBounds[g]] for a geo region g:
{GeoGraphics[GeoBoundsRegionBoundary[Entity["Country", "Australia"]]], GeoGraphics[GeoBoundsRegionBoundary[GeoBounds[Entity["Country", "Australia"]]]]}Sides of a geo bounds region are parallels and meridians, not geodesics:
{latmin, latmax} = {-30, 60};
{lonmin, lonmax} = {-20, 70};GeoGraphics[{GeoBoundsRegionBoundary[{{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[{GeoBoundsRegionBoundary[{{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 = GeoBoundsRegionBoundary[{{0, 85}, {-70, 70}}];GeoGraphics[grect, GeoProjection -> "Equirectangular", GeoGridLines -> Automatic]GeoGraphics[grect, GeoProjection -> "LambertAzimuthal", GeoGridLines -> Automatic]GeoGraphics[grect, GeoProjection -> "Albers", GeoGridLines -> Automatic]A geo bounds region reaching latitude 90 or
is actually a sector of a geo circle centered at that pole:
GeoGraphics[GeoBoundsRegionBoundary[{{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[GeoBoundsRegionBoundary[{rio, moscow}]], GeoGraphics[GeoBoundsRegionBoundary[{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[GeoBoundsRegionBoundary[MapAt[Reverse, bounds, {2}]]]Tech Notes
Related Guides
History
Text
Wolfram Research (2020), GeoBoundsRegionBoundary, Wolfram Language function, https://reference.wolfram.com/language/ref/GeoBoundsRegionBoundary.html.
CMS
Wolfram Language. 2020. "GeoBoundsRegionBoundary." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/GeoBoundsRegionBoundary.html.
APA
Wolfram Language. (2020). GeoBoundsRegionBoundary. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/GeoBoundsRegionBoundary.html
BibTeX
@misc{reference.wolfram_2026_geoboundsregionboundary, author="Wolfram Research", title="{GeoBoundsRegionBoundary}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/GeoBoundsRegionBoundary.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_geoboundsregionboundary, organization={Wolfram Research}, title={GeoBoundsRegionBoundary}, year={2020}, url={https://reference.wolfram.com/language/ref/GeoBoundsRegionBoundary.html}, note=[Accessed: 13-June-2026]}