How to set new shape of original shape by buffering, but in preset borders?
Sample on picture:
I would like to do it programatically, so in C# or directly in MSSQL, but solution need not to be a code. The recipe would be good enough
أكثر...
Sample on picture:
- Blue are current geometries, I do not want to change. They are "the borders".
- Light green is original geometry (not touching the blue ones).
- Dark green should be the new geometry from the old light green object. The size should be enlarged by set buffer, but if there are no borders (any other geometries - the blue ones). If there is a geometry, the new shape (dark green) should only touch the borders, but not overflow.

I would like to do it programatically, so in C# or directly in MSSQL, but solution need not to be a code. The recipe would be good enough
أكثر...