gemgis.postprocessing.save_qgis_qml_file
gemgis.postprocessing.save_qgis_qml_file#
- gemgis.postprocessing.save_qgis_qml_file(gdf: geopandas.geodataframe.GeoDataFrame, value: str = 'formation', color: str = 'color', outline_width: Union[int, float] = 0.26, alpha: Union[int, float] = 1, path: str = '')#
Creating and saving a QGIS Style File/QML File based on a GeoDataFrame
- Parameters
gdf (gpd.geoDataFrame.GeoDataFrame) – GeoDataFrame containing the Polygons, formation names and color values
value (str) – Name of the column used to categorize the layer
color (str) – Name of the column containing the color values
outline_width (Union[int, float]) – Outline width of the polygons
path (str) – Path where the QML file will be stored
New in version 1.0.x.