Wolfram Language & System 11.0 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

GeoGridLines

GeoGridLines
is an option for GeoGraphics that specifies what parallels and meridians to show.

DetailsDetails

  • The following settings can be given for GeoGridLines:
  • Noneno geo grid lines drawn
    Automaticgeo grid lines placed automatically
    napproximate number of parallels and meridians
    Quantity[]geo grid lines placed at multiples of an angular quantity
    {latgrid,longrid}geo grid lines specified separately for latitude and longitude
  • With the Automatic setting, geo grid lines are usually placed at points whose coordinates have the minimum number of digits in their decimal representation.
  • For each latitude/longitude coordinate, the following grid line options can be given:
  • Noneno geo grid lines drawn
    Automaticgeo grid line positions chosen automatically
    napproximate number of parallels and meridians
    Quantity[]geo grid lines placed at multiples of an angular quantity
    {x1,x2,}geo grid lines drawn at the specified positions
    {{x1,style1},}geo grid lines with specified styles
    funcfunction to be applied to xmin, xmax to get geo grid line option
  • When a positive integer n is specified for either latitude or longitude, various heuristics are applied to produce "nice" geo grid lines. As a result, the number of grid lines actually shown may not be exactly n.
  • For GeoGridLines->n or GeoGridLines->Automatic, the number of grid lines shown may differ between parallels and meridians.
  • For a Quantity specification, only angular quantities are supported.
  • The geo grid line function func[xmin,xmax] may return any other geo grid line option.
  • AbsoluteOptions can be used to extract explicit lists of latitudes and longitudes that were used for GeoGridLines specifications given Automatic settings.
  • Use GeoGridLinesStyle to set styles for geo grid lines.

ExamplesExamplesopen allclose all

Basic Examples  (3)Basic Examples  (3)

Overlay a map with geo grid lines using default styling:

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

Use the Albers projection:

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

Draw geo grid lines at specific lines of latitude and longitude:

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

Specify geo grid styles:

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