in2Trans.shpConversion.writeLine2SHPfile¶
- writeLine2SHPfile(lineDict, lineName, fileName, header='')[source]¶
write a line to shapefile
- Parameters
lineDict (dict) – line dict
lineName (str) – line name
fileName (str or pathlib path) – path where the line will be saved line name
header (dict) – optional argument (‘’ by default). If provided, header dictionary with ‘xllcenter’ and ‘yllcenter’ to add to the line
- Returns
fileName – path where the line has been saved
- Return type
str