Is there a transformer to directly contour a raster file (geotiff format). Which also does not contour on empty raster cells?
+1
Or RasterCellCoercer?
+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.
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.
+1
Thank you cartoscro. This is what I was looking for.
+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.
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
Reply
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.