Calculating angles along polyline and creating bends in ArcGIS [on hold]

المشرف العام

Administrator
طاقم الإدارة
I have shapefile containing polyline and I want to specify bends, i.e.:


  1. factorize polyline into vectors
  2. measure an angle between consequent vectors
  3. consider each angle as concave or convex; let's assume concave angle receives plus sign, while convex angle gets minus, as shown below: 4.join plus signs and minus signs as below: and, eventually, I want to see it, e.i. create polygons in the introduced way.
I'd like to obtain point feature class with points and responding plus/minus sign in the table of contents. Moreover: polygon feature class with bends elicited by joining points with the same signs.

I was to use arcpy.SplitLine_management to factorize polyline and then count every angle with numpy module, using dotproduct and linalg.norm. But maybe counting azimuths between succeeding points would be better? Only goal's achievement matters.

Both all-encompassing view and individual steps in script would be invaluable for me.



أكثر...
 
أعلى