0

I've successfully created an attribute rule to add a new buffer to a polygon feature class (FC) when a new point is added to a point FC. However, now I need to dissolve all buffers in the polygon FC (named "bufferTest" in code snippet below) whenever a new buffer is added. Not sure if I need to add this to the attribute rule on the point FC, or create a second attribute rule on the polygon FC. The Arcade code to create the buffer is below. How can I union/dissolve all of the buffers into a single feature?

var bufferDetect = BufferGeodetic($feature, 0.5, "miles")

return {
    edit: [{
        className: "bufferTest",
        adds: [{geometry: bufferDetect}]
    }]
}
3
  • Are you saying every time someone adds a point the buffer that is created is dissolved into any existing overlapping buffer polygons?
    – Hornbydd
    Commented Oct 10, 2023 at 19:19
  • Exactly, the buffer is added and immediately dissolved into the other buffers, so there would be just a single feature in the buffer FC. Commented Oct 10, 2023 at 19:47
  • Unless I missed it I do not think there is a Dissolve method in the[ geometry functions](developers.arcgis.com/arcade/function-reference/…) of Arcade?
    – Hornbydd
    Commented Oct 12, 2023 at 16:27

0

Browse other questions tagged or ask your own question.