Skip to content

Bug: Raster tiles request for a STAC item that overlaps with other items returns a mosaic with the overlapping items #471

Open
@slesaad

Description

@slesaad

Description

The tiles returned by raster api for a STAC item returns a mosaic if the item overlaps with other items.

However, the preview returns the correct image.

Reproduction / Examples

Stack: GHG prod stack
Collection: emit-ch4plume-v1
Item: EMIT_L2B_CH4PLM_001_20240228T030250_002798

  • tile
    url: https://earth.gov/ghgcenter/api/raster/collections/emit-ch4plume-v1/tiles/WebMercatorQuad/13/6250/3462@1x?item=EMIT_L2B_CH4PLM_001_20240228T030250_002798&assets=ch4-plume-emissions&bidx=1&colormap_name=plasma&rescale=1%2C1500&nodata=-9999
    image: Image

  • preview
    url: https://earth.gov/ghgcenter/api/raster/collections/emit-ch4plume-v1/items/EMIT_L2B_CH4PLM_001_20240228T030250_002798/preview.png?bidx=1&assets=ch4-plume-emissions&rescale=1%2C1500&resampling=bilinear&colormap_name=plasma
    image: Image

Expected behavior

  • Tiles should return only the image for the relevant item id, not the mosaic with overlapping items

Related issue in GHG

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions