append_fclass_to_filename

pydriosm.utils.append_fclass_to_filename(shp_filename, feature_names)

Append a 'fclass' name to the original filename of shapefile.

Parameters
  • shp_filename (str) – original .shp filename

  • feature_names (str or list) – name (or names) of a fclass (or multiple fclass) in .shp data

Returns

updated filename used for saving only the fclass data of the original .shp data file

Return type

str