GeoStyling

GeoStyling[mapstyle]
displays faces of polygons and other filled geo objects using mapstyle.

GeoStyling[mapstyle,directive]
uses mapstyle with the given graphics directive applied.

Details and OptionsDetails and Options

  • GeoStyling is a directive for GeoGraphics that applies textures and styling directives that are useful for maps.
  • GeoStyling applies to Polygon, GeoDisk, FilledCurve, Triangle, DayHemisphere, NightHemisphere, and GeoVisibleRegion.
  • Possible forms for mapstyle include:
  • Automaticuse default styling
    Noneuse no explicit styling
    "ContourMap"elevation data as contours
    "OutlineMap"schematic region
    "ReliefMap"elevation data as color with shadows
    "StreetMap"street map data
    "StreetMapLabelsOnly"street map labels only
    "StreetMapNoLabels"street map data omitting labels
    {"GeoImage",image}apply image as a texture to unprojected polygons and project
    {"Image",image}apply image as a texture to the projected polygons
  • GeoStyling[Automatic] is automatically applied by default to geo graphics and uses partial opacity with no explicitly specified color. It therefore inherits the default Graphics color behavior, meaning filled geo primitives are black in color but appear as transparent light gray when combined with their default partial transparency.
  • GeoStyling[None] removes any geo styling that has been set by previous GeoStyling specifications (including any set by GeoStyling[Automatic]). Using no geo styling results in the same default styles for geo graphics as for usual Graphics (black with no transparency).
  • GeoStyling[] is equivalent to GeoStyling[None].
  • GeoStyling[directive] is equivalent to GeoStyling["OutlineMap",directive].
  • GeoStyling[mapstyle,directive] appends a graphics directive (or collection of individual directives inside an enclosing Directive) to the set of directives used to style a given mapstyle. All directives take effect for , but only Opacity and EdgeForm are take effect for other map styles.
  • The most recently applied GeoStyling specification in a geo graphics expression takes precedence. For geo primitives, GeoStyling specifications (including those from Automatic styling) take precedence over explicit graphics style directives added after the currently active GeoStyling. As a result of the default styling of GeoStyling[Automatic], bare color directives take effect by default, while GeoStyling must be explicitly wrapped around Opacity in order to change the transparency of filled geo primitives.
  • GeoStyling accepts most options applicable to Graphics. In addition, the following geo-specific options can be given:
  • GeoStylingImageFunctionNoneimage processing function to apply
    GeoZoomLevelAutomaticlevel of detail for styled geo graphics
  • GeoStyling["ContourMap",opts] accepts the same options as ListContourPlot.
  • GeoStyling["ReliefMap",opts] accepts the same options as ReliefPlot.

ExamplesExamplesopen allclose all

Basic Examples  (8)Basic Examples  (8)

Use default styling:

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

Specify the Automatic geo style explicitly:

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

Use default Graphics styles (no geo styling):

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

Show a schematic outline map:

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

Specify a named color and suppress geo background:

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

Use a relief map:

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

Use a relief map as a GeoBackground:

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

Specify different geo styles for different regions:

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

Specify different geo styles for different regions with partial overlaps:

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

Style the daylit portion of the earth in partially transparent yellow:

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