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

icon

Best answer by m_andren 2 June 2020, 11:02

View original

2 replies

Badge

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

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

Reply