Skip to content

Commit

Permalink
readme add maps to it
Browse files Browse the repository at this point in the history
  • Loading branch information
sckott committed Jan 25, 2019
1 parent 5c4e710 commit 30e6487
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions README.rst
Expand Up @@ -32,11 +32,10 @@ Development version
* Registry - Datasets, Nodes, Installations, Networks, Organizations
* Species - Taxonomic names
* Occurrences - Occurrence data, including the download API
* Maps - Maps, get raster maps from GBIF as png or mvt

You can import the entire library, or each module individually as needed.

Note that `GBIF maps API <http://www.gbif.org/developer/maps>`_ is not included in `pygbif`.

In addition there is a utils module, currently with one method: `wkt_rewind`

Registry module
Expand Down Expand Up @@ -114,6 +113,28 @@ Example usage:
occ.download_meta(key = "0000099-140929101555934")
occ.download_get("0000066-140928181241064")
Maps module
===========

maps module API:

* `map`

Example usage:

.. code-block:: python
from pygbif import maps
out = maps.map(taxonKey = 212, year = 1998, bin = "hex",
hexPerTile = 30, style = "classic-noborder.poly")
out.response
out.path
out.img
out.plot()
.. image:: gbif_map.png


utils module
============

Expand Down
Binary file modified docs/_build/doctrees/environment.pickle
Binary file not shown.
Binary file added gbif_map.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 30e6487

Please sign in to comment.