Class KmlWriter

java.lang.Object
nz.org.riskscape.engine.output.RiskscapeWriter
nz.org.riskscape.engine.output.KmlWriter
All Implemented Interfaces:
Closeable, AutoCloseable

public class KmlWriter extends nz.org.riskscape.engine.output.RiskscapeWriter

A RiskscapeWriter that writes KML (Keyhole Markup Language)

  • Field Details

    • KML_NAMESPACE

      public static final String KML_NAMESPACE
      See Also:
    • KML_DATA_MEMBERS

      public static final List<String> KML_DATA_MEMBERS

      These are the standard KML data fields that could potentially be set from RiskScape data. They are string fields except for 'visibility' and 'open' which are boolean.

  • Method Details

    • of

      public static nz.org.riskscape.problem.ResultOrProblems<KmlWriter> of(nz.org.riskscape.engine.types.Struct type, nz.org.riskscape.engine.resource.CreateHandle handle, nz.org.riskscape.engine.Project project)
    • write

      public void write(nz.org.riskscape.engine.Tuple input)
      Specified by:
      write in class nz.org.riskscape.engine.output.RiskscapeWriter
    • close

      public void close() throws IOException
      Throws:
      IOException
    • getStoredAt

      public URI getStoredAt()
      Specified by:
      getStoredAt in class nz.org.riskscape.engine.output.RiskscapeWriter