Question

Snipper rejects features because of INVALID_GEOMETRY_TYPE

  • 14 March 2017
  • 5 replies
  • 7 views

Hi,

I try to find the midpoint of a line using the Snipper transformer, but some of my features are rejected. The fme_rejection_code is INVALID_GEOMETRY_TYPE. I think it is because of the IFMEMultiCurve. How can I solve this?

Willy


5 replies

Userlevel 4

Try using a GeometryRefiner before the Snipper and see if that helps.

@david_r: Adding the GeometryRefiner makes no difference.

Userlevel 4

Can you save a single such feature in an FFS file and post it here for testing? You can either use the FFS writer or the Recorder transformer for this.

Userlevel 2
Badge +17

Hi @willyb, if the entire shape of the MultiCurve geometry is a single polyline, you can decompose the MutiCurve into individual Line parts with the Deaggregator and then combine the parts into a single Line geometry with the LineJoiner.

Note: The LineJoiner has been renamed to LineCombiner in FME 2017.

Badge +3

try geometryextractor and then replacer.

Reply