Skip to main content
Question

Exclude line/point features from translation that intersect a polygon

  • January 14, 2014
  • 2 replies
  • 23 views

lorinda
Contributor
Forum|alt.badge.img+6

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

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

philippeb
Enthusiast
Forum|alt.badge.img+22
  • Enthusiast
  • January 14, 2014
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.

davideagle
Contributor
Forum|alt.badge.img+22
  • Contributor
  • January 16, 2014
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.