Skip to main content
Question

Is there a transformer to directly contour a raster file (geotiff format). Which also does not contour on empty raster cells?

  • September 25, 2017
  • 7 replies
  • 46 views
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.

7 replies

erik_jan
Contributor
Forum|alt.badge.img+26
  • Contributor
  • September 25, 2017

Have you looked at the Contourgenerator transformer?


Forum|alt.badge.img
  • September 25, 2017

Or RasterCellCoercer?


Forum|alt.badge.img+1

Thank you for your suggestions. I tried the contourgenerator transformer. But this transformer creates contours over the area with nodata, which I don't want (see below image). Maybe I am doing something wrong, but I don't see the option to create a contour with the rastercellcoercer.


dustin
Influencer
Forum|alt.badge.img+31
  • Influencer
  • September 25, 2017

You can create a polygon that covers the extents of the raster data using the RasterExtentsCoercer set to Data Extents mode. Then, use the Clipper to clip the contours to the polygon.


Forum|alt.badge.img+1
Thank you cartoscro. This is what I was looking for.

 

 


Forum|alt.badge.img+1
Thank you cartoscro. Your transformers work. The only problem I have is that they don't work for large raster files. 4.2 Mb works, 3.5Gb doesn't.

 

 


dustin
Influencer
Forum|alt.badge.img+31
  • Influencer
  • October 4, 2017
3.5gb is a large file. Try the workflow below. Splitting the data into chunks may help it to run a little faster. This splits the raster into 4 datasets, but you may need to increase this number.

 

 

tiled-raster.jpg