readLine(fname, defname, dem)[source]

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

  • fname (str) – path to shape file

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

  • dem (dict) – dem dictionary


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

Return type