Hi Martin,

 

I think the issue is that perhaps when we echo the command line we
"pretty it up" so that one may think its not all on one line, but indeed
it is.

 

So this (as shown in the workbench log):

 

 

> fme.exe Flight_diagrams25.fmw

>           --DestDataset_GEODATABASE_MDB
C:\DATA\Flight\Aerial_Photography.mdb

>           --SourceDataset_CSV
C:\DATA\Flight\CSV\Zone49\000080_MGA-z49.csv

 

Really means a command line like this:

 

fme.exe Flight_diagrams25.fmw --DestDataset_GEODATABASE_MDB
C:\DATA\Flight\Aerial_Photography.mdb --SourceDataset_CSV
C:\DATA\Flight\CSV\Zone49\000080_MGA-z49.csv

 

 

All the stuff is one the same line.  

 

There is some information on fmepedia here:
http://www.fmepedia.com/index.php/Category:Command_Line_Operation_FAQ
about the command line, and also here:
http://webi.safe.internal/support/online-documentation/UT/running_custom
_mapping_files.htm (note that really we should list both .fme and .fmw
files here, they are both the same.)

 

In general, when running workspaces from the command line, you need to
keep the -parameterName part exactly the same, and the thing following
it is the thing you can change.

 

For example:

 

fme.exe Flight_diagrams25.fmw --DestDataset_GEODATABASE_MDB
C:\DATA\Flight\Aerial_Photography1.mdb --SourceDataset_CSV
C:\DATA\Flight\CSV\Zone49\000080_MGA-z49.csv

fme.exe Flight_diagrams25.fmw --DestDataset_GEODATABASE_MDB
C:\DATA\Flight\Aerial_Photography2.mdb --SourceDataset_CSV
C:\DATA\Flight\CSV\Zone49\000080_MGA-z49J_2.csv

  

 

Now, there is a last issue that rises up when reading CSV files, and
that is covered here:
http://www.fmepedia.com/index.php/Is_there_a_way_to_bypass_the_Unexpecte
d_Input_Remover_and_read_all_the_feature_types -- in short, you'll need
to "merge feature types" on the CSV input in order to use arbitrarily
named CSV files.

 

If you're willing to send us in your workspace, we can send you back the
mods and some command lines that run it - please send to
[EMAIL PROTECTED] and quote this email when you do.

 

Thanks!

 

 

Dale

 

----------------------------------------------------------------------

Dale Lutz              Safe Software Inc.                 [EMAIL PROTECTED]

VP Development         Surrey, BC, CANADA        phone: (604) 501-9985

                       http://www.safe.com         fax: (604) 501-9965

----------------------------------------------------------------------

 

 

Reply via email to