Skip to main content
Solved

Expose file type of zipped file


pflegpet
Contributor
Forum|alt.badge.img+8

Hi,

 

 

is there a way to expose the file type suffix (e.g. ".shp") after the file has been created and zipped with the FeatureWriter? The "_dataset" attribute only yealds the .zip suffix whereas _feature_type attribute does only show the file name without the suffix. Thank you for your help.

Best answer by virtualcitymatt

You should be able to configure a PATH reader in a FeatureReader to read the contents of the zip file. See here as an example:

https://knowledge.safe.com/questions/37542/directory-and-file-path-when-reading-a-zip-returns.html

 

View original
Did this help you find an answer to your question?

2 replies

virtualcitymatt
Celebrity
Forum|alt.badge.img+34

You should be able to configure a PATH reader in a FeatureReader to read the contents of the zip file. See here as an example:

https://knowledge.safe.com/questions/37542/directory-and-file-path-when-reading-a-zip-returns.html

 


danilo_fme
Evangelist
Forum|alt.badge.img+41
  • Evangelist
  • May 27, 2020
virtualcitymatt wrote:

You should be able to configure a PATH reader in a FeatureReader to read the contents of the zip file. See here as an example:

https://knowledge.safe.com/questions/37542/directory-and-file-path-when-reading-a-zip-returns.html

 

Perfect solution with this transformer @virtualcitymatt


Reply


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