revrt.utilities.cli.convert_pois_to_lines#

convert_pois_to_lines(poi_csv_f, template_f, out_f)[source]#

Convert POIs in CSV to lines and save in a GPKG as substations

This function also creates a fake transmission line to connect to the substations to satisfy LCP code requirements.

Parameters:
  • poi_csv_f (path-like) – Path to CSV file with POIs in it.

  • template_f (path-like) – Path to template raster with CRS to use for GeoPackage.

  • out_f (path-like) – Path and file name for GeoPackage.