I have these transects I've buffered as training data, but now we had "edges" defined where we need a simple buffer on ONE side of the line. I run my scripts within Jupyter Notebooks, so it needs to work standalone. Right now my buffer code looks like this:
lines['geometry'] = lines.buffer(1, cap_style=3)
lines.to_file(linesBufferFolder + "\\Lines_Buffer")
This creates a 1m buffer on both sides with end caps. Like this:
I essentially need to bisect that polygon, and only keep the "left" side based on the order which the points go. My initial thought was to use a one sided buffer, but I can't find any documentation for that in GeoPandas Geometric Manipulation documentations.
My other idea was to simply erase half of the polygon I currently have, but again, to get that overlay I would think I would need to buffer the other side, bringing me back to my original issue. I know how to manually do one side buffers, but finding a Python library that uses it other than ArcPy is stumping me.