Wolfram 语言与系统 10.0 (2014)|旧版文档

此为更早版本的 Wolfram 语言文档查看最新文档(版本11.2)

GeoIdentify

GeoIdentify[enttype]
identifies the geographic entities of the type enttype in which the current geo location is contained.

GeoIdentify[enttype,loc]
identifies the entities in which the location loc is contained.

GeoIdentify[]
identifies the entities of any type in which the current geo location is contained.

更多信息和选项更多信息和选项

  • GeoIdentify returns a list of Entity objects representing extended geographic regions.
  • Possible forms for enttype include:
  • "Country"country, territory, etc.
    "City"city
    "AdministrativeDivision"administrative division of any level
    "ADM1"first-level administrative division
    "ADM2"second-level administrative division
    "ADM3"third-level administrative division
    "Ocean"ocean
    "USCounty"US county
    "USState"US state
    "ZIPCode"US ZIP code
    type1|type2|any of the
    Allany possible type
  • The location loc can be specified as a GeoPosition, an Entity object, or a GeoGraphics primitive.
  • In GeoIdentify[] and GeoIdentify[regtype], the location is taken to be the current setting for $GeoLocation.

范例范例打开所有单元关闭所有单元

基本范例  (4)基本范例  (4)

The country of your current location:

In[1]:=
Click for copyable input
Out[1]=

The center of the Atlantic Ocean is not in any country:

In[1]:=
Click for copyable input
Out[1]=

It is only contained in the ocean itself:

In[2]:=
Click for copyable input
Out[2]=

The state and ZIP code of GeoPosition[{42.11`,-89.24`}]:

In[1]:=
Click for copyable input
Out[1]=

All entities containing your current GeoLocation:

In[1]:=
Click for copyable input
Out[1]=
2014年引入
(10.0)