Skip to main content
Solved

Specific geodatabase SDE table reader in custom transformer


asablomberg
Contributor
Forum|alt.badge.img+7

I want to make a custom transformer with a geodatabase SDE table reader from a specific table, and some other transformers. But when i try to create it, the SDE reader is converted into an input of the custom transformer. Isn't it possible to have a fixed reader in a custom transformer?

Best answer by david_r

Did you try using the FeatureReader transformer?

View original
Did this help you find an answer to your question?

5 replies

david_r
Evangelist
  • Best Answer
  • October 14, 2022

Did you try using the FeatureReader transformer?


asablomberg
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • October 14, 2022
david_r wrote:

Did you try using the FeatureReader transformer?

Thank you! This seems like a great way to go around the problem. However when I try it I get this error:

Cannot have multiple factories with the same name. Multiple factories were assigned the name 'ByggnverkAvlopp_ValueExtractor_CustomPointOnRasterValueExtractor_2_Raster1665734206 Input Splitter'


david_r
Evangelist
  • October 14, 2022
asablomberg wrote:

Thank you! This seems like a great way to go around the problem. However when I try it I get this error:

Cannot have multiple factories with the same name. Multiple factories were assigned the name 'ByggnverkAvlopp_ValueExtractor_CustomPointOnRasterValueExtractor_2_Raster1665734206 Input Splitter'

I've never encountered this error before. You may want to consider escalating it to your FME reseller or Safe Software directly.


kailinatsafe
Safer
Forum|alt.badge.img+19
asablomberg wrote:

Thank you! This seems like a great way to go around the problem. However when I try it I get this error:

Cannot have multiple factories with the same name. Multiple factories were assigned the name 'ByggnverkAvlopp_ValueExtractor_CustomPointOnRasterValueExtractor_2_Raster1665734206 Input Splitter'

Hello @asablomberg​, unfortunately, I do not think its possible to add format readers to custom transformers and that converting them to inputs is the intended behaviour.

 

@david_r​ was correct! The FeatureReader can be used to bring data into custom transformers. I ran a quick test (using a FeatureReader in a custom transformer) and the result was a successful translation.

 

As the error suggests, "Multiple factories were assigned the name" , I believe factory names are derived from transformer titles and some other workspace details. Would you please try renaming one or two transformers within your custom transformer and re-run the translation? This may not resolve anything, but curious.

 

Otherwise, to understand what’s going on, I think we’d need to get a copy of the custom transformer that is causing you issues (and any additional information you can provide). You can use this form to submit a support case with Safe's Support Team.


asablomberg
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • October 27, 2022

Thank you @kailinatsafe​ ! I cleaned up the workspace from some old unused transformers and everything started working, the error disappeared.


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