Function Repository Resource:

GeoGraphics3D

Source Notebook

A 3D rotatable sphere version of GeoGraphics

Contributed by: Jon McLoone

ResourceFunction["GeoGraphics3D"][primitives,options]

represents a 3D geographical globe.

Details and Options

Most options for GeoGraphics and SphericalPlot3D are supported.

Examples

Basic Examples (1) 

Produce a simple globe of the world:

In[1]:=
ResourceFunction["GeoGraphics3D"][{}, GeoZoomLevel -> 3]
Out[1]=

Scope (1) 

All primitives and options supported by GeoGraphics are supported by GeoGraphics3D:

In[2]:=
ResourceFunction[
 "GeoGraphics3D"][{EdgeForm[Black], FaceForm[Red], Polygon[Entity["Country", "SouthAfrica"]]}]
Out[2]=

Options (1) 

Most options for GeoGraphics and SphericalPlot3D are supported:

In[3]:=
ResourceFunction["GeoGraphics3D"][{}, GeoBackground -> "ReliefMap", Lighting -> "Neutral"]
Out[3]=

Neat Examples (2) 

Create a 3D graphic of the world with the countries of the African continent filled in with their flags:

In[4]:=
flags = EntityValue[
   EntityClass["Country", "Africa"], {"Entity", "FlagImage"}];
ResourceFunction[
 "GeoGraphics3D"][{EdgeForm[
   Black], {GeoStyling[{"Image", #2}], Tooltip[Polygon[#1], CommonName[#1]]} & @@@ flags}, GeoBackground -> "StreetMapNoLabels"]
Out[4]=

Use the resource function SpinShow to create a spinning globe:

In[5]:=
ResourceFunction["SpinShow"][
 ResourceFunction["GeoGraphics3D"][{}, GeoZoomLevel -> 4]]
Out[5]=

Publisher

Jon McLoone

Version History

  • 1.0.0 – 14 August 2019

Related Resources

License Information