Skip to content

SFMS pipeline should generate existing tifs in LCC as well as Cloud Optimized GeoTiffs (COGs) in 3857 to render on the frontend #4970

@conbrad

Description

@conbrad

To visualize SFSM outputs, we should generate the outputs in a format suitable for web rendering.

Acceptance Criteria:

  • Processing pipeline should generate COGs with SRID 3857 to render on the frontend of SFMS Insights

Additional Context:

  • COG generation is expensive and seems to fail to do in memory in our testing pipeline (uses a lot of disk for disk spilling)

Perhaps it should do something like this:

warped = gdal.Warp(
    "",
    src_ds,
    format="MEM",
    dstSRS="EPSG:3857",
)

gdal.Translate(
    output_path,
    warped,
    format="COG",
    creationOptions=[
        "COMPRESS=LZW",
        "OVERVIEWS=NONE",
    ],
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    4Refinementthis ticket is ready for refinement with the team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions