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.

  • 22 September 2022
  • 5 replies
  • 14 views

image


5 replies

Userlevel 2
Badge +12

fme_dataset = filename with path

Userlevel 1
Badge +21

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

image

Badge +2

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

 

Badge +2

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

Reply