Skip to main content
Question

GeoTiff to ESRI ASCII conversion

  • June 19, 2019
  • 3 replies
  • 319 views

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

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.

3 replies

daveatsafe
Safer
Forum|alt.badge.img+20
  • 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+20
  • 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.