Select to view content in your preferred language

Can I use raster function mask to make a range of values transparent?

932
4
05-09-2022 05:08 AM
TroyFoster
Frequent Contributor

https://developers.arcgis.com/qt/layers/add-raster-data/#raster-functions-supported-by-arcgis-runtim...

 

https://pro.arcgis.com/en/pro-app/latest/help/analysis/raster-functions/mask-function.htm

 

Looking at the documentation for raster functions supported by Qt and for the mask raster function in pro, there is an included ranges parameter in pro that seems to be missing in runtime qt. 

 

Ideally as a developer I want to give my users the ability to set a minimum value that they can ignore and display it as transparent on the map.

0 Kudos
4 Replies
JamesBallard1
Esri Regular Contributor

Hi @TroyFoster. The "Included ranges" parameter is not yet supported in the Runtime (any Runtime, not just Qt).

0 Kudos
TroyFoster
Frequent Contributor

Darn, is that on your backlog or is it a "wont fix"?

0 Kudos
JamesBallard1
Esri Regular Contributor

@TroyFoster it's not in the backlog right now. I will add an issue for it so it's on our radar for the future, not can't promise anything for now.

0 Kudos
TroyFoster
Frequent Contributor

This suggestion was derived from showing some visualizing dted stuff to coworkers and one person threw that idea out there so I did some research. 

If I was going to rank wish list items in the runtime raster functionality area I would have :

  1. adding the contour raster function as a simple to use raster renderer, where I can change the interval without recreating the object
  2. being able to make custom color ramps that feature transparency
  3. being able to play with raster function settings in Pro, then having an option to export the settings as json for use in a runtime raster function(This may already be possible but I dont know how to do it, get the guy that does the youtube one minute map hacks to do a demo if it is possible  https://www.esri.com/arcgis-blog/author/j_nelson/ )
  4. explain why when I am using a min/max stretch renderer on elevation that goes negative (Salton Sea/death valley) and I set my minimum value to -100 I get a ring of blue color around the edge of the depressed area with stuff below negative100 colored according to the color map, if I set it to 0 everything negative is blue, If I set the minimum to positive 500 everything below positive 500 is colored blue.
  5. this raster function mask included ranges question.
0 Kudos