Skip to content

Implement __geo_interface__ #786

@TomAugspurger

Description

@TomAugspurger

__geo_interface__ is a way for Python objects to return geojson (-like) representations of themselves. Should pystac objects implement this?

This might be helpful for cases like stac-utils/pystac-client#146, where libraries want to support a range of geojson-like objects without having to know how to convert each particular object to geojson.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions