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.
It's not possible to add "recalculate/uploadBBox" parameter to an harvest granule request.
Describe the solution you'd like
Add parameters in "add_granule" function to be able to recalculate the BBox of the ImageMosaic once updated.
In line 648 of catalog.py there's the function "add_granule" with declared parameters in line 666 as "params = dict()"; unfortunately there's no function argument to pass key:value pair to the dictionary.
Describe alternatives you've considered
None at the moment.
Additional context
E.g. I have an ImageMosaic over a ROI (a Polygon) with time attribute. When updating Polygon coordinates it triggers a new elaboration of the area and then post the resulting raster to Geoserver. Since orginal Polygon coordinates were updated, the new elaboration will have a different BBox than the original ImageMosaic (assuming that for example new area is larger than the previous and bbox is inferred from data).
Geoserver v2.17.2 and v2.16.2
Python v3.7.8
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
It's not possible to add "recalculate/uploadBBox" parameter to an harvest granule request.
Geoserver doc: https://docs.geoserver.org/latest/en/user/rest/api/coveragestores.html#rest-api-coveragestores-file-put (recalculate in POST request at /workspaces//coveragestores//file[.<extension])
Geoserver API Swagger: https://docs.geoserver.org/latest/en/api/#1.0.0/coveragestores.yaml (uploadBBox in POST request /workspaces/{workspace}/coveragestores/{store}/{method}.{format} )
Describe the solution you'd like
Add parameters in "add_granule" function to be able to recalculate the BBox of the ImageMosaic once updated.
In line 648 of catalog.py there's the function "add_granule" with declared parameters in line 666 as "params = dict()"; unfortunately there's no function argument to pass key:value pair to the dictionary.
Describe alternatives you've considered
None at the moment.
Additional context
E.g. I have an ImageMosaic over a ROI (a Polygon) with time attribute. When updating Polygon coordinates it triggers a new elaboration of the area and then post the resulting raster to Geoserver. Since orginal Polygon coordinates were updated, the new elaboration will have a different BBox than the original ImageMosaic (assuming that for example new area is larger than the previous and bbox is inferred from data).
Geoserver v2.17.2 and v2.16.2
Python v3.7.8
The text was updated successfully, but these errors were encountered: