Skip to main content
Question

I need to convert csv to shapefile. How can I get the file name of the csv in the the attribute of the shapefile? I tried the fme_feature_type but its not working.

  • September 22, 2022
  • 5 replies
  • 39 views

image

5 replies

tomfriedl
Contributor
Forum|alt.badge.img+13
  • Contributor
  • 177 replies
  • September 22, 2022

fme_dataset = filename with path


ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3422 replies
  • September 22, 2022

If you change this setting in the csv reader fme_feature_type will contain the filename.

image


Forum|alt.badge.img+2
  • 1891 replies
  • September 22, 2022

@malavikavenu96​ exposing fme_basename should give you what you need


  • Author
  • 7 replies
  • September 23, 2022

@Mark Stoakes​ @ebygomm​ @tomfriedl​ I have tried all these methods still the output is not received. Before I had used the same for shapefiles but it is not executed for csv files. I tried using the FeatureReader but it is taking a lot of time.

 


Forum|alt.badge.img+2
  • 1891 replies
  • September 26, 2022

@malavikavenu96​ If you attach a couple of sample files and your existing workspace then someone might be able to dig a little deeper