obspy.io.kml.core

Keyhole Markup Language (KML) output support in ObsPy

copyright:

The ObsPy Development Team (devs@obspy.org)

license:

GNU Lesser General Public License, Version 3 (https://www.gnu.org/copyleft/lesser.html)

Public Functions

catalog_to_kml_string

Convert a Catalog to a KML string representation.

inventory_to_kml_string

Convert an Inventory to a KML string representation.

Private Functions

Warning

Private functions are mainly for internal/developer use and their API might change without notice.

_get_event_timestamp

Get timestamp information for the event.

_rgba_tuple_to_kml_color_code

Convert tuple of (red, green, blue, alpha) float values (0.0-1.0) to KML hex color code string "aabbggrr".

_write_kml

Write Inventory or Catalog object to a KML file.