Skip to main content
Question

Snipper rejects features because of INVALID_GEOMETRY_TYPE

  • March 14, 2017
  • 5 replies
  • 108 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

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.

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
Celebrity
  • 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.