Skip to content

Commit

Permalink
Update how_to_use.rst
Browse files Browse the repository at this point in the history
updated docs with mention of newly optional gdal dep
  • Loading branch information
iboates authored Jan 21, 2025
1 parent 0e28339 commit 819168b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/source/how_to_use.rst
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,8 @@ Before uploading ``SLD`` file, please check the version of your sld file. By def
Creating and applying dynamic styles based on the raster coverages
------------------------------------------------------------------

**WARNING:** As of version 2.9.0, the required dependency ``gdal`` was converted into an optional dependency. Fresh installations of this library will require that you then install ``gdal`` yourself with ``pip install gdal``.

It is used to create the style file for raster data. You can get the ``color_ramp`` name from `matplotlib colormaps <https://matplotlib.org/3.3.0/tutorials/colors/colormaps.html>`_. By default ``color_ramp='RdYlGn'`` (red to green color ramp).

.. code-block:: python
Expand Down

0 comments on commit 819168b

Please sign in to comment.