in3Utils.geoTrans.computeAlongLineDistance
- computeAlongLineDistance(line, dim='2D')[source]
compute distance along a dict of coordinates or a shapely lineString incrementally
- Parameters
line (lineString shapely or dict) – lineString object or dict with x, y, z keys and np.arrays as items
dim (str) – 2D only in xy, 3D in xyz
- Returns
distancePoints – list of starting (at zero) distance along this line
- Return type
list