[geos-devel] Buffering with obstacles

Nyall Dawson nyall.dawson at gmail.com
Wed Oct 11 15:49:36 PDT 2023

Hi list!

(Apologies in advance for the embedded image, I couldn't write this
post sensibly without it).

I had a novel request this week for calculation of buffers which
respect obstacle geometries. Given input features (the red dot below,
but could also be line/polygon features), and a layer of "obstacles"
(the blue line, but could be either lines or polygons), then the
buffer must respect the obstacles and not be allowed to cross over the
blue line. Ie the desired result is the red shaded area in the
attached image.

Every point in the buffer should be within the buffer distance of the
original geometry by paths which don't cross any of the obstacle

There's some prior related discussion at

Is this something which could potentially belong in JTS / GEOS? Is it
even possible? And if so, is it something my customer could fund the
development of?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 14188 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/geos-devel/attachments/20231012/684f3f1a/attachment.png>

More information about the geos-devel mailing list