I have a polyline feature class and I need some segments to be generalized. I tried exactly Generalize tool in Advanced Editor toolbar as well as Simplify Line tool, but it isn't what I need.
My goal is to make round segments of rectangular shape, see an example. I need to transform the initial thin line into almost the same but instead of round segments (they're not curves) want to have angles like thick red ones in a picture. Tried to build a script using lengths of distances between vectors from beginning of line with help of arcpy.da.SearchCursor()
and arcpy.positionAlongLine()
, but nothing useful came to my mind.
Any thoughts?