Skip to main content

A script created in FME 2015 is crashing in 2018 due to a Featurereader.

 

I have tried to upgrade the transformer according to FME 2018 version. But the spatial filter options are different. There is no option called ENVELOPE INTERSECT. And I get the same rejection message, see text below.

I have tried all possible spatial options but none corresponds to the envelope intersect. How do I handle this?

 

<ows:ExceptionReport version="1.1.0=" language="en=" xmlns:ows="http://www.opengis.net/ows="><ows:Exception exceptionCode="NoApplicableCode="><ows:ExceptionText>The operation was attempted on an empty geometry.</ows:ExceptionText></ows:Exception></ows:ExceptionReport>

Received error report: ExceptionReport

The XML Module halted on error, see the logfile for details

A fatal error has occurred. Check the logfile above for details

You need Bounding Boxes Intersect. This is changed from Envelope Intersects in FME 2018.

Both the 2018.1 and 2019.1 documentation still calls it Envelope Intersects:

Select only features that fulfill the specified spatial relationship with the Initiator feature. See Spatial Relations Defined for a description of the permitted spatial relations. Select <No Spatial Filter> when no spatial filtering is desired. Select Envelope Intersects to read only those features whose envelope intersects the Initiator feature’s envelope.

This probably needs an edit. (@mark2atsafe)


You need Bounding Boxes Intersect. This is changed from Envelope Intersects in FME 2018.

Both the 2018.1 and 2019.1 documentation still calls it Envelope Intersects:

Select only features that fulfill the specified spatial relationship with the Initiator feature. See Spatial Relations Defined for a description of the permitted spatial relations. Select <No Spatial Filter> when no spatial filtering is desired. Select Envelope Intersects to read only those features whose envelope intersects the Initiator feature’s envelope.

This probably needs an edit. (@mark2atsafe)

I have tried bounding boxes intersect but I get the same rejection message.

 

I also tried no spatial filter in both 2015 and 2018 and then I get the same result.

 

This leads to the conclusion that there must be some difference between Envelope intersect in 2015 and Bounding boxes intersect in 2018?


I have tried bounding boxes intersect but I get the same rejection message.

 

I also tried no spatial filter in both 2015 and 2018 and then I get the same result.

 

This leads to the conclusion that there must be some difference between Envelope intersect in 2015 and Bounding boxes intersect in 2018?

Does the featurereader work with <No Spatial Filter>? Just want to be sure the two (Rejected & different filter name) are related.


Does the featurereader work with <No Spatial Filter>? Just want to be sure the two (Rejected & different filter name) are related.

Yes it works with No spatial filter.


Yes it works with No spatial filter.

Tried replacing the FeatureReader instead of upgrading it? Copy pasting all transformers to a new workspace might help as well. Upgrading to new versions can be exciting...

I'm out of ideas for now. I probably can't reproduce it without sample data / workspace, so debugging is tough. I suggest to create a support case for it so someone at Safe can help you hands on with your data.


Reply