Skip to main content
Question

Source filename as output filename

  • February 6, 2013
  • 2 replies
  • 126 views

I have a textfile reader and a shapefile writer.

 

Is there a way I can extract the first part of the textfile name and use this as the shapefile name?

 

Thanks

2 replies

redgeographics
Celebrity
Forum|alt.badge.img+50
You can use an AttributeExposer to make the fme_basename attribute visible, then use that for a Fanout attribute on the output feature type.

Hi PeteJnr,

 

 

if you want to extract some parts of the first part of your textfile name, you can use the SubstringExtractor on fme_basename and take the resulting attribute for fanout.

 

 

Best regards,

 

Stefan

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