Skip to content

Save band statistics to shared document at data load time #946

@mfisher87

Description

@mfisher87

I suggest the following changes to the process of adding and symbologizing a geotiff layer:

  1. Currently, the user enters min/max when loading a geotiff. Instead, calculate it at load-time.
  2. Right now, source.parameters.urls: Array<{url, min, max}>. Change the urls array to just url string. We don't use multiple urls in one source.
  3. Save min/max to source.metadata.statistics.band[number].min|max at data load-time. (Or source.metadata.band[number].statistics.min|max?)
  4. When the user is setting up symbology, and they click "Use actual range", it will get its min/max values from the metadata stored in the shared document.

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