Question

Exclude line/point features from translation that intersect a polygon

  • 14 January 2014
  • 2 replies
  • 0 views

Badge +5

Hi All,

 

I had found how to do this approximately a year or so ago and was using it in a workbench script.  Unfortunately my machine crashed and I lost the script.  I'm currently rebuilding scripts and need to be able to 'copy' a set of features that are lines and/or points to another database but exclude one area due to security reasons.

 

 

I can't remember what I used!  Any help is appreciated, I'm still looking at the transformers, but not seeing anything that looks familiar.

 

 

Thanks


2 replies

Badge +8
To extract the area you don't want, you could use the Clipper.

 

Read well about this transformer, to set it up correctly.

 

What is not extract, will be transfered into your database.
Badge +14
As Phillippe suggests it'll likely have been the Clipper that you used, but be careful as the Clipper has changed recently to have fewer output ports. Now it puts an attribute onto features that have been clipped to determine whether they were clipped or clipped inside. To remove a complete area you now will need to test this attribute to remove only the features relevant.

Reply