I run an image clipping workbench (let's call it clip.fmw) from another workbench (starter.fmw) using WorkespaceRunner. But I am unable to put the parameters in the right format in order to get the clipping done right. I did some testing:
-----------------------------------
Starting by using the starterfmw skript with the WorkespaceRunner that runs clip.fmw:
in the starter.fmw skript:
Klicking on the (...)-button in the workspaceRunner to select my images I get following result (when selecting multiple images):
In the picture selection window:
"picture1.jpg" "picture2.jpg"
In the WorkspaceRunner Parameter Window:
E:\\picture1.jpg,E:\\picture2.jpg
In Log window when running the WorkspaceRunner out of the starter.fmw:
--SourceDataset_JPEG {""E:\\picture1.jpg" "E:\\picture2.jpg""}
--> The Skript Fails
------------------------------------
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
In clip.fmw skript without using a WorkespaceRunner:
double clicking on the .jpg reader source files and againg on the (...)-button - I get following result:
In the picture selection window:
"picture1.jpg" "picture2.jpg"
In the Edit-Parameter Datasource Window:
E:\\picture1.jpg,E:\\picture2.jpg
In log in:
fme.exe starter.fmw (the blue log at the start);
SourceDataset_JPEG """""E:\\Ortho_2012\\588937.5_196700.0.jpg"" ""E:\\Ortho_2012\\588937.5_197000.0.jpg"""""
--> SUCCESSFUL
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
When I copy and paste the last argument with all the """" in the starter.fmw WorkespaceRunner it fails as well...
I think FME is trying to put my inputs from starter.fmw in the "right" format asbut is not able to or mixes up all the "" . I would really like to pass the arguments using text and commas only but this does not seem to work.
Thank you for your help!