GeoBoundingBox

GeoBoundingBox[g]
gives the geo positions that define the bounding rectangle enclosing the geo region g.

GeoBoundingBox[g,δ]
pads the region by on all sides by an amount δ.

GeoBoundingBox[g,Scaled[s]]
pads by a fractional amount s.

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.
  • The option GeoModel specifies the model of the Earth or celestial body being used.

ExamplesExamplesopen allclose all

Basic Examples  (4)Basic Examples  (4)

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]=

Extend the bounding box of the countries of Africa by 200 miles:

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