Skip to main content
Question

GeoTiff to ESRI ASCII conversion


Forum|alt.badge.img

Hi All,

I'm new to translating rasters and i'm looking at doing a simple translation from GeoTiff to ASCII grid data. The Geotiff is a simple single band DSM with REAL32 datatype. I've created a workbench that has the Geotiff as the reader and ASCII as the writer. I am also clipping the original Geotiff, so I've got a clipper in there as well. However, when I run this I get an error 'ESRIASCIIGRID writer: Failed to obtain raster from feature. Only features with raster geometry are expected'. I was kind of expecting something along these lines, because I suspected you need to extract the height info from the band before converting it to ASCII. How do you do this please?

Thanks

 

Dave

3 replies

daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • June 20, 2019

Hi @cappers,

A single band GeoTIFF should write OK to the Esri ASCII Grid. Would you mind posting a copy of your workspace?


Forum|alt.badge.img
  • Author
  • June 24, 2019

Hi,

see attached workspace. I get an error (translation failed) when i run this.

Thanks

 

Dave

geotiid2ascii_DSM.fmw


daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • June 24, 2019

Hi @cappers,

The workspace looks good. The only reason I can think of that might cause the error you see is if the clipping boundary doesn't line up with the input rasters (perhaps due to different coordinate systems).

Please try setting Writers - Redirect to FME Data Inspector, the re-run the workspace to examine the output of the Clipper. This should give us more info on the data being written to ASCII.


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