Skip to content

Commit

Permalink
fallback to stable approach when reading geometry
Browse files Browse the repository at this point in the history
  • Loading branch information
jdries committed May 3, 2024
1 parent fca1e7e commit 7942099
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1152,7 +1152,7 @@ class FileLayerProvider private(openSearch: OpenSearchClient, openSearchCollecti

//convert to raster region
val cube=
if(!datacubeParams.map(_.loadPerProduct).getOrElse(false) || theMaskStrategy != NoCloudFilterStrategy){
if(!datacubeParams.map(_.loadPerProduct).getOrElse(false) || theMaskStrategy != NoCloudFilterStrategy || openSearchLinkTitles.filter(_.contains("Metadata##")).nonEmpty){
rasterRegionsToTiles(regions, metadata, retainNoDataTiles, theMaskStrategy, partitioner, datacubeParams)
}else{
rasterRegionsToTilesLoadPerProductStrategy(regions, metadata, retainNoDataTiles, NoCloudFilterStrategy, partitioner, datacubeParams)
Expand Down

0 comments on commit 7942099

Please sign in to comment.