geofileops.cmp#
- geofileops.cmp(path1: Union[str, PathLike[Any]], path2: Union[str, PathLike[Any]]) bool #
Compare if two geofiles are identical.
For geofiles that use multiple files, all relevant files must be identical. Eg. for shapefiles, the .shp, .shx and .dbf file must be identical.
- Parameters:
path1 (PathLike) – path to the first file.
path2 (PathLike) – path to the second file.
- Returns:
True if the files are identical
- Return type:
bool