obspy.clients.seishub.client._EventMapperClient.save_kml

_EventMapperClient.save_kml(filename, overwrite=False, **kwargs)[source]

Posts an event.get_list() and writes the results as a KML file. For optional arguments, see help for get_list() and get_kml()

Parameters:
  • filename (str) Filename (complete path) to save KML to.
  • overwrite (bool) Overwrite existing file, otherwise if file exists an Exception is raised.
  • nolabels (bool) Hide labels of events in KML. Can be useful with large data sets.
Return type:

str

Returns:

String containing KML information of all matching events. This string can be written to a file and loaded into e.g. Google Earth.