Skip to main content
Question

Feature Merger join on geometry (stored as attribute) failing translation


pat_uow
Contributor
Forum|alt.badge.img

Hi there,

The translation is failing at the feature merger.

I'm attempting to join on the x value of the original point feature (top left) which has been stored in an attribute MGA_X. Point on area transformers have been used to gather text placed adjacent to the original point on the Autocad drawing. The point on areas have correctly picked up the text I need, and these have been stored to new attributes. I would now like to merge all text (now attributes) to the original point using the MGA X as the join field - but the translation is failing at this stage.

Desired outcome is a point (the original drill location) with attributes merged for HoleNo, Floor elevation, Depth of cover and thickness (which are all now correctly available from the point on area transformers).

Thanks in advance.

7 replies

mark2atsafe
Safer
Forum|alt.badge.img+43

What do you have for attribute accumulation on the FeatureMerger? If there is a conflict resolution make sure to have Use Supplier, else the new MGA_X won't overwrite the existing version.

Otherwise - what do you mean by "the translation is failing at this stage"? Does it crash or error out? Or is the output just not correct?


mark2atsafe
Safer
Forum|alt.badge.img+43
mark2atsafe wrote:

What do you have for attribute accumulation on the FeatureMerger? If there is a conflict resolution make sure to have Use Supplier, else the new MGA_X won't overwrite the existing version.

Otherwise - what do you mean by "the translation is failing at this stage"? Does it crash or error out? Or is the output just not correct?

Oh, I see now. There is rejected output on the FeatureMerger. Can you attach a Logger or Inspector to that port, to see if the rejected feature returns a reason why?

 


mark2atsafe
Safer
Forum|alt.badge.img+43
mark2atsafe wrote:
Oh, I see now. There is rejected output on the FeatureMerger. Can you attach a Logger or Inspector to that port, to see if the rejected feature returns a reason why?

 

Also add Inspectors to the features coming in to the FeatureMerger. Has one of them lost their MGA_X field? I can't tell from the screenshot because the attribute lists are all collapsed.

 

 


pat_uow
Contributor
Forum|alt.badge.img
  • Author
  • Contributor
  • June 15, 2017
mark2atsafe wrote:

What do you have for attribute accumulation on the FeatureMerger? If there is a conflict resolution make sure to have Use Supplier, else the new MGA_X won't overwrite the existing version.

Otherwise - what do you mean by "the translation is failing at this stage"? Does it crash or error out? Or is the output just not correct?

Thanks Mark

 

Yes I have inspected before and after the feature merger. MGA_X is definitely there on both sides. Inspecting the rejected 1st feature shows the box area created with the 2D box replacer upstream and correctly shows MGA_X's co-ord in the attribute table.

 

The translation log is line that the process halts at is "FeatureMerger_<Rejected>: Termination Message: 'FeatureMerger output a <Rejected> feature. To continue if features are rejected, change the workspace parameter 'Rejected Feature Handling' to 'Continue Translation''

 

Stored 1 feature(s) to FME feature store file `C:\\(replaced path)\\OneDrive\\FME\\Region_BulliSeam01_log.ffs'

 

 

 


takashi
Contributor
Forum|alt.badge.img+21
  • Contributor
  • June 15, 2017

Hi @pat_uow, the FeatureMerger in FME 2017 routes duplicate Supplier features (which have same value in the Join On attribute) to the <Rejected> port if the Process Duplicate Suppliers parameter has set to No (default).

"Output Ports | <Rejected> - If Process Duplicate Suppliers is No, then duplicate suppliers will be rejected. If Reject Null and Missing Keys is Yes, then keyless features will be rejected." -- FeatureMerger Help

Check the value of "fme_rejection_code" of the rejected features. "EXTRA_REFERENCEE_FEATURE" indicates a duplicate supplier.


pat_uow
Contributor
Forum|alt.badge.img
  • Author
  • Contributor
  • June 15, 2017
takashi wrote:

Hi @pat_uow, the FeatureMerger in FME 2017 routes duplicate Supplier features (which have same value in the Join On attribute) to the <Rejected> port if the Process Duplicate Suppliers parameter has set to No (default).

"Output Ports | <Rejected> - If Process Duplicate Suppliers is No, then duplicate suppliers will be rejected. If Reject Null and Missing Keys is Yes, then keyless features will be rejected." -- FeatureMerger Help

Check the value of "fme_rejection_code" of the rejected features. "EXTRA_REFERENCEE_FEATURE" indicates a duplicate supplier.

Thanks to Mark , Takashi and Xiaomeng (offline) this is solved with the correct parameters applied to the feature merger transformer as per the screen shot below. Rejected features were indeed duplicates supplied.

 

Cheers

 

Pat

 

 


pat_uow
Contributor
Forum|alt.badge.img
  • Author
  • Contributor
  • June 15, 2017

Thanks to Mark , Takashi and Xiaomeng (offline) this is solved with the correct parameters applied to the feature merger transformer as per the screen shot below. Rejected features were indeed duplicates supplied.

Cheers

 

Pat


Reply


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