({{, (RefLink[GeoVariant, paclet:ref/GeoVariant])[obj,qual] 
represents a geographic object obj with qualifier qual.}})

OpenersNotesSection(Spacer1)Details

The geographic object obj can be an (RefLink[Entity, paclet:ref/Entity]) object, an (RefLink[EntityClass, paclet:ref/EntityClass]) object, or a string representing an entity type such as "Country".

Possible qualifiers include:

Geo variants can be used for countries, oceans, cities, and other objects.

Unlike (RefLink[GeoGroup, paclet:ref/GeoGroup]), which combines multiple entities, (RefLink[GeoVariant, paclet:ref/GeoVariant]) allows specification of a particular variant of a single entity.

OpenersPrimaryExamplesSection(Spacer1)Examples  (9)

OpenersExampleSection0(Spacer1)Basic Examples  (3)

Show the default geo variant for the US:

GeoGraphics[{EdgeForm[Thick],Polygon[GeoVariant[(Entity["United States", Entity["Country","UnitedStates"], "Entity[\"Country\", \"UnitedStates\"]", "country"]),Automatic]]}]

Obtain the same result using (RefLink[EntityValue, paclet:ref/EntityValue]):

GeoGraphics[{EdgeForm[Thick],EntityValue[GeoVariant[(Entity["United States", Entity["Country","UnitedStates"], "Entity[\"Country\", \"UnitedStates\"]", "country"]),Automatic],"Polygon"]}]

Display geo variants for the US:

Labeled[GeoGraphics[{EdgeForm[Red],EntityValue[GeoVariant[(Entity["United States", Entity["Country","UnitedStates"], "Entity[\"Country\", \"UnitedStates\"]", "country"]),#],"Polygon"]}],#]&/@{Automatic,"AllAreas","Center","DefaultMapArea","PrincipalArea","SimplifiedArea"}

Show geo variants for the UK:

Labeled[GeoGraphics[{EdgeForm[Red],EntityValue[GeoVariant[(Entity["United Kingdom", Entity["Country","UnitedKingdom"], "Entity[\"Country\", \"UnitedKingdom\"]", "country"]),#],"Polygon"]}],#]&/@{Automatic,"AllAreas","Center","DefaultMapArea","PrincipalArea","SimplifiedArea"}

OpenersExampleSection1(Spacer1)Scope  (6)

OpenersExampleSubsection0(Spacer1)Automatic  (1)

Show the default geo variant of the US:

GeoGraphics[{EdgeForm[Thick],Polygon[GeoVariant[(Entity["United States", Entity["Country","UnitedStates"], "Entity[\"Country\", \"UnitedStates\"]", "country"]),Automatic]]}]

OpenersExampleSubsection1(Spacer1)"AllAreas"  (1)

GeoGraphics[{EdgeForm[Thick],Polygon[GeoVariant[(Entity["United States", Entity["Country","UnitedStates"], "Entity[\"Country\", \"UnitedStates\"]", "country"]),"AllAreas"]]}]

OpenersExampleSubsection2(Spacer1)"Center"  (1)

GeoGraphics[{EdgeForm[Thick],Polygon[GeoVariant[(Entity["United States", Entity["Country","UnitedStates"], "Entity[\"Country\", \"UnitedStates\"]", "country"]),"Center"]]}]

OpenersExampleSubsection3(Spacer1)"DefaultMapArea"  (1)

GeoGraphics[{EdgeForm[Thick],Polygon[GeoVariant[(Entity["United States", Entity["Country","UnitedStates"], "Entity[\"Country\", \"UnitedStates\"]", "country"]),"DefaultMapArea"]]}]

OpenersExampleSubsection4(Spacer1)"PrincipalArea"  (1)

GeoGraphics[{EdgeForm[Thick],Polygon[GeoVariant[(Entity["United States", Entity["Country","UnitedStates"], "Entity[\"Country\", \"UnitedStates\"]", "country"]),"PrincipalArea"]]}]

OpenersExampleSubsection5(Spacer1)"SimplifiedArea"  (1)

GeoGraphics[{EdgeForm[Thick],Polygon[GeoVariant[(Entity["United States", Entity["Country","UnitedStates"], "Entity[\"Country\", \"UnitedStates\"]", "country"]),"SimplifiedArea"]]}]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[GeoGroup, paclet:ref/GeoGroup])  ▪  (RefLink[GeoNearest, paclet:ref/GeoNearest])  ▪  (RefLink[GeoIdentify, paclet:ref/GeoIdentify])  ▪  (RefLink[GeoGraphics, paclet:ref/GeoGraphics])  ▪  (RefLink[GeoDistance, paclet:ref/GeoDistance])  ▪  (RefLink[EntityValue, paclet:ref/EntityValue])  ▪  (RefLink[EntityGroup, paclet:ref/EntityGroup])  ▪  (RefLink[EntityInstance, paclet:ref/EntityInstance])}})}})

({{DocumentationFooterIconsRelatedTutorial.png, ({{Tutorials}, {▪(RefLinkPlain[GeoGraphics, paclet:tutorial/GeoGraphics])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Geographic Data & Entities, paclet:guide/GeographicData])}})}})