Skip to main content
Question

Dynamic Read/Write: Reader Schema Feature Type different value from Feature Type Attribute Value

  • May 23, 2020
  • 1 reply
  • 26 views

bwn
Evangelist
Forum|alt.badge.img+26

So this could be something really basic. I have an FGDB that is created from an ArcSDE Reader. The Feature Class Names are of the format:

SDESchema.Feature Class Name

However, the FGDB Open API Reader instead reads the Schema Feature with the fme_feature_type replacing the "." with a "_" like this:

SDESchema_Feature Class Name

The problem comes then when try to use this in a Dynamic Writer, because now the Schema Feature has a fme_feature_type attribute that uses a "_" in place of the "." but the Features themselves are attributed with the original format with the "." qualifier, and the Writer complains that it didn't get a matching Schema definition for the Features it is trying to write, because of the mismatch created by the Reader.

One workaround would be to use a StringReplacer on the fme_feature_type attribute to make them match, but I feel I'm missing something obvious?

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.

1 reply

bwn
Evangelist
Forum|alt.badge.img+26
  • Author
  • Evangelist
  • May 23, 2020

At the risk of answering my own question. In the Dynamic Writer I realised you could use a formula for the Schema Definition Name, which is along the lines of the string replacement solution I was originally thinking.