Question

Use internal FME attributes

  • 28 November 2016
  • 2 replies
  • 2 views

Badge

Hi,

I am transforming a AutoCAD .DWG file containing lines, polygons, points and texts to a spatialite database. The translation is relatively easy, but i would like to output some internal fme attributes on top of the autocad attributes. With internal attributes, i mean the typical 'fme_color', 'fme_basename' or 'fme_feature_type' attributes that are visible inside FME Workbench and Inspector, but disappear when writing to a spatialite sl3 file.

 

 

I also tried using an attribute exposer and creating new attributes that get the value of each internal attribute. None of these worked out.

 

 

Does anyone have a suggestion how I can still use these internal attributes?

2 replies

Userlevel 4

I recommend making a copy of the attributes (AttributeCopier or similar), renaming them to something that doesn't clash with the internal FME attribute names (or format attributes, as they're called).

You then add those attribute definitions to the writer, as you would any other attribute.

Badge +16

agree, you can better refer to them as reserved attribute names that should not be used to avoid conflicts

Reply