"Location" (Interpreter Type)

Natural-language name or coordinates of a geographic location.

Details

  • "Location" can be used in Interpreter and related constructs, including deployed smart form fields.
  • Use of "Location" requires connectivity to the Wolfram Cloud.

Allowed Forms

  • Indiaa named country
    Parisa named city
    Lake Tanganyikaa named geographical location
    52°48'00"N 59°2'19"Egeographic coordinates
    lat 35 long 55geographic coordinates
    1 Broadway, NYCa street address

Restriction Specifications

  • Restricted["Location",{{choice1,}}]one among choices
    Restricted["Location",reg]a location in the region reg, given as an Entity
    Restricted["Location",reg,datum]a location in the region reg, with position referring to datum

Interpretation

  • "Location" yields a GeoPosition object. For extended entities, it uses when possible the position of the geographic center of the entity.

Examples

Basic Examples  (4)

Interpret named locations:

Interpret geographic coordinates:

Interpret a street address:

Restrict to US locations:

Interpret locations of any kind:

Change the datum for the resulting GeoPosition:

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

Introduced in 2014
 (10.0)