Change Log ============= ``Master branch`` ^^^^^^^^^^^^^^^^^ * New method `create_gpkg_datastore` * Bugfixes for `add_layer_to_layergroup` and `remove_layer_from_layergroup` * New method `remove_layer_from_layergroup` ``[v2.4.1 - 2023-01-14]`` ^^^^^^^^^^^^^^^^^^^^^^^^^^ * New method `add_layer_to_layergroup` (see issue `#102 `) * Allow deletion of layergroups from workspaces (see issue `#100 `) and add unittests for the layergroup methods. * Fix json-bug in create_coveragestore method (see issue `#86 `) ``[v2.4.0 - 2023-01-10]`` ^^^^^^^^^^^^^^^^^^^^^^^^^^ * Fix the import issue, close `#76 `_ * Removed the ``rest`` from Geoserver class URL, Revert back to previous state. Close `#77 `_ * Add Optional Parameter for ``title`` to ``publish_featurestore`` function * Update on git hooks `#94 `_, `#92 `_ * Exception handeling in a better way `#93 `_ ``[v2.3.0 - 2022-05-06]`` ^^^^^^^^^^^^^^^^^^^^^^^^^^ * Params for `delete_workspace` and `delete_style` changed to `{recursive: true}` * Added methods to use REST API for user/group service CRUD operations. * Removed ``key_column`` parameter and added ``srid`` parameter (coordinate system of the layer, default is 4326) from ``publish_featurestore_sqlview`` function * Solved the Bug `#73 `_ and `#69 `_ * ``create_layergroup`` function added * ``update_layergroup`` function added * ``delete_layergroup`` function added * Added layer and workspace checks to layergroup methods ``[V2.1.2 - 2021-10-14]`` ^^^^^^^^^^^^^^^^^^^^^^^^^ * ``create_featurestore`` bug on Expose primary key fixed close #56. * ``create_featurestore`` will now support all the options from geoserver. ``[V2.0.0 - 2021-08-14]`` ^^^^^^^^^^^^^^^^^^^^^^^^^^ * Expose primary key option for datastore in ``create_featurestore`` function * Time dimention support for the coverage store * Bug fixing for the ``.tiff`` datastore * Added the request.content to error messages in order to get more information about error ``[V2.0.0 - 2021-05-28]`` ^^^^^^^^^^^^^^^^^^^^^^^^^^ * Fully replaced the `pycurl `_ dependency with `request` and `psycopg2 `_ * Dropped the PostgreSQL functionalities (deleted ``geo/Postgres.py`` file). I think the functionalities of PostgreSQL is outside the scope of this library. So I initiated the seperated library `postgres-helper `_ * Documentation adjustments * The ``overwrite`` options removed from ``create_coveragestore``, ``create_coveragestyle`` and other style functions ``[V1.6.0 - 2021-04-13]`` ^^^^^^^^^^^^^^^^^^^^^^^^^^ * Documentation adjustments (bunch of Sphinx-docs formatting fixes and English corrections) * Add black and pre-commit * ``create_coveragestore`` function parameter name ``lyr_name`` changed to ``layer_name`` * Pytest examples, docstrings and typed calls added ``[V1.5.2] - 2020-11-03`` ^^^^^^^^^^^^^^^^^^^^^^^^^ * **1. create_datastore** This function can create the datastore from `.shp`, `.gpkg`, WFS url and directory containing `.shp`. * **2. create_shp_datastore** This function will be useful for uploading the shapefile and publishing the shapefile as a layer. This function will upload the data to the geoserver ``data_dir`` in ``h2`` database structure and publish it as a layer. * Update on docs