Skip to main content
Question

Dynamic Schema: Modify within the workflow without external sources

  • November 13, 2020
  • 1 reply
  • 8 views

t_hohenstrater
Contributor
Forum|alt.badge.img+2

I am fining new ways to use Dynamic Schemas which are great. However, i do find it challenging to modify the schema especially when creating new attributes and working with Date/Time or float/int as FME defaults to strings. Is there an easy way to force FME to use a particular datatype ( float, int, date, datetime etc) during a translation. I was thinking that the within Attribute creator one could define the data type that is read by the Dynamic writer or use somethink like the SchemaMapper transformer to read and modify attributes instead of an external source. I know that you can dictate the final schema withi the writer, but i dont seem to be able define that before hand.

 

1 reply

david_r
Evangelist
  • November 13, 2020

Internally, FME uses something that resembles duck typing, so it's usually not a problem if e.g. an integer is encoded as a string during the translation. Unless you have a particular use case?

Of course, when defining the output schema it's best practice to have clearly defined datatypes.


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