geofileops.remove_layerstyle#

geofileops.remove_layerstyle(path: Path, id: int)#

Remove a layer style.

Only styles saved according to the QGIS Geopackage styling extension are removed: pka/qgpkg

Parameters:
  • path (Path) – path to the geo file.

  • id (int) – the id of the layer style to remove.