Skip to content

Feature requests discussion: item.title, breadcrumbs full nav hierarchy, asset actions #248

@jo-chemla

Description

@jo-chemla

Hi there, first of all, pretty impressed with stac-map and how fast things are moving! This is a pretty solid viewer, even for non-technical people, and a great addition in conjunction to STAC-browser. Here are some thoughts after loading our STAC catalog and playing with it for some time:

  • In Items list, following a search, it would be useful when available to use item.title rather than item.id, especially when items ids are not meaningful, like uuids. Should happen here, easy PR in case it makes sense like it's done here

  • Breadcrumbs navigation is nice to go back to root or parent once one get used to it. It might be more powerful to include the full path from root to currently viewed item. This is less easy to build since STAC item only knows its parent and root, so it could be built recursively, or by passing prop during navigation. Also, would involve some question about ui, visually integrating breadcrumbs possibly larger than sidepanel width.

  • We implemented a batch of custom asset actions to stac-browser merged upstream - that we have to update, hopefully by next month - visible here stac-browser/src/actions/assets - so asset types that are not COGs can be viewed in a dedicated, external, web-viewer, for 3d-tiles 3DTilesRendererJS and Cesium), COPC (hobu viewer and potree), pmtiles (official viewer), potree, mesh (via f3d web or threepipe). Do you think it might be useful for stac-map to also support these? Note most can probably be added as link to each stac item, although this would include a repetition like https://threepipe.org/examples/tweakpane-editor?model=ITEM_URL.

  • Possible bug although this might be on us: On this stac-map link of one of our stac collection (stac catalog, not stac-search api) (root > projects > project-id > scenes > scene-id > pointclouds), when performing a search for items on collection pointclouds with empty start/end datetimes, it is not the pointcloud item 257607d1 that gets returned but the scene/f67f686c

  • Nice-to-have: it would be helpful to have the whole card of the collection being clickable rather than only its title. Also, when performing the Items search, auto-opening the Items panel could be nice.

EDIT:

  • I just discovered stac-semantic-search which is integrated within stac-map, looking great to further filter-out items based on params other than bounds/datetime. This might be a substantial effort, but would it be possible in the Search or Filter panels to include an additional folded section, named advanced? This section would expose the properties which can be used to perform the search like on this item properties number properties like gsd, view:azimuth, tile:clouds_percent? Probably harder for free-form STAC properties like platform, but might be doable for standardized STAC extension properties.
  • also, some items in our catalog have the same startDateTime and endDatetime, so it would be useful to have less restrictive datetime filtering, using <= & <= here in isItemInDatetimeBounds
  • In case this makes sense, I can draft a micro PRs for the items that you deem a right fit.
Details

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions