Skip to main content
Solved

Attribute Reprojector with conditional value - invalid test expression

  • February 29, 2016
  • 1 reply
  • 29 views

I'm using FME Desktop 2014 sp2. I want to reproject the X,Y coordinates of a point feature type (mapinfo, in NAD83) into the appropriate NAD83 MTM projection. I have an attribute named "ZONE_MTM" (string) that gives me the MTM zone a need to reproject in. However, when I use the "AttributeReprojector" transformer and, inside it, use a conditional value, I systematically get an "invalid test expression"!

I have tried forcing a "string" or a "number" comparison (instead of the "automatic" comparison). I have also tried using "begins with" but I still get the error. Any idea why?

Here is the error log:

AttributeReprojector: Invalid Test Expression: TEST<at>Value<openparen>ZONE_MTM<closeparen>=7.

AttributeReprojector: Failed to evaluate input expression: FME_CONDITIONAL:DEFAULT_VALUE'@Abort(NO GOOD)'BOOL_OP;OR;COMPOSITE_TEST;<Unused>;(ZONE_MTM)=7'MTM83-7'BOOL_OP;OR;COMPOSITE_TEST;<Unused>;(ZONE_MTM)=8'MTM83-8'FME_NUM_CONDITIONS3___

Storing feature(s) to FME feature store file `mapping_log.ffs'

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Feature Type: `AttributeReprojector_OUTPUT'

Attribute(string) : `LAT_N83' has value `54.167569'

Attribute(string) : `LONG_N83' has value `-72.609292'

Attribute(string) : `MTM_83_E' has value `362967.48'

Attribute(string) : `MTM_83_N' has value `6004333.67'

Attribute(string) : `ZONE_MTM' has value `8'

Coordinate System: `LL-83'

Geometry Type: IFMEPoint

Coordinate Dimension: 2

(-72.60929208,54.16756902)

Best answer by fmelizard

Hi,

This is a known issue and it was fixed in FME 2015 Build 15127 or higher. The only solution is to upgrade to a fixed build.

Regards,

Robyn

View original
Did this help you find an answer to your question?
This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, 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.

1 reply

fmelizard
Safer
Forum|alt.badge.img+19
  • Safer
  • Best Answer
  • February 29, 2016

Hi,

This is a known issue and it was fixed in FME 2015 Build 15127 or higher. The only solution is to upgrade to a fixed build.

Regards,

Robyn


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