geofileops.get_default_layer#

geofileops.get_default_layer(path: Union[str, PathLike[Any]]) str#

Get the default layer name to be used for a layer in this file.

This is the stem of the filepath.

Parameters:

path (Union[str,) – The path to the file.

Returns:

The default layer name.

Return type:

str