Question

Is it possibel to transfer a pdf-file into a GeoTIFF-file?

  • 5 August 2021
  • 1 reply
  • 7 views

Hy,

i'm a Beginner in working with FME and now i have a little question to the forum.

 

I have to transfer a pdf-file (without a geometrical raster) into a GeoTIFF-file. Is it possible to do that and do you have any ideas how i can do that?

 

At the Moment every time i try to transfer the files a error occurs:

"GEOTIFF writer: Failed to obtain raster from feature. Only features with raster geometry are expected

A fatal error has occurred. Check the logfile above for details"

 

Thanks for your help


1 reply

Badge +20

TIFF supports bands of type Byte, UInt16, Int16, UInt32, Int32, Float32, and Float64. You can also assign a palette.

You have to convert your data to raster via a Rasterizer., if you have vector features. And you have to convert your rasters from RGB to Gray8 if you have raster features.

You can use this expression in RasterExpressionEvaluator to convert RGB to Gray8

0.2989*A[0] + 0.5870*A[1] + 0.1140*A[2]

or this one

0.3333*A[0] + 0.3333*A[1] + 0.3333*A[2]

 

Reply