Skip to content

Add documentation around adding projection/raster extension to collection for summaries/item assets #890

@m-mohr

Description

@m-mohr

I'd like to add the projection extension to a collection. Specifically, I've added proj:espg to the summaries and I basically want to get the projection extension entry into stac_extensions.

I've tried ProjectionExtension.ext(collection, add_if_missing=True), but it returns a

pystac.errors.ExtensionTypeError: Projection extension does not apply to type 'Collection'

I don't think this is true. Proj can be used in Collection summaries for sure.

Metadata

Metadata

Assignees

Labels

documentationIssues related to PySTAC documentation

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions