Skip to main content
Question

Dynamic writer not able to write to arcgis dataset

  • February 27, 2018
  • 2 replies
  • 39 views

I'm trying to Dynamic writer to a dataset within an arcgis gdb. I set my fme_feature_type to dataset/fuse but it will create a fc at the root directory named dataset_fuse. I then discovered there is a "feature Dataset" field to fill in ...and i did with dataset

Then it does create a file named dataset_fuse within the dataset. But it doesn't use my schema.

if i alter my fme_feature_type to just fuse then it says it can't find the schema and doesn't write.

this is my gdb setup:

arcgis.fgdb

dataset

fuse

thank you

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.

2 replies

takashi
Celebrity
  • February 28, 2018

Hi @avineon, "fme_feature_type" stores the source feature type name and FME will treat it as a Schema Definition Name (identifier of the schema configuration in the source feature type). You therefore should not modify the value of "fme_feature_type", if you intend to configure the destination schema according to the source schema dynamically.

If your requirements were:

  • write the features into a destination feature class named "dataset_fuse",
  • apply the schema derived from the source feature type to the "dataset_fuse" class,

try configuring the dynamic writer feature type as below. Here, assuming that the source dataset contains only a single feature type. Do not change the value of "fme_feature_type" which is retrieved from the source dataset.


takashi
Celebrity
  • February 28, 2018

Hi @avineon, "fme_feature_type" stores the source feature type name and FME will treat it as a Schema Definition Name (identifier of the schema configuration in the source feature type). You therefore should not modify the value of "fme_feature_type", if you intend to configure the destination schema according to the source schema dynamically.

If your requirements were:

  • write the features into a destination feature class named "dataset_fuse",
  • apply the schema derived from the source feature type to the "dataset_fuse" class,

try configuring the dynamic writer feature type as below. Here, assuming that the source dataset contains only a single feature type. Do not change the value of "fme_feature_type" which is retrieved from the source dataset.

If you want to create a new "Feature Dataset" named "dataset", set another parameter in the writer feature type, like this.

 

Note: You have to use GEODATABASE_FILE writer to create a new feature dataset. The FILEGDB (File Geodb Open API) writer doesn't seem to support creating feature dataset.