GeoBoundingBox

GeoBoundingBox[g]
gives the rectangle enclosing the geographic area determined by the geo region g.

DetailsDetails

  • GeoBoundingBox[g] returns the respective GeoPosition[{lat,lon}] locations of the SW and NE corners of the area determined by g.
  • The geo region g may be given as a combination of GeoGraphics primitives, such as GeoDisk and GeoPath, geographic Entity[] and EntityClass[] objects, or individual GeoPosition locations.
  • For extended geographic entities, the property is used. For point-like entities, the property is used.

ExamplesExamplesopen allclose all

Basic Examples  (3)Basic Examples  (3)

Get the corner coordinates of the bounding box enclosing the United States of America:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Bounding box enclosing a geo disk of 5000 kilometers of radius:

In[1]:=
Click for copyable input
Out[1]=

Bounding box enclosing the countries of Africa:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2014
(10.0)