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
Did this help you find an answer to your question?

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


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