Hi, You shouldn't need to convert your .fmw to an .fme; FME will execute .fmw files just fine.
To work around the unexpected input remover, open up the source feature type properties, check the "Merge feature type" box, and specify an appropriate filter (I usually use *) Jason -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of waberskidarrow Sent: Monday, April 03, 2006 11:27 To: [email protected] Subject: [fme] CSV reader FME 2006 (20051216 - Build 2182) I am reading in a large csv file and writing out dwg files and it works on a single file but now I want to run it in batch mode. I converted the fmw file to a fme and when I run the bat file it goes through the whole csv but all of the points fail. ***** 2006-04-03 09:58:08| 649.3| 0.1|INFORM|Reading source feature # 18687500 2006-04-03 09:58:08| 649.4| 0.1|INFORM|Reading source feature # 18690000 2006-04-03 09:58:08| 649.4| 0.0|INFORM|CSV Reader: Closing dataset 's:\93P01\093p01a_ne_be_nad83.xyz'. 2006-04-03 09:58:08| 649.4| 0.0|INFORM|Emptying factory pipeline 2006-04-03 09:58:08| 649.4| 0.0|STATS |Unexpected Input Remover (TestFactory): Tested 18690697 input features -- 0 features passed, 18690697 features failed. 2006-04-03 09:58:08| 649.4| 0.0|STATS |Source -> Generic (TeeFactory): Cloned 0 input feature(s) into 0 output feature(s). 2006-04-03 09:58:08| 649.4| 0.0|STATS |SAMPLER_Sampler (SamplingFactory): Sampled 0 of 0 features ***** I believe it is from the feature types. When I am in workbench the feature types are defined by a file and when converted to an fme file that file name is hard coded (093p01i_sw_be_nad83). ***** from the FME file ***** MACRO WORKSPACE_NAME csv2acadcontour CSV_1_DEF 093p01i_sw_be_nad83 \ col0 number (10,3) \ col1 number(11,3) \ col2 number(7,3) Lookup ___KnownFeatureTypes___ \ 093p01i_sw_be_nad83 yes \ "" no FACTORY_DEF * TestFactory \ FACTORY_NAME "Unexpected Input Remover" \ INPUT FEATURE_TYPE * \ TEST @Lookup(___KnownFeatureTypes___,@FeatureType()) == yes \ OUTPUT PASSED FEATURE_TYPE * FACTORY_DEF * TeeFactory \ FACTORY_NAME "Source -> Generic" \ INPUT FEATURE_TYPE \ OUTPUT FEATURE_TYPE \ @Transform(CSV,FME_GENERIC,PRESERVE_GEOMETRY) INCLUDE [ puts "MACRO REAL_RATE [expr 20 * 1 ]" ] FACTORY_DEF * SamplingFactory \ FACTORY_NAME SAMPLER_Sampler \ SAMPLE_RATE $(REAL_RATE) \ INPUT FEATURE_TYPE 093p01i_sw_be_nad83 \ OUTPUT SAMPLED FEATURE_TYPE ___SAMPLED___ How do I get around this feature types filename? Thanks Get the maximum benefit from your FME, FME Objects, or SpatialDirect via our Professional Services team. Visit www.safe.com/services for details. Yahoo! Groups Links Get the maximum benefit from your FME, FME Objects, or SpatialDirect via our Professional Services team. Visit www.safe.com/services for details. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/fme/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
