Skip to main content
Solved

Batch Deploy in FME 2013


Forum|alt.badge.img
Hi,

 

 

I am new to FME.

 

I am trying to do a batch processing to convert shapefiles to JSOn files.

 

All my shape files are in current directory, e.g.,

 

C:\\Users\\username\\Documents\\Projects

 

I am trying to convert each of them into a separate json file in a folder

 

C:\\Users\\username\\Documents\\Projects\\JSON

 

I used dataset fanout after selecting all the shapefiles as input but it is returning only json file corresponding to the first shapefile.

 

I also used file->batch deploy by selecting the source folder with *.shp as wild card  and destination as above and deselected retain basename.

 

But it is also giving only the output from first file.

 

 

Please help me out where I am wrong or if you need information.

 

 

Thanks,

 

Vivek

Best answer by conterrastefan

Hi Vivek,

 

 

if you still have problems, another easy option would be the Quick Translator. Here you can use the 'Advanced Browser' to navigate to your input Shape folder (or use your wildcard ...\\*.shp). In the next try the option 'Seperate destination for each source file'. In the last step you set up your destination folder.

 

 

Best regards,

 

Stefan
View original
Did this help you find an answer to your question?
This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, 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.

3 replies

Forum|alt.badge.img+4
  • April 25, 2013
Hi Vivek,

 

 

Try reselecting that "retain basename" parameter and rerunning the procedure.

 

 

When using Batch Deploy, for it to fanout to different files based on the source file name, you will need to have this parameter checked. Be aware that basename means the source filename in regards to Shape files.

Hi Vivek,

 

 

if you still have problems, another easy option would be the Quick Translator. Here you can use the 'Advanced Browser' to navigate to your input Shape folder (or use your wildcard ...\\*.shp). In the next try the option 'Seperate destination for each source file'. In the last step you set up your destination folder.

 

 

Best regards,

 

Stefan

Forum|alt.badge.img
  • Author
  • April 26, 2013
Thank you all for the answers.

 

I tried all the three procedures.

 

 

1) Retain base name did not change anything.

 

2) Yes, Unexpected Input Remover was indeed a problem and I did use Mark's solution to get the expected results.

 

 

However, the really quicky was Stefan's answer.

 

 

Thanks,

 

Vivek

 

 


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