Skip to content

Commit

Permalink
Update supported media type
Browse files Browse the repository at this point in the history
  • Loading branch information
inigo-cobian committed Jan 15, 2025
1 parent 8295860 commit 3805ae7
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@

public class STACAssetParser {
// https://github.com/radiantearth/stac-spec/blob/master/best-practices.md#common-media-types-in-stac
final private static Set<String> SUPPORTED_MEDIA_TYPE = Set.of("image/tiff;application=geotiff;profile=cloud-optimized","image/vnd.stac.geotiff;profile=cloud-optimized");
final private static Set<String> SUPPORTED_MEDIA_TYPE = Set.of("image/tiff;application=geotiff", "image/vnd.stac.geotiff",
"image/tiff;application=geotiff;profile=cloud-optimized", "image/vnd.stac.geotiff;profile=cloud-optimized",
"image/vnd.stac.geotiff;cloud-optimized=true", "application/geo+json");

/**
* Check if the MIME value is supported.
Expand Down

0 comments on commit 3805ae7

Please sign in to comment.