Skip to main content
Solved

Insert raster image into DWG generates error: 'Failed to write raster with raster reference '1', ignoring texture'


Hi,

I'm using FME 2019.1 and would like to insert an image (raster) into an DWG-file. I cannot find any detailed description regarding this and my attempts all end in an error saying 'Failed to write raster with raster reference '1', ignoring texture'.

I'm using a reader to read either a GeoTIFF-, JPEG- or PNG-file and send it to an AutoCAD RealDWG writer without any transformations.

Could anyone please upload an example FME-file that does this?

 

Thanks for your help

Best answer by m_andren

Thanks for your reply,

I think the problem was that I used an old script fråm FME 2016 and just added the raster.

When I created a new script in FME 2019 it worked fine.

Thanks, Mattias

View original
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.

2 replies

daraghatsafe
Forum|alt.badge.img

Hi @m_andren.

Sorry to hear that this is not working for you, I tried converting a .tif file to .dwg and it worked successfully. Have you tried it with other rasters?

I would suggest testing with another raster to see if the same error occurs. Also, could you attach the raster to the post?

Thanks, Daragh


  • Author
  • Best Answer
  • June 2, 2020

Thanks for your reply,

I think the problem was that I used an old script fråm FME 2016 and just added the raster.

When I created a new script in FME 2019 it worked fine.

Thanks, Mattias