geofileops.remove#
- geofileops.remove(path: Union[str, PathLike[Any]], missing_ok: bool = False)#
Removes the geofile.
Is it is a geofile composed of multiple files (eg. .shp) all files are removed. If .lock files are present, they are removed as well.
- Parameters:
path (PathLike) – the file to remove
missing_ok (bool, optional) – True not to give an error if the file to be removed doesn’t exist. Defaults to False.