Question

trying to clip a shapefile using a polyline or polygon


Badge +3

i am trying to clip a shapefile using a polyline and / or a polygon and the clipper keeps failing by saying that the "clipper outputs a rejected feature"


4 replies

Userlevel 4
Badge +25

The Clipper feature needs to be one or more closed polygons, so a polyline won't work.

Badge +3

The Clipper feature needs to be one or more closed polygons, so a polyline won't work.

when i look at the vertices in the shapefile it is closed. Is there something i'm missing?

aoi.zip

Userlevel 4
Badge +25

when i look at the vertices in the shapefile it is closed. Is there something i'm missing?

aoi.zip

It's closed indeed, but it's still a line. If you run it trough a GeometryCoercer, set to fme_polygon, before putting it through the Clipper it should work

Badge +3

@redgeographics i just wanted to follow up and say thanks ... that had worked!

Reply