stac-utils / stactools

Command line utility and Python library for STAC
https://stactools.readthedocs.io/
Other
105 stars 28 forks source link

Expose recursive_round function #390

Closed pjhartzell closed 1 year ago

pjhartzell commented 1 year ago

Related Issue(s): None

Description: Pulls the recursive_round() function out of round_coordinates(). Being able to access recursive_round directly is useful in cases, e.g., where you'd like to round coordinates prior to creating an Item or Collection.

PR checklist:

pjhartzell commented 1 year ago

@gadomski Does this need a changelog entry? It is just an edit to an unreleased feature (the round_coordinates utility function that operates on Items and Collections) that doesn't change the functionality of the feature.

gadomski commented 1 year ago

Does this need a changelog entry?

It adds a new free function to the public API so I'd say yes.