gives the country entity for the current setting for $GeoLocation.
$GeoLocationCountry
gives the country entity for the current setting for $GeoLocation.
Examples
open all close allBasic Examples (1)
Applications (2)
Properties & Relations (3)
$GeoLocationCountry gives the nearest country to your current $GeoLocation:
$GeoLocationCity gives the nearest city to your current $GeoLocation:
$GeoLocationCountry performs a GeoNearest call to find the nearest country to your current location:
Block temporarily the value of $GeoLocation to simulate that you are located at that position:
$GeoLocationCountry is automatically set, even if $GeoLocation is at sea:
Reset your current $GeoLocation:
Possible Issues (1)
$GeoLocationCountry cannot be set independently of $GeoLocation:

Instead, set $GeoLocation to a location included in that country:
Then $GeoLocationCountry will be automatically set:
Restore your current $GeoLocation:
Tech Notes
History
Text
Wolfram Research (2014), $GeoLocationCountry, Wolfram Language function, https://reference.wolfram.com/language/ref/$GeoLocationCountry.html.
CMS
Wolfram Language. 2014. "$GeoLocationCountry." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/$GeoLocationCountry.html.
APA
Wolfram Language. (2014). $GeoLocationCountry. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/$GeoLocationCountry.html
BibTeX
@misc{reference.wolfram_2025_$geolocationcountry, author="Wolfram Research", title="{$GeoLocationCountry}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/$GeoLocationCountry.html}", note=[Accessed: 14-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_$geolocationcountry, organization={Wolfram Research}, title={$GeoLocationCountry}, year={2014}, url={https://reference.wolfram.com/language/ref/$GeoLocationCountry.html}, note=[Accessed: 14-August-2025]}