Question

Write GDB without feature class

  • 26 January 2017
  • 2 replies
  • 0 views

Badge

Hi,

my wb reads an ESRI-SDE Feature-Dataset-->Feature-Class --> table. I want to write this table as a gdb. (ESRI-SDE-Reader and GDB-Writer) But the gdb has the same structure like the source:

GDB-Name--> Feature Class -->table. Is their any Chance to write the gdb with following structure:

GDB-name--> table?

Thanks for help

Barbara


2 replies

Userlevel 4

If you want do skip the feature dataset in your source geodatabase, you need to get rid of the format attribute "geodb_feature_dataset" that is automatically supplied by the reader.

One simple way of doing it is to just set "geodb_feature_dataset" to a blank value using e.g. an AttributeCreator just before the writer.

Alternatively you can expose it on the reader and then use an AttributeRemover.

Userlevel 2
Badge +12

I agree with @david_r.

Another way of doing this is using the BulkAttributeRemover with the mask geodb*. This will remove all format attributes from the source and will avoid the default settings from the Reader dataset.

Reply