Skip to main content

Hi,

I want to clip geometry's, but with the same ID's only. I've got 2 input files (1 is clipper 2 is clippee), both contain geometry's. I want to know how much the clippee is outside of the clipper, but only if it has the same ID as te clipper. Is it possible with the clipper? Maybe the clipper is the wrong transformer? Can anyone help? Maybe @takashi?

Clipper geometry's: 3

Clippee geometry's: 1204

It should be aprox. 400 clippee's a clipper.

Kind regards

It should be something like a clipper with an IF statement. IF ID's match then clip, if not it should not pass.


The "Group By" setting in the Clipper does that. It does require that the attribute holding that ID is called the same for both the Clippee and Clipper features. If you select one (or more) attributes there it will restrict clipping to features which have the same values for that attribute.


Hi @michael_pieters, yes it's possible. See @redgeographics' answer :)


The "Group By" setting in the Clipper does that. It does require that the attribute holding that ID is called the same for both the Clippee and Clipper features. If you select one (or more) attributes there it will restrict clipping to features which have the same values for that attribute.

Hi @redgeographics thanks for your quick reply. For my understanding. If you have 3 clippers with ID: a, b or c. 400 clippee's with ID: a, 400 w ID: b and 400 w ID: c. Clippee's with ID: a will only be clipped with clipper ID: a?


Hi @redgeographics thanks for your quick reply. For my understanding. If you have 3 clippers with ID: a, b or c. 400 clippee's with ID: a, 400 w ID: b and 400 w ID: c. Clippee's with ID: a will only be clipped with clipper ID: a?

That is correct. Clippees will only be clipped against clippers with the same ID.


Reply