Large buffers leave empty space
How do I remove this space? I drew a large polygon, and applied a 450 m buffer to it.
It buffer outward just fine.
But inward, there is a 450 m void…
0
-
VertiGIS Support found the issue. This is now a bug (#303312). Basically, the tool expects all buffers to be drawn clockwise.
If you only draw the buffer clockwise, you won't encounter this issue. But a better solution would be the following (provided by VertiGIS support):
- After your buffer activity, add an If to check if the rings property of the geometry has a length greater than 1 (signifying a shape that has a hole), using the condition: =$buffer2.geometry.rings.length > 1
- Connect the "false" side back to the rest of the workflow
- On the "true" side, add an Evaluate Expression activity that reverses the vertex order using the expression: =$geometryContainer.result.rings[0].reverse()
- Connect "Evaluate Expression" to the buffer activity so that it re-runs with the updated geometry
0 -
Trying to add picture again…
0
Please sign in to leave a comment.
Comments
2 comments