Hello everyone,
I just published RasterViewshedCalculator, a custom transformer for viewshed analysis.
Back in 2016, I built a workflow for this. It worked, but it was hard to set up and even harder to understand. I used point clouds for everything, including the visibility rays. During the process, the workflow had two-dimensional, one-dimensional, and even pointless point clouds (all for a good reason, I promise!). I rarely shared it or even used it myself.
Now it’s just a custom transformer. Send in a numeric elevation raster and your observer points, and you’ll get back a raster (or series of rasters for multiple observer points )showing which cells are visible.
I’ll talk about how I make my transformers these days at the Peak of Data and AI in London, but if you guessed AI was involved, you’re absolutely right.

The animated GIF is over the 5 MB limit here. You can see how the viewshed changes as the observer gets taller in my LinkedIn post.
I rendered this right inside my demo workspace. I used 3DModelRenderer to render the frames with Blender and AnimatedGIFWriter to assemble them with ImageMagick. I made both custom transformers a while ago, and I have a feeling I’ll soon be replacing them with something that works without any extra installs. Stay tuned :)
Dmitri


