Skip to content

Commit 8d6bcaf

Browse files
revert shapefile driver param
1 parent 17f5c83 commit 8d6bcaf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dea_conflux/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def id_field_values_is_unique(shapefile_path: str, id_field) -> bool:
6969
has_s3 = "s3" in gpd.io.file._VALID_URLS
7070
gpd.io.file._VALID_URLS.discard("s3")
7171
logger.info(f"Attempting to read {shapefile_path} to check id field.")
72-
gdf = gpd.read_file(shapefile_path)
72+
gdf = gpd.read_file(shapefile_path, driver="ESRI Shapefile")
7373
if has_s3:
7474
gpd.io.file._VALID_URLS.add("s3")
7575
return len(set(gdf[id_field])) == len(gdf)

0 commit comments

Comments
 (0)