You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When adding assets to an item using core.add_raster_to_item stactools always computes statistics and histogram. None of the values are required for the raster extension. When creating many items, computing statistics, and histograms can significantly slow the process. Giving users the ability to opt out of statistics and histograms will increase user experience.
Describe the solution you'd like
Add kwargs statistics:bool=True and histogram:bool=True to core.add_raster_to_item function and only compute statistics and histogram if values are set to true. This should assure backward compatibility and open up options to include additional fields in the future.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
When adding assets to an item using
core.add_raster_to_item
stactools always computes statistics and histogram. None of the values are required for the raster extension. When creating many items, computing statistics, and histograms can significantly slow the process. Giving users the ability to opt out of statistics and histograms will increase user experience.Describe the solution you'd like
Add kwargs
statistics:bool=True
andhistogram:bool=True
tocore.add_raster_to_item
function and only compute statistics and histogram if values are set to true. This should assure backward compatibility and open up options to include additional fields in the future.The text was updated successfully, but these errors were encountered: