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?


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
Did this help you find an answer to your question?

11 replies

ciarab
Contributor
Forum|alt.badge.img+9
  • Contributor
  • Best Answer
  • April 25, 2018
@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
  • April 25, 2018

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+18
  • Contributor
  • April 25, 2018

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+54
erik_jan wrote:

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+29
  • April 25, 2018
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+29
  • April 25, 2018
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
  • April 25, 2018
ciarab wrote:
@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
  • April 25, 2018
jkr_da wrote:
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
  • April 25, 2018
erik_jan wrote:

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.

 

 


Forum|alt.badge.img
jkr_da wrote:
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+29
  • May 7, 2019
harshal.gharat wrote:

@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.

 

 


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