Place

class pyinaturalist.models.Place(id=None, admin_level=None, ancestor_place_ids=NOTHING, bbox_area=None, bounding_box_geojson=NOTHING, category=None, display_name=None, geometry_geojson=NOTHING, location=None, name=None, place_type=None, slug=None)

Bases: pyinaturalist.models.base.BaseModel

A curated or community-contributed place. Handles data from the following endpoints:

Attributes Summary

Name

Type

Description

id

int

Unique record ID

admin_level

int

Administrative level, if any

ancestor_place_ids

List[str]

IDs of places that this place is contained within

bbox_area

float

Bounding box area

bounding_box_geojson

Dict[str, Any]

Bounding box polygon that fully encloses the place

category

str

Place category (only applies to /places/nearby)

display_name

str

Place name as displayed on place info page

geometry_geojson

Dict[str, Any]

Polygon representing place boundary

location

Tuple[float, float]

Location in (latitude, logitude) decimal degrees

name

str

Place name

place_type

int

Numeric value indicating place type

slug

str

Place URL slug

ancestry (property)

str

Handle slash-delimited ‘ancestry’ string from establishment_means.place

url (property)

str

Place info URL on iNaturalist.org