Skip to content

Commit

Permalink
Merge branch 'hotfix/0.9.8'
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelmathot committed Jun 16, 2021
2 parents f545be5 + 0fdf376 commit c8f74ba
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/Stars.Console/Terradue.Stars.Console.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>netcoreapp3.1;net5.0</TargetFrameworks>
<Version>0.9.7</Version>
<Version>0.9.8</Version>
<Version Condition=" '$(VersionSuffix)' != '' ">$(Version)-$(VersionSuffix)</Version>
<VersionSuffix>$(VersionSuffix)</VersionSuffix>
<AssemblyName>Stars</AssemblyName>
Expand Down
2 changes: 1 addition & 1 deletion src/Stars.Services/Terradue.Stars.Services.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<TargetFramework>netstandard2.1</TargetFramework>
<Title>Terradue.Stars</Title>
<Description>Stars is a set of services for working with Spatio Temporal Catalog such as STAC but not only</Description>
<Version>0.9.7</Version>
<Version>0.9.8</Version>
<!-- <VersionSuffix>beta.1</VersionSuffix> -->
<AssemblyName>Terradue.Stars.Services</AssemblyName>
<PackageId>Terradue.Stars</PackageId>
Expand Down
8 changes: 4 additions & 4 deletions src/Stars.Services/ThirdParty/Titiler/TitilerService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -137,14 +137,14 @@ public Uri BuildServiceUri(Uri stacItemUri, IDictionary<string, StacAsset> overv
// IEnumerable<double?[]> scales = stacAsset.RasterExtension().Bands.Select(b => new double?[2] { b.Statistics?.Minimum, b.Statistics?.Minimum });
// if (scales.All(s => s[0].HasValue && s[1].HasValue && s[0].Value < s[1].Value))
// {
// return scales.SelectMany(s => new double?[2] { s[0].HasValue? s[0].Value : -10000,
// return scales.SelectMany(s => new double?[2] { s[0].HasValue? s[0].Value : 0,
// s[1].HasValue? s[1].Value : 10000 }).ToArray();
// }
// }

if (stacAsset.Roles.Contains("visual") ||
stacAsset.Roles.Contains("overview"))
return new double?[0];
// if (stacAsset.Roles.Contains("visual") ||
// stacAsset.Roles.Contains("overview"))
// return new double?[0];
if (stacAsset.Roles.Contains("sigma0") ||
stacAsset.Roles.Contains("beta0") ||
stacAsset.Roles.Contains("gamma0")
Expand Down

0 comments on commit c8f74ba

Please sign in to comment.