obspy.io.shapefile - ESRI shapefile write support

This module provides write support for the ESRI shapefile format.

Write support works via the ObsPy plugin structure for Catalog and Inventory:

>>> from obspy import read_inventory, read_events
>>> inv = read_inventory()  # load example data
>>> inv.write("my_stations.shp", format="SHAPEFILE")  
>>> cat = read_events()  # load example data
>>> cat.write("my_events.shp", format="SHAPEFILE")  

See also

The format definition can be found here.

copyright:The ObsPy Development Team (devs@obspy.org)
license:GNU Lesser General Public License, Version 3 (https://www.gnu.org/copyleft/lesser.html)