Skip to content

Update stac_ipyleaflet to use titiler-pgstac endpoints #131

Description

@hrodmn

Description

We are working on consolidating the titiler deployments in MAAP to a single instance (titiler-pgstac.maap-project.org) (https://github.com/NASA-IMPACT/active-maap-sprint/issues/945, https://github.com/NASA-IMPACT/active-maap-sprint/issues/988, https://github.com/NASA-IMPACT/active-maap-sprint/issues/471).

I will go through stac-ipyleaflet and figure out which (if any) of the features will require any custom titiler modifications (e.g. mosaicjson endpoints) or if we can use new features in titiler-pgstac to replace those custom features.

Functions that use titiler-stac.maap-project.org:

  • Stac.get_tile_url: will work if we add the /cog endpoints
  • Stac.stac_tile
    • Need to use /collections/{collection_id}/items/{item_id}/{tileMatrixSetId}/tilejson.json instead of /stac/{TileMatrixSetId}/tilejson.json
    • OR add /stac endpoints to the titiler-pgstac tiler
  • Stac.get_metadata: No more /metadata endpoint... but I can't tell if this function is actually used anywhere. Still need to figure out what is returned by this feature.

cc @abarciauskas-bgse @jjfrench

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