Skip to main content
Question

Read DXF from a zip file inside a Blob

  • June 18, 2019
  • 3 replies
  • 42 views

Dear all,

I'm quite new with FME and I'm facing my first issue on my workspace.

  • I would like to retrieve a BLOB from an Oracle DB.
  • This BLOB contains a ZIP file of a DXF file.
  • I would like to read this DXF file with autocad_extended attributes.

 

Currently, I'm stuck at this point: I read the BLOB, I create an attribute (for future transformations), write the file on the file system and extract the zip file.

Now, how can I read the DXF file extracted from ZIP with autocad_extended attributes?

 

Thank you for the support!

Best Regards,

Michele

 

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

lars_de_vries
Forum|alt.badge.img+10

You should use a FeatureReader transformer. You can refer to the zip-file and have to set the parameters correctly to read the extended attributes, just like a regular reader.


  • Author
  • 1 reply
  • June 20, 2019

You should use a FeatureReader transformer. You can refer to the zip-file and have to set the parameters correctly to read the extended attributes, just like a regular reader.

Hi Lars thank you for your reply, I've tried the FeatureReader but the extended attributes were not exposed.

At the end I've used WorkspaceRunners that run dedicated workspaces in order to read the DXF file and other formats as input reader.

For the moment this solution works well. In your opinion is there any limit or issue with this?

 

Thank you,

Michele


lars_de_vries
Forum|alt.badge.img+10

Hi Lars thank you for your reply, I've tried the FeatureReader but the extended attributes were not exposed.

At the end I've used WorkspaceRunners that run dedicated workspaces in order to read the DXF file and other formats as input reader.

For the moment this solution works well. In your opinion is there any limit or issue with this?

 

Thank you,

Michele

I think that might be a good solution as well. I have noticed that not always all reader parameters are available in the FeatureReader.

You only have to watch the number of parallel processes if that is allowed. It shouldn't be a problem, but things good end up in a queue.