I would like to be able to create square buffers along polylines i.e. a polygon any width but with ends that are at right angles to the end of the polylines.
It would be great if anyone can help or provide a code they have already developed.
I could possibly use this if there is a way of using this within a python script and if there is a way to convert polylines to polygons in python.
I am trying to select points or polygons that are parallel to a polyline using python. I thought that a square buffer would be ideal however if anyone has any other ideas it will be greatly appreciated.
Well, you can convert polylines to polygons and vice versa w/ Python, though last I checked geom methods don't apply to building true curves. So, aside from handling true curves (maybe your fc doesn't have true curves anyway), then you can read the points making up your lines and, for each poly feature you want to create, load a point array object. Use the array of point objects to load into a poly geometry object.