readPoints(fname, dem)[source]

Read points from .shp Use SHP2Array to read the shape file. Check if the points are laying inside the dem extend

  • fname (str) – path to shape file

  • defname (str) – name to give to the points in the shape file

  • dem (dict) – dem dictionary


Line – Line[‘Name’] : list of points names Line[‘Coord’] : np array of the coords of points in points Line[‘Start’] : list of starting index of each point in Coord Line[‘Length’] : list of length of each point in Coord

Return type