Skip to main content
Question

Rejected features when using Clipper because of NULL Geomotry


I'm using a Clipper with a polygon feature to clip for features in a DGN file within a project boundary.

For some reason it rejects the Clippee features.

After looking at the Clippee features I'm seeing that there are NULL geometries in the file.

Can anyone explain how the NULL causes the Clipper to fall over?

Is Clipper the best way to clip for objects within a boundary?

Workbench is attached without the geometry filter to filter out the NULL geometries.

 

 

3 replies

erik_jan
Contributor
Forum|alt.badge.img+18
  • Contributor
  • August 30, 2019

A Clipper transformer does a spatial overlap query.

Without a geometry that is impossible.

The solution would be filtering the Null geometries using the GeometryFilter transformer before feeding features to the Clipper. You can decide to route the Null geometries to the next transformer (act Null as Inside) or ignore the Null geometries.

Another option is to route the Rejected port to the next transformer, so Null geometries are included.

Hope this helps.


gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • August 30, 2019

@shekmister

 

Hi.

The clipper does not fall over.

NUll geometries cannot be spatially related or clipped etc. So they are rejected.

 

You need to set the "Workpace: Rejected feature Handling"

Either you set it to continue.

Or you attach a inspector to the rejected port (you can disable the inspector if not needed).

Right mouse click on the rejected port gives you acces to this setting.

 

Or, test for Null geometries before yuo send them to the clipper.


  • Author
  • September 5, 2019
gio wrote:

@shekmister

 

Hi.

The clipper does not fall over.

NUll geometries cannot be spatially related or clipped etc. So they are rejected.

 

You need to set the "Workpace: Rejected feature Handling"

Either you set it to continue.

Or you attach a inspector to the rejected port (you can disable the inspector if not needed).

Right mouse click on the rejected port gives you acces to this setting.

 

Or, test for Null geometries before yuo send them to the clipper.

Thanks erik_jan and Gio,

It's good to understand that the basis of clipper is a spatial overlap. Without geometry it is impossible to do this query.

Understanding that, it is easy to deal with the NULL geometries with either a GeometryFilter or to continue the translation with these objects.

Thank you!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings