Skip to main content
Solved

Create new file geodatabase on writer


pinkopo
Contributor
Forum|alt.badge.img+5

Hi guys,

I am trying to automate a process which requires to write into a new file-geodatabase everytime i run. is there a way that FME can create a new file geodatabase for my feature classes in a same workbench?

Thanks!

Best answer by mygis

Hi @sangli

If you mean to write in the middle of a process you can use the FeatureWriter transformer . You can place it anywhere in the transformation process and continue with the translation.

Which version of FME are you using by the way?

 

 

Cheers.

Lyes

View original
Did this help you find an answer to your question?

5 replies

mygis
Contributor
Forum|alt.badge.img+12
  • Contributor
  • Best Answer
  • August 17, 2017

Hi @sangli

If you mean to write in the middle of a process you can use the FeatureWriter transformer . You can place it anywhere in the transformation process and continue with the translation.

Which version of FME are you using by the way?

 

 

Cheers.

Lyes


Forum|alt.badge.img+2
  • August 17, 2017

Do you mean to overwrite the database each time the Workspace runs? If so, look into the parameters for the writer to find the overwrite option.

If you want to create a new database each time then the name or location would need to change and you could use the Fanout Dataset option to achieve this.


redgeographics
Celebrity
Forum|alt.badge.img+48
Just for clarification, what should happen to the old database? Overwrite it or retain it?

 

 


trentatsafe
Safer
Forum|alt.badge.img+6
  • Safer
  • August 17, 2017

Hello @sangli

 

To verify, you are wanting to create a new File Geodatabase with features classes on each translation of the workspace. If that is correct, there are a few ways you could accomplish this.

If the Feature Classes within the Geodatabase are always the same, you could use a Template File Geodatabase(not an XML template), this will mimic the template you have chosen. You could then set the name of the Output geodatabase to be "Output_$(DateStamp).gdb" using Date Type user Parameter.

 

 

Alternatively, you could use a dynamic writer with a Template Geodatabase(ensure again you are not overwriting the geodatabase).

If you can provide more information regarding what you are trying to achieve, we can provide better assistance.


pinkopo
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • August 21, 2017
mygis wrote:

Hi @sangli

If you mean to write in the middle of a process you can use the FeatureWriter transformer . You can place it anywhere in the transformation process and continue with the translation.

Which version of FME are you using by the way?

 

 

Cheers.

Lyes

Hi Lyes mine is 2017 version and your suggestion perfectly solved the problem.. Thanks!

 

 


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