OpenersNotesSection(Spacer1)Details

OpenersPrimaryExamplesSection(Spacer1)Examples  (3)

OpenersExampleSection0(Spacer1)Basic Examples  (3)

Interpret geographic locations:

Interpreter["ComputedLocation"]["Eiffel tower"]

Interpreter["ComputedLocation"]["Boston, MA"]

Interpret geographic locations derived by computation:

Interpreter["ComputedLocation"]["birth place of mozart"]

Interpreter["ComputedLocation"]["center of france"]

Restrict to locations in California:

Interpreter[Restricted["ComputedLocation",(Entity["California, United States", Entity["AdministrativeDivision",{"California","UnitedStates"}], "Entity[\"AdministrativeDivision\", {\"California\", \"UnitedStates\"}]", "administrative division"])]]["Caltech"]

Interpreter[Restricted["ComputedLocation",(Entity["California, United States", Entity["AdministrativeDivision",{"California","UnitedStates"}], "Entity[\"AdministrativeDivision\", {\"California\", \"UnitedStates\"}]", "administrative division"])]]["Hollywood"]

Interpreter[Restricted["ComputedLocation",(Entity["California, United States", Entity["AdministrativeDivision",{"California","UnitedStates"}], "Entity[\"AdministrativeDivision\", {\"California\", \"UnitedStates\"}]", "administrative division"])]]["capital city of IL"]

Change the datum for the resulting (RefLink[GeoPosition, paclet:ref/GeoPosition]):

Interpreter[Restricted["ComputedLocation", Automatic,"ITRF90"]]["lat 45.3, long -15"]

Geographic restrictions apply to the center coordinates in case of extended entities:

Interpreter[Restricted["ComputedLocation",(Entity["Limousin, France", Entity["AdministrativeDivision",{"Limousin","France"}], "Entity[\"AdministrativeDivision\", {\"Limousin\", \"France\"}]", "administrative division"])]]["france"]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[Interpreter, paclet:ref/Interpreter])  ▪  (RefLink[SemanticImport, paclet:ref/SemanticImport])  ▪  (RefLink[Restricted, paclet:ref/Restricted])  ▪  (RefLink[Failure, paclet:ref/Failure])  ▪  (RefLink[GeoPosition, paclet:ref/GeoPosition])}, {Related Interpreter Types:  (RefLink[Location, paclet:ref/interpreter/Location])  ▪  (RefLink[GeoCoordinates, paclet:ref/interpreter/GeoCoordinates])  ▪  (RefLink[StreetAddress, paclet:ref/interpreter/StreetAddress])  ▪  (RefLink[City, paclet:ref/interpreter/City])  ▪  (RefLink[Country, paclet:ref/interpreter/Country])  ▪  (RefLink[CountryClass, paclet:ref/interpreter/CountryClass])  ▪  (RefLink[ZIPCode, paclet:ref/interpreter/ZIPCode])  ▪  (RefLink[Airport, paclet:ref/interpreter/Airport])  ▪  (RefLink[USState, paclet:ref/interpreter/USState])  ▪  (RefLink[USStateClass, paclet:ref/interpreter/USStateClass])  ▪  (RefLink[AdministrativeDivision, paclet:ref/interpreter/AdministrativeDivision])  ▪  (RefLink[AdministrativeDivisionClass, paclet:ref/interpreter/AdministrativeDivisionClass])  ▪  (RefLink[Continent, paclet:ref/interpreter/Continent])  ▪  (RefLink[GeographicRegion, paclet:ref/interpreter/GeographicRegion])  ▪  (RefLink[StructuredGeoCoordinates, paclet:ref/interpreter/StructuredGeoCoordinates])  ▪  (RefLink[ComputedCity, paclet:ref/interpreter/ComputedCity])  ▪  (RefLink[ComputedCountry, paclet:ref/interpreter/ComputedCountry])  ▪  (RefLink[ComputedZIPCode, paclet:ref/interpreter/ComputedZIPCode])  ▪  (RefLink[ComputedAirport, paclet:ref/interpreter/ComputedAirport])  ▪  (RefLink[ComputedUSState, paclet:ref/interpreter/ComputedUSState])  ▪  (RefLink[ComputedAdministrativeDivision, paclet:ref/interpreter/ComputedAdministrativeDivision])  ▪  (RefLink[ComputedContinent, paclet:ref/interpreter/ComputedContinent])  ▪  (RefLink[ComputedGeographicRegion, paclet:ref/interpreter/ComputedGeographicRegion])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Setting Up Input Interpreters, paclet:guide/InterpretingStrings])}})}})