def densified_distance_array(self, threshold): """Generate an array of distances between vertexes in a densified line""" return gis.distance_array(gis.densified_line(self.proj_point_array(), threshold))
def densified_point_array(self, threshold): """Add points to the line such that the distance between any two points is < threshold""" return gis.densified_line(self.proj_point_array(), threshold)