GeoEntities
✖
GeoEntities

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 any extended geo region, including geo entities of domains such as "City", "Country" or "HistoricalCountry"; Dated[…] objects; GeoVariant[…] expressions or extended GeoGraphics primitives.
- 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. "HistoricalCountry" historical countries, regions, empires, etc. "MilitaryConflict" military conflicts "Mountain" mountains "Ocean" oceans "USCounty" US counties "USState" US states "Volcano" volcanoes "ZIPCode" US ZIP codes Dated[enttype,date] entities of type enttype restricted by date Except[ent,enttype] entities other than ent of type enttype GeoVariant[enttype,variant] entities using variant regions EntityClass["type","class"] individual members of class enttype1enttype2… any of the enttypei All any possible type - GeoEntities[reg,Dated[enttype,date]] returns a list of Dated[entity,date] objects.
- GeoEntities[reg,GeoVariant[enttype,variant]] returns a list of GeoVariant[entity,variant] objects.
Examples
open allclose allBasic Examples (4)Summary of the most common use cases

https://wolfram.com/xid/0h2om4sa88-cs6o2b

Famous buildings in the city of Dallas, Texas:

https://wolfram.com/xid/0h2om4sa88-vliicq

Cities in a particular coordinate rectangle:

https://wolfram.com/xid/0h2om4sa88-6yh9s

Find the first-level administrative divisions in the contiguous United States:

https://wolfram.com/xid/0h2om4sa88-spt3o0

The list also includes the District of Columbia:

https://wolfram.com/xid/0h2om4sa88-g6aiym

Scope (12)Survey of the scope of standard use cases
Geographic Data (7)
All entities in ZIP code 61801:

https://wolfram.com/xid/0h2om4sa88-dssop0

Find mountains and bridges in Vermont:

https://wolfram.com/xid/0h2om4sa88-twos8u

Administrative divisions other than Manhattan that intersect New York City:

https://wolfram.com/xid/0h2om4sa88-y5mahd


https://wolfram.com/xid/0h2om4sa88-oisf1b

Find the countries a given polygon partially overlaps:

https://wolfram.com/xid/0h2om4sa88-3lt4gc

https://wolfram.com/xid/0h2om4sa88-ucwu4

Draw a map showing the polygon and countries:

https://wolfram.com/xid/0h2om4sa88-w2ueeu

By default, the country geo entities of Greenland only include Greenland itself:

https://wolfram.com/xid/0h2om4sa88-6v6hb1

With the "AllAreas" geo variant, Denmark is also included:

https://wolfram.com/xid/0h2om4sa88-nj1gfl


https://wolfram.com/xid/0h2om4sa88-kvtqwh

The geo bounds region around Greenland also includes Canada and Iceland:

https://wolfram.com/xid/0h2om4sa88-9hbelu


https://wolfram.com/xid/0h2om4sa88-g0byji

Again, only Denmark is added when using the "AllAreas" geo variant:

https://wolfram.com/xid/0h2om4sa88-yvurvx

Determine the G7 countries inside the specified latitude/longitude region:

https://wolfram.com/xid/0h2om4sa88-r3f5bj

Historical Data (5)
Find the military conflicts that happened in the Roman Republic at any time in its history:

https://wolfram.com/xid/0h2om4sa88-ko0h2

Use Dated to restrict the historical entity to a specific date or interval:

https://wolfram.com/xid/0h2om4sa88-cn5zha

Using Dated with the entity type will return results specifying the date of spatial overlap:

https://wolfram.com/xid/0h2om4sa88-chl4gc

Using a non-historical entity with a historical entity type will compute overlaps, ignoring date information:

https://wolfram.com/xid/0h2om4sa88-l5s6yz

Restrict the search to a given date range using Dated with the entity type:

https://wolfram.com/xid/0h2om4sa88-57gawe

Use Dated[enttype,All] to return the periods of overlap for all historical entities:

https://wolfram.com/xid/0h2om4sa88-bf3cjj

Find the military conflicts that occurred between years 100 and 600 in the given geo rectangle:

https://wolfram.com/xid/0h2om4sa88-z2asi

Options (1)Common values & functionality for each option
"FullyContained" (1)
By default, an entity is considered to be inside the region if the two intersect:

https://wolfram.com/xid/0h2om4sa88-ztdzge

The option "FullyContained"->True excludes entities that cover only a portion of the location:

https://wolfram.com/xid/0h2om4sa88-ql8tnf

Properties & Relations (3)Properties of the function, and connections to other functions
GeoEntities always returns a list:

https://wolfram.com/xid/0h2om4sa88-f8obn2


https://wolfram.com/xid/0h2om4sa88-o76fil

For extended locations loc, GeoEntities[loc,enttype] is essentially equivalent to GeoIdentify[enttype,loc]:

https://wolfram.com/xid/0h2om4sa88-yuwv4j

GeoEntities only includes entities that overlap the region:

https://wolfram.com/xid/0h2om4sa88-ia49e2

GeoNearest includes all entities, if any, at zero distance from an extended region:

https://wolfram.com/xid/0h2om4sa88-drlv92

Wolfram Research (2014), GeoEntities, Wolfram Language function, https://reference.wolfram.com/language/ref/GeoEntities.html (updated 2024).
Text
Wolfram Research (2014), GeoEntities, Wolfram Language function, https://reference.wolfram.com/language/ref/GeoEntities.html (updated 2024).
Wolfram Research (2014), GeoEntities, Wolfram Language function, https://reference.wolfram.com/language/ref/GeoEntities.html (updated 2024).
CMS
Wolfram Language. 2014. "GeoEntities." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2024. https://reference.wolfram.com/language/ref/GeoEntities.html.
Wolfram Language. 2014. "GeoEntities." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2024. https://reference.wolfram.com/language/ref/GeoEntities.html.
APA
Wolfram Language. (2014). GeoEntities. Wolfram Language & System Documentation Center. Retrieved from 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
BibTeX
@misc{reference.wolfram_2025_geoentities, author="Wolfram Research", title="{GeoEntities}", year="2024", howpublished="\url{https://reference.wolfram.com/language/ref/GeoEntities.html}", note=[Accessed: 17-May-2025
]}
BibLaTeX
@online{reference.wolfram_2025_geoentities, organization={Wolfram Research}, title={GeoEntities}, year={2024}, url={https://reference.wolfram.com/language/ref/GeoEntities.html}, note=[Accessed: 17-May-2025
]}