Map

Visualize DwC data easily on maps.

pydwcviz.map.points(df, crs='epsg:4326', figsize=(20, 10))

Generate a point map from DwC data

Parameters
  • df – [DataFrame] A DwC data DataFrame with at least decimalLongitude, and decimalLatitude as column labels

  • crs – [String] Define the CRS for the map

  • figsize – [Tuple] Define the figsize of the plot

Returns

A Matplotlib Axes Object

Usage:

from pyobis import occurrences
from pydwcviz import map

ax = map.points(occurrences.search(scientificname = "Mola mola").execute())
plt.show()