Select to view content in your preferred language

Generic Raster Profile Tool

228
1
04-07-2025 03:03 PM
Status: Under Consideration
Labels (3)
BillMitchell
Regular Contributor

We are building a web front-end to view several raster datasets, which are generally stored/served as COGs.  One of the requirements for the front-end is to have a profile tool, so that single-band data (e.g. elevation, ozone concentration, vegetation parameters) can be explored easily along a path and charted.

I have seen that there is an Elevation Profile widget, but it has two major drawbacks.

  1. It only works for elevation data, not data which have any other units.
  2. It only works with an Elevation Service, not directly on a COG---despite the COG raster values being present and sufficient for the profiling.

For single-band cloud-optimized geotiffs, the pixel value corresponds to the data value.  By having the data to display, it is already present client-side for use in analysis (or higher-resolution tiles can be requested for more detailed profiles).

Ideally, I'd like something similar to the Elevation Profile widget, except where I would need to configure/specify the units and label, rather than having the label specified as "elevation" and the units be feet, meters, or another length unit.  That would enable us to have profiles of ozone concentration, generated based on the client-side data, and wouldn't require someone to have set up a special service (e.g. Elevation Service) to grab a second copy of the same data for analysis.  Having this generic tool would make the Elevation Profile widget just a special case where some of the labeling/units would be pre-configured.

1 Comment
UndralBatsukh
Status changed to: Under Consideration

Hi there, 

We have plans to introduce raster chart components in the JS API. We will provide an update once they are available.