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:
GET /taxa (
establishment_means.place
)
Attributes Summary
Name
Type
Description
id
Unique record ID
admin_level
Administrative level, if any
ancestor_place_ids
IDs of places that this place is contained within
bbox_area
Bounding box area
bounding_box_geojson
Bounding box polygon that fully encloses the place
category
Place category (only applies to /places/nearby)
display_name
Place name as displayed on place info page
geometry_geojson
Polygon representing place boundary
location
Location in
(latitude, logitude)
decimal degreesname
Place name
place_type
Numeric value indicating place type
slug
Place URL slug
ancestry (
property
)Handle slash-delimited ‘ancestry’ string from
establishment_means.place
url (
property
)Place info URL on iNaturalist.org