Skip to main content
Solved

Move or anchored snapping polygons to a point by ID

  • November 29, 2018
  • 1 reply
  • 57 views

Hi,

I have 2 AGOL layers a polygon layer and a point layer were i need to snap the polygons to the points based on a unique asset ID. The points are in the right location and i have 4000 of the polygons grouped over 1 of the points but need them to move to their corresponding point.

Best answer by david_r

One possible solution could be to use the NeighborFinder (with a Group By) to get the X,Y values of the corresponding point. You can then calculate the deltas using the _closest_candiate_x/y and _closest_base_x/y values. Then use the Offsetter to move the polygons as needed.

View original
Did this help you find an answer to your question?

1 reply

david_r
Celebrity
  • Best Answer
  • November 29, 2018

One possible solution could be to use the NeighborFinder (with a Group By) to get the X,Y values of the corresponding point. You can then calculate the deltas using the _closest_candiate_x/y and _closest_base_x/y values. Then use the Offsetter to move the polygons as needed.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings