You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am performing single-sided buffering and then looping through the new offset curve to remove all points within offsetDistance - 0.01 of each point on the original curve. This results in a nice single-sided buffer like so:
The problem is that when I increase the offset distance beyond a certain amount, the first and last points become connected by a line segment (the photo above is 7.5 offset distance, the one below is 8.0):
I'm aware that buffering will always return either a polygon or multipolygon (closed shape). That being said, I would like to prevent the first and last points from "connecting" together entirely. Any ideas as to why this would happen only beyond a certain offset distance?
The text was updated successfully, but these errors were encountered:
OK, this issue is caused by the final offset curve not maintaining point order past a certain offset distance. I guess there's no way to ensure that the first and last points in the offset curve correspond to the first and last points in the original curve, since the buffer operation doesn't guarantee point order. Is that right?
I am performing single-sided buffering and then looping through the new offset curve to remove all points within offsetDistance - 0.01 of each point on the original curve. This results in a nice single-sided buffer like so:
The problem is that when I increase the offset distance beyond a certain amount, the first and last points become connected by a line segment (the photo above is 7.5 offset distance, the one below is 8.0):
![image](https://private-user-images.githubusercontent.com/144922796/276270281-2cf110bf-4648-46f4-9043-6cb9edd3fc50.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM5ODUzMzcsIm5iZiI6MTcyMzk4NTAzNywicGF0aCI6Ii8xNDQ5MjI3OTYvMjc2MjcwMjgxLTJjZjExMGJmLTQ2NDgtNDZmNC05MDQzLTZjYjllZGQzZmM1MC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODE4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgxOFQxMjQzNTdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xMmM5NDA5ZTdjZDYzY2QwNTlhMDM4MGQyZmI1MzE0ZDNhMWJiNTBlOWFmMDUwYjhmMDdhNGE1NDM5NTA3OWY0JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.Uu2lDEPhwhrttaNJ2eCNIaA92XCnY_DXFnBKmJtsXkM)
I'm aware that buffering will always return either a polygon or multipolygon (closed shape). That being said, I would like to prevent the first and last points from "connecting" together entirely. Any ideas as to why this would happen only beyond a certain offset distance?
The text was updated successfully, but these errors were encountered: