Geometry calculation with arcade

481
2
04-14-2022 03:28 PM
explocarto
New Contributor III

Hello,

I work with a dashboard, I would like to perform geometry calculations with « New data expression » Arcade.

img2.PNG

 I used to work with « New data expression », for attributes values, but this is the first time with geometries.

From this example below:

img1.PNG

 

I know how to calculate the total area. But I don't know how to write the code to get the area without polygon overlap.

img3.PNG

 

Can someone help me?

Thank you

0 Kudos
2 Replies
explocarto
New Contributor III

I found the answer to my question !! Unfortunately

img4.PNG

 

0 Kudos
XanderBakker
Esri Esteemed Contributor

Hi @explocarto , 

The first screenshot that you showed is of an Arcade Data Expression and this is not using the Data Formatting profile which is limited in what it can do. 

So in short, I think it should be possible to do what you want to accomplish.

Can you share some more details on what the data is and how you want to obtain the non-overlapping area?

0 Kudos