gives a list of the geographic entities of type enttype contained in the extended region reg.
Details and Options
- In GeoEntities[reg,enttype], reg can be specified as either an Entity object or an extended GeoGraphics primitive.
- In GeoEntities[reg,enttype], enttype can be specified as an Entity object, such as Entity["Country"], or as a string, such as "City".
- Valid forms of enttype include:
"AdministrativeDivision" administrative division of any level "AdministrativeDivision1" first-level administrative division "AdministrativeDivision2" second-level administrative division "AdministrativeDivision3" third-level administrative division "Airport" airports "Bridge" bridges "Building" buildings "City" city "Country" country, territory, etc. "Mountain" mountains "Ocean" oceans "USCounty" US counties "USState" US states "Volcano" volcanoes "ZIPCode" US ZIP codes Except[ent,enttype] entities other than ent of type enttype GeoVariant[enttype,variant] entities using variant regions EntityClass["type","class"] individual members of class enttype1|enttype2|… any of the enttypei All any possible type
Examplesopen allclose all
Basic Examples (3)
All entities in ZIP code 61801:
Find mountains and bridges in Vermont:
Administrative divisions other than Manhattan that intersect New York City:
Find the countries a given polygon partially overlaps:
Draw a map showing the polygon and countries:
The United States extends into a part of the Pacific Ocean:
But its principal land mass does not:
The portion of the United States in question is Hawaii:
Determine the G7 countries inside the specified latitude/longitude region:
By default, an entity is considered to be inside the region if the two intersect:
The option "FullyContained"->True excludes entities that cover only a portion of the location:
Properties & Relations (3)
GeoEntities always returns a list:
For extended locations loc, GeoEntities[loc,enttype] is essentially equivalent to GeoIdentify[enttype,loc]:
GeoEntities only includes entities that overlap the region:
GeoNearest includes all entities, if any, at zero distance from an extended region:
Wolfram Research (2014), GeoEntities, Wolfram Language function, https://reference.wolfram.com/language/ref/GeoEntities.html.
Wolfram Language. 2014. "GeoEntities." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/GeoEntities.html.
Wolfram Language. (2014). GeoEntities. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/GeoEntities.html