-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mosaic / composite item type #150
Comments
@mojodna |
Yes, none of these are mosaic-specific. We will add them to the raster extension(s) of the Dataset spec. @mojodna : What's a sample use case for quality factors? @matthewhanson : For reference, in EE almost all properties from the MTL file are stored in each Landsat asset's metadata, and thus TOA can be computed on the fly. In Collection 1 average sun angle can be taken into account: https://landsat.usgs.gov/using-usgs-landsat-8-product However, it's not clear if storing them in the STAC catalog is necessary if STAC is intended just for listing/retrieving/visualizing assets and not for providing input for computations. |
@simonff The problem we have run into is, in the case of Landsat, in order to visualize it you need to apply the gains and offsets and it makes it easier if those gains and offsets are in the STAC record rather than in the datafile because that requires you need to read the metadata from the header of the files which is more overhead (we are reading just windowed pieces of the files remotely from S3, so the overhead of reading additional metadata is not small). In the case of sun angle for Landsat there are two problems: |
@simonff Also, while some of these fields do apply to the dataset as a whole, some of them (such as gain/offset) would be per Item as they can change across scenes. |
👋 @mojodna @matthewhanson About the proposed properties, IMO (and for my use cases) the most important is to have the zoom range and the quadkey coverage for each item. Fee comments about the proposed items:
Not sure what it means
👍 (or resolution + number of overviews, if present)
👍 Quadkey is perfect. Having the full list of quadkey might be a bit expensive (in processing/storage/response) so maybe the list of quakdey at the lowest resolution.
😐 I see this as optional and is implementation specific IMO.
😐 I see this as optional and is implementation specific IMO.
😐 I see this as optional and is implementation specific IMO.
😐 I see this as optional and is implementation specific IMO.
👍 With our recent work on COG mosaics https://medium.com/devseed/cog-talk-part-2-mosaics-bbbf474e66df we use quadkey indexes intermediate files to link a tile request to a COG so having a quadkey info directly in the stac metadata will make it easier to create those. |
Any more interest in something like this? I'm interested in an extension that provides for a collection of geotiff files that make up a Mosaic dataset. Looking at the existing data model I think a the existing STAC collection almost provides this. I would be interested in the following additional fields:
Collection are already supporting the following fields I need:
|
I would also be interesting in having a geometry for the footprint of the mosaic dataset, but understand that might not be possible with Collections not being GeoJSON features. |
Also just came across this catalog layout best practise:
I think in regards to mosaics it best that tile items are not stored in subdirectories. I understand this practise for very large catalogue of datasets that contain one tiff file per band. |
Anyone interested in this? |
@palmerj From previous work on other extensions, it's often a good idea to just start a draft and put it up as PR. Afterwards, we can get people to review it, asking explicitly for help from domain experts and asking for help on Twitter. Asking here may not get you enough attention. |
There's an extension now: https://github.com/stac-extensions/composite Please continue the discussion there. |
Grouped images should be representable within a STAC Catalog. These may range from multiple parts of a DigitalGlobe strip (multiple assets, but logically and effectively treated as a single asset alongside additional (metadata, thumbnail, etc.) assets) to a curated collection of items that an entity wishes to share.
Properties of an element within such a collection of assets:
In the case of components of a DG strip, this would be included in the list of assets (ideally with some indication that it should be used in preference to individual components, perhaps using
q
values: "Quality factors allow the user or user agent to indicate the relative degree of preference for that media-range, using the qvalue scale from 0 to 1 (section 3.9). The default value is q=1.")A curated collection of items potentially equates to a STAC Item in terms of usage, so this is something to reconcile.
Many of these things provide hints for display purposes and aren't necessarily descriptors for the item itself, so that also merits consideration.
The combination of resolution ranges and quad keys allows a tiler to know when a given asset should be included (and in what order) in a composite image.
We envision this as a small-ish JSON file that is HTTP-accessible and can be used in place of a COG URL (or
POST
ed) with something like tiles.rdnt.io./cc @sharkinsspatial
The text was updated successfully, but these errors were encountered: