Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkralidis committed May 20, 2023
1 parent a4139ad commit 526a260
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ That's everything needed to make a request for imagery::
>>> out = open('jpl_mosaic_visb.jpg', 'wb')
>>> out.write(img.read())
>>> out.close()
```

A very similar API exists for WebFeatureService. See
tests/wfs_MapServerWFSCapabilities.txt for details.
Expand All @@ -129,6 +130,7 @@ Logging
OWSLib logs messages to the 'owslib' named python logger. You may
configure your application to use the log messages like so:

```python
>>> import logging
>>> owslib_log = logging.getLogger('owslib')
>>> # Add formatting and handlers as needed, for example to log to the console
Expand All @@ -138,12 +140,12 @@ configure your application to use the log messages like so:
>>> # add the handler to the logger
>>> owslib_log.addHandler(ch)
>>> owslib_log.setLevel(logging.DEBUG)
```

Releasing
---------

.. code-block:: bash

```bash
# update version
vi owslib/__init__.py
git commit -m 'update release version' owslib/__init__.py
Expand All @@ -160,9 +162,10 @@ Releasing
rm -fr build dist *.egg-info
python setup.py sdist bdist_wheel --universal
twine upload dist/*
```

Support
-------

https://lists.osgeo.org/mailman/listinfo/owslib-users
https://lists.osgeo.org/mailman/listinfo/owslib-devel
- https://lists.osgeo.org/mailman/listinfo/owslib-users
- https://lists.osgeo.org/mailman/listinfo/owslib-devel

0 comments on commit 526a260

Please sign in to comment.