GeoGroup

GeoGroup[geoobjects]

represents a list of geographic objects to be treated as a single object for certain operations.

Details

  • Geographic functions that can be used with GeoGroup include GeoDistance and GeoNearest.
  • geoobjects is a list that may contain geo position specifications; Entity objects with domains such as "Country", "City", and "AdministrativeDivision"; entities that have natural geographic positions; EntityClass objects of these types; or other geo groups.
  • GeoGroup allows distance computations to be performed efficiently.

Examples

open allclose all

Basic Examples  (2)

Display a grid of country-country distances between pairs of countries:

Find the (closest) distance between the United Kingdom and two other countries:

Make a list of large cities in Germany:

Efficiently compute the distance from Paris to the closest large German city:

Find the names of the closest large German cities:

Compare with the results obtained by computing each distance separately:

Properties & Relations  (1)

The default behavior of the geo style "Image" is to apply the image as a texture to individual members of an entity class:

Show the result of using the "Image" style on an entity class:

GeoGroup can be used to apply the "Image" geo style to a geographic group as a whole:

Introduced in 2014
 (10.0)