Select to view content in your preferred language

Arcade for calculate a difference between the pixel value from DEM and a attribute from a polygon mapservice

521
2
10-14-2022 01:34 AM
Labels (1)
markkellermannBWB
New Contributor II

Hi,

I need some help for the follow task.

I have a DEM - imagery Layer and i have a polygon - mapservice with heights attributes.

Now i need the difference between the pixel value from dem and the height attributes from mapservice.

I want to try ist with arcade, but arcade ist not possible in the popup configuration on a imagery layer.

So I try it at the mapservice. But I dont know how I get the dem pixel value.

I can load the dem with FeatureSetByPortalItem, then I have a FeatureSet. But I need the value Pixel from the clicked coordinate.

var pt = Portal('https://xxxxxxxx')
var dgm = FeatureSetByPortalItem(pt, "123456....", ['Service Pixel Value'])
return dgm

Is it possible with Arcade?

 

Thanks a lot

Mark

@XanderBakker 

0 Kudos
2 Replies
JohannesLindner
MVP Frequent Contributor

Sadly, this is not possible with Arcade.


Have a great day!
Johannes
0 Kudos
markkellermannBWB
New Contributor II

Pity but thank you 

0 Kudos