I want to cut the buildings according to the box limits but
I want the buildings that touch the box limit to stay in that box. A building can be in more than one box. (jpg_1_2)
I use clipper but cut buildings according to the box borders .(jpg_1_3)
Finally, I want to export according to the box names .Example: (1149334,1149935)
Best answer by markatsafe
@ienesaglam60 I think it'll be a combination of SpatialFilter and Clipper. You need to clip the buildings that span gri squares to clculate the relative areas and then piece them back together. So I think a combination of SpatialFilter, Clipper and Aggregator will do the trick. Something like:
If you do not want the building polygons to be clipped, the SpatialRelator transformer might be a better option.
That transformer adds a _relationships list with the relationships between the tiles and the buildings.
That list can be used to output the relationships.
If you want to use the Clipper, you need the Inside output plus the Outside output, then use a Tester to filter only the Outside that is Clipped (an attribute indicator is available).
The Inside Clipped and Outside Clipped can be used for restoring the buildings using the AreaBuilder (group by Builing ID).
@ienesaglam60 I think it'll be a combination of SpatialFilter and Clipper. You need to clip the buildings that span gri squares to clculate the relative areas and then piece them back together. So I think a combination of SpatialFilter, Clipper and Aggregator will do the trick. Something like:
@ienesaglam60 I think it'll be a combination of SpatialFilter and Clipper. You need to clip the buildings that span gri squares to clculate the relative areas and then piece them back together. So I think a combination of SpatialFilter, Clipper and Aggregator will do the trick. Something like:
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.