Skip to main content
Solved

How Do I Use FeatureWriter to Add The 'Output'/Writer Data Back Into the Workspace Since There's No Output Port?

  • Apr 25, 2018 11:11 AM UTC
  • 11 replies
  • 369 views

Forum|alt.badge.img

Hi, I'm attempting to use the FeatureWriter transformer to write intermediate data in my workspace. The issue I'm running into, is that unlike in Esri's ModelBuilder, I can't connect that output/writer to another transformer, which is what I need to do. Because I'm working with Esri feature classes (in file geodatabases and SDE geodatabases), the formatting of files needs to be just-so. If I'm starting with a .xlsx file and would like to eventually perform spatial analysis on the data, I need the ability to write it to an Esri-friendly format ( geodatabase table) before I can start editing fields, completing joins, etc. I can get the workspace to the point of writing the .xlsx table to a .gdb table, but I'm not sure how to use the FeatureWriter transformer to continue the analysis I need to do on the .gdb table in the same workspace since that transformer doesn't offer any output ports to connect the dataset to another transformer.

Best answer by ciarab

@aroth

you just need to add a feature reader after the feature writer to read the data you just created back in again.

View original
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.

11 replies

ciarab
Contributor
Forum|alt.badge.img+10
  • Contributor
  • Best Answer
  • Apr 25, 2018 11:31 AM UTC
@aroth

you just need to add a feature reader after the feature writer to read the data you just created back in again.


Forum|alt.badge.img
  • Author
  • Apr 25, 2018 11:53 AM UTC

Ahhhh ok, thank you! I was thrown off because the 'Summary' output port didn't have my fields listed. I'll give that a try. Thanks again.


erik_jan
Contributor
Forum|alt.badge.img+26
  • Contributor
  • Apr 25, 2018 12:57 PM UTC

Or start using FME 2018. Safe added the output ports to the FeatureWriter (all written data is output through these ports).


nielsgerrits
VIP
Forum|alt.badge.img+67

Or start using FME 2018. Safe added the output ports to the FeatureWriter (all written data is output through these ports).

Not really, not written data comes from the outputport as well.

jkr_wrk
Influencer
Forum|alt.badge.img+37
  • Apr 25, 2018 2:04 PM UTC
You could also use the new function in FME 2018.

 

All output features are cached until all of the writing is finished, then the features are output through their respective ports.

 

 

But it looks like this option does not verify that the data is actualy writen.

 


jkr_wrk
Influencer
Forum|alt.badge.img+37
  • Apr 25, 2018 2:04 PM UTC
You could also use the new function in FME 2018.

 

All output features are cached until all of the writing is finished, then the features are output through their respective ports.

 

 

But it looks like this option does not verify that the data is actualy writen.

 


Forum|alt.badge.img
  • Author
  • Apr 25, 2018 2:49 PM UTC
@aroth

you just need to add a feature reader after the feature writer to read the data you just created back in again.

Next question then is: how can I schema map from a featurereader to another featurewriter? In the image below, I'm taking the .xlsx document and attempting to write it to a geodatabase table. The data type for a couple of the fields needs to change when it's written to the geodatabase, but I still want to have it mapped from the raw data in the .xlsx to the geodatabase. I search for transformers that would allow me to do that and couldn't find anything.

 


Forum|alt.badge.img
  • Author
  • Apr 25, 2018 4:52 PM UTC
You could also use the new function in FME 2018.

 

All output features are cached until all of the writing is finished, then the features are output through their respective ports.

 

 

But it looks like this option does not verify that the data is actualy writen.

 

Unfortunately I'm using FME via the ArcGIS Data Interoperabilty Extension, which is capped out at FME 2017 until the next release cycle.

 

 


Forum|alt.badge.img
  • Author
  • Apr 25, 2018 4:52 PM UTC

Or start using FME 2018. Safe added the output ports to the FeatureWriter (all written data is output through these ports).

Unfortunately I'm using FME via the ArcGIS Data Interoperabilty Extension, which is capped out at FME 2017 until the next release cycle.

 

 


harshal
Forum|alt.badge.img+1
  • May 6, 2019 3:49 PM UTC
You could also use the new function in FME 2018.

 

All output features are cached until all of the writing is finished, then the features are output through their respective ports.

 

 

But it looks like this option does not verify that the data is actualy writen.

 

@jkr_da There are no features in the output port even if I set one feature per featuretype


jkr_wrk
Influencer
Forum|alt.badge.img+37
  • May 7, 2019 11:48 AM UTC

@jkr_da There are no features in the output port even if I set one feature per featuretype

 

@harshal.gharat All the features I put in, are coming out as you can see. I think I don't understand your comment.

Currently I work with the feature-writer feature-reader combination because then I am sure the written features are correctly written.