GeoGridLines
is an option for GeoGraphics that specifies what parallels and meridians to show.
Details
- The following settings can be given for GeoGridLines:
-
None no geo grid lines drawn Automatic geo grid lines placed automatically n approximate 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:
-
None no geo grid lines drawn Automatic geo grid line positions chosen automatically n approximate 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 func function 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.
Examples
open allclose allBasic Examples (3)
Scope (8)
GeoGridLines Positions (5)
Place the geo grid lines automatically:
Draw geo grid lines at specific lines of latitude:
Draw geo grid lines at specific lines of longitude:
Draw geo grid lines at specific lines of latitude and longitude:
Specify the target number of geo grid lines:
Specify different numbers of latitude and longitude geo grid lines:
GeoGridLines Styling (3)
Specify the style of each geo grid line:
Specify overall geo grid line style using GeoGridLinesStyle:
Individually styled geo grid lines can be used with GeoGridLinesStyle and have higher priority:
Generalizations & Extensions (1)
Applications (2)
Properties & Relations (2)
Geo grid lines are always drawn above the graphics:
Use AbsoluteOptions to get the grid lines used with an Automatic setting:
Possible Issues (4)
Specifying GeoGridLinesStyle in addition to a GeoGridLines style may give a different result:
Geo grid lines may be specified as an angular quantity:
Geo grid lines may not be specified as a distance quantity:
Integer arguments and option settings for several geo functions are interpreted as distances (or radii) in meters:
However, an integer geo grid line specification indicates an approximate number of "nice" grid lines to display:
Use GeoPath to interactively display geo coordinates of geo lines:
Text
Wolfram Research (2014), GeoGridLines, Wolfram Language function, https://reference.wolfram.com/language/ref/GeoGridLines.html.
CMS
Wolfram Language. 2014. "GeoGridLines." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/GeoGridLines.html.
APA
Wolfram Language. (2014). GeoGridLines. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/GeoGridLines.html