Skip to main content
Question

Snipper rejects features because of INVALID_GEOMETRY_TYPE


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

david_r
Celebrity
  • March 14, 2017

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


  • Author
  • March 14, 2017

@david_r: Adding the GeometryRefiner makes no difference.


david_r
Celebrity
  • March 14, 2017

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.


takashi
Influencer
  • March 14, 2017

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.


gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • March 14, 2017

try geometryextractor and then replacer.


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