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
  • 21 views

image

5 replies

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

fme_dataset = filename with path


ebygomm
Influencer
Forum|alt.badge.img+32
  • Influencer
  • 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
  • September 22, 2022

@malavikavenu96​ exposing fme_basename should give you what you need


@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
  • 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


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