geofileops.remove_spatial_index#

geofileops.remove_spatial_index(path: Union[str, PathLike[Any]], layer: Optional[str] = None)#

Remove the spatial index from the layer specified.

Parameters:
  • path (PathLike) – The file path.

  • layer (str, optional) – The layer. If not specified, and there is only one layer in the file, this layer is used. Otherwise exception.