_Reader.make_shp_pkl_pathname

classmethod _Reader.make_shp_pkl_pathname(shp_zip_filename, extract_dir, layer_names_, feature_names_)

Make a pathname of a pickle file for saving shapefile data.

Parameters:
  • shp_zip_filename (str) – filename of a .shp.zip file

  • extract_dir (str) – pathname of a directory to which the .shp.zip file is extracted

  • layer_names (list) – names of shapefile layers

  • feature_names (list) – names of shapefile features

Returns:

pathname of a pickle file for saving data of the specified shapefile

Return type:

str

See examples for the methods GeofabrikReader.read_shp_zip() and BBBikeReader.read_shp_zip().