Nearest country containing or closest to a geo position
GeoNearest[enttype, loc]
GeoNearest[{reg1, reg2, …, regn}, loc]
GeoNearest[{reg1 -> val1, reg2 -> val2, …, regn -> valn}, loc]
GeoNearest[{reg1, reg2, …, regn} -> {val1, val2, …, valn}, loc]
GeoNearest[{reg1, reg2, …, regn} -> Automatic, loc]
GeoNearest[spec, loc, n]
GeoNearest[spec, loc, {n, r}]
GeoNearest["Country", GeoPosition[{0., -25.}]]
→ {Entity[Country, Brazil]}GeoNearest["Country", Entity["Country", "Australia"], 3]
→ {Entity[Country, Australia]}GeoNearest["Country", Entity["City", {"Paris", "IleDeFrance", "France"}]]
→ {Entity[Country, France]}- DistanceFunction — default "Boundary"
- TimeConstraint — default 30