"ComputedLocation" (Interpreter Type)
A geographic location derived by computation.
Details
- "ComputedLocation" can be used in Interpreter and related constructs, including deployed smart form fields.
- Use of "ComputedLocation" requires connectivity to the Wolfram Cloud.
Allowed Forms
- Any natural-language name of a geographic location supported by "Location", or a computation yielding one.
Restriction Specifications
-
Restricted["ComputedLocation",{{choice1,…}}] one among choices Restricted["ComputedLocation",reg] a location in the region reg, given as an Entity Restricted["ComputedLocation",reg,datum] a location in the region reg, with position referring to datum
Interpretation
- "ComputedLocation" yields a GeoPosition object. For extended entities, it uses when possible the position of the geographic center of the entity.
Examples
Basic Examples (3)Summary of the most common use cases
Interpret geographic locations:
In[1]:=1

✖
https://wolfram.com/xid/0x9ft3i8ea38fq35nhu5vyj2-rae2nv
Out[1]=1

In[2]:=2

✖
https://wolfram.com/xid/0x9ft3i8ea38fq35nhu5vyj2-p83p1r
Out[2]=2

Interpret geographic locations derived by computation:
In[1]:=1

✖
https://wolfram.com/xid/0x9ft3i8ea38fq35nhu5vyj2-3hrphd
Out[1]=1

In[2]:=2

✖
https://wolfram.com/xid/0x9ft3i8ea38fq35nhu5vyj2-lld95g
Out[2]=2

Restrict to locations in California:
In[1]:=1

✖
https://wolfram.com/xid/0x9ft3i8ea38fq35nhu5vyj2-ybbq1j
Out[1]=1

In[2]:=2

✖
https://wolfram.com/xid/0x9ft3i8ea38fq35nhu5vyj2-yt9hyk
Out[2]=2

In[3]:=3

✖
https://wolfram.com/xid/0x9ft3i8ea38fq35nhu5vyj2-jkqr8g
Out[3]=3

Change the datum for the resulting GeoPosition:
In[1]:=1

✖
https://wolfram.com/xid/0x9ft3i8ea38fq35nhu5vyj2-d9s2x9
Out[1]=1

Geographic restrictions apply to the center coordinates in case of extended entities:
In[1]:=1

✖
https://wolfram.com/xid/0x9ft3i8ea38fq35nhu5vyj2-mlcycn
Out[1]=1
