![]() PtX1=plyP.positionAlongLine (dL+0.01).firstPoint LArray=arcpy.Array() rArray=arcpy.Array() The mentioned script is: import arcpy, math The answers from and to the question, inspired me the following methodology:ġ.Create two 3D parallel polylines with same Z-valuesĢ.Convert the parallel polylines to polygon For this reason i need to create a buffer-like polygon from given road centre-line but this polygon has to have Z-values that are taken from corresponding Z coordinates of polyline (check my recent question for more details).Īlso my project is to optimize road coordinates to decrease cut/fill cost with genetic algorithm, so manual buffer creation will not be feasible.Īfter some search for finding solution to the problem i have found this question. ![]() I want to calculate cut/fill cost for road alignments.
0 Comments
Leave a Reply. |