Skip to main content

Hello,

I would like to prioritize a layer using the AreaOnAreaOverlayer transformer, is it possible ?

Thanks

What do you mean by prioritize? More info needs to be provided in terms of inputs and expected outputs.


What do you mean with layer? The AoAO returns an intersection of the polygons you put in, geometry-wise this will always return a 'flat' result.

Attribute-wise, I think your best bet is to create an identifying attribute on the features you want to prioritize, and put this attribute along with the attributes you want in your output in a list using the 'Generate List' option.

You can then use the ListSearcher to search the list for your identifying attribute, and use the result of the ListSearcher as input for the ListIndexer. This adds the attributes of the feature of interest to your output from the overlayer.

Looks something like this:

imageHope this helps


What do you mean by prioritize? More info needs to be provided in terms of inputs and expected outputs.

I have two layers, one layer coming from the land register, the other coming from a map of natural environments. I only want to keep the polygons that intersect. The intersecting polygons sometimes do not have exactly the same geometry, which creates offsets. I would like to prioritize the geometry of the polygons from the land register, which are considered fairer.

 


What do you mean with layer? The AoAO returns an intersection of the polygons you put in, geometry-wise this will always return a 'flat' result.

Attribute-wise, I think your best bet is to create an identifying attribute on the features you want to prioritize, and put this attribute along with the attributes you want in your output in a list using the 'Generate List' option.

You can then use the ListSearcher to search the list for your identifying attribute, and use the result of the ListSearcher as input for the ListIndexer. This adds the attributes of the feature of interest to your output from the overlayer.

Looks something like this:

imageHope this helps

Thanks a lot I will try it now !


I have two layers, one layer coming from the land register, the other coming from a map of natural environments. I only want to keep the polygons that intersect. The intersecting polygons sometimes do not have exactly the same geometry, which creates offsets. I would like to prioritize the geometry of the polygons from the land register, which are considered fairer.

 

A better option would be the Clipper transformer. Feed the land register into the Clipper port and the natural environments into the Clippee port. The result you want should come from the Inside port.


Reply