GeoRange

GeoRange

is an option for geographic functions that specifies the range of latitude and longitude to include.

Details

  • GeoRange can be used in GeoGraphics, GeoImage, DynamicGeoGraphics, GeoElevationData and other geo functions.
  • The following settings can be used:
  • Allregion corresponding to the entire world is included
    Automaticautomatically select the region to display
    Fullsame as All when used in geo graphics
    {{lat1,lat2},{lon1,lon2}}explicit limits for latitude and longitude
    {All,{lon1,lon2}}complete latitude range and specified longitude range
    {{lat1,lat2},All}specified latitude range and complete longitude range
    rexplicit radius, assumed to be in meters
    quantityexplicit radius around the specified or computed geo center
    entityregion corresponding to the "Polygon" property of entity
    "Country"use bounding box of enclosing country
    "World"use bounding box of whole world
  • All and Full both mean the complete range of the corresponding axis, namely {-90,90} for latitude and {-180,180} for longitude. They are therefore equivalent to "World" when used on their own but can be also used as individual ranges, say {All,{-100,100}}.
  • An explicit range is defined by latitude and longitude ranges {{latmin,latmax},{lonmin,lonmax}} in degrees.
  • Specifying an entity uses the geo bounding box of its "Polygon" property.
  • GeoRangequantity represents a range enclosing a geo circle of radius quantity around the center specified by GeoCenter or by the geo primitives of GeoGraphics.
  • For a longitude range {lon1,lon2}, the upper boundary lon2 will be taken modulo 360 so that .
  • GeoRangePadding can be used to extend the bounding box defined by GeoRange.
  • Options and AbsoluteOptions extract the explicit form of GeoRange used in a map.

Examples

open allclose all

Basic Examples  (6)

Draw a map covering a 50-mile radius around Copenhagen:

Get the actual geo range used:

Specify explicit ranges of latitude and longitude in degrees:

Specify a geo entity:

Automatically select the region to plot:

Choose the geo range to show the surrounding country:

A satellite image of the whole world:

Scope  (9)

Specify latitude and longitude ranges in degrees:

Show the country in which the given geo position is located:

Plot the whole world using the Bonne projection:

Change the central meridian:

Specify an entity:

Specify an entity class:

Area corresponding to the ranges enclosing a geo circle of 1000 kilometers around Buenos Aires:

Set the geo range to an explicit distance:

Geo radii specified as pure numbers are assumed to be in meters:

Full ranges in latitude or longitude:

Draw Brazil while showing the entire world:

Explicitly specify a geo range that includes the entire world:

Use the symbol All:

Specify a geo range as a point-like (no available polygon) location plus default geo range padding:

Properties & Relations  (5)

Longitude ranges spanning more than 360 degrees are clipped to 360 degrees from the left:

Longitude ranges are always measured toward the east:

GeoRange defines the part of the Earth to be projected:

PlotRange selects a part of that map in the projected coordinates:

By default, geo ranges are padded to cover the full map grid range:

Use GeoRangePaddingNone to clip to the given geo range:

Specifying an entity class that has no available polygons uses a geo range appropriate for the given class members:

Possible Issues  (1)

Latitude values outside are clipped, and a message is generated:

Use AbsoluteOptions to see the resulting clipped geo range:

Introduced in 2014
 (10.0)