reVX.least_cost_xmission.layers.utils.convert_pois_to_lines

convert_pois_to_lines(poi_csv_f: str, template_f: str, out_f: str)[source]

Convert POIs in CSV to lines and save in a geopackage as substations. Also create a fake transmission line to connect to the substations.

Parameters:
  • poi_csv_f (str) – Path to CSV file with POIs in it

  • template_f (str) – Path to template raster with CRS to use for geopackage

  • out_f (str) – Path and file name for geopackage