I have simple workspace doing a point densification and generalization on polygons:
I have three published parameters:
the input (Shapefile), the output directory and the output name (Shapefile).
I call it from a batch file (it is replacing another tool in a longer chain of commands) like this:
fme workspace.fmw --DestDataset_SHAPEFILE z:/ --ftp_feature_type_name_exp b
This works as intended, taking the default input (z:/a.shp) and writing to both directory and filename I define in the parameters (z:/b.shp)
fme workspace.fmw --SourceDataset_SHAPEFILE z:/b.shp --DestDataset_SHAPEFILE z:/ --ftp_feature_type_name_exp c
Using the --SourceDataset_SHAPEFILE parameter does not work. There is no error message, but it seems the workbench either does nothing or falls back to the default values for all parameters.
How can I call a workspace with different input/output data, from console? These are purely geometric operations, so I don't think schema should be an issue (it is the same in these examples).
Best answer by tomf
View original