Package nz.org.riskscape.engine.output
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 Summary
Modifier and TypeFieldDescriptionThese are the standard KML data fields that could potentially be set from RiskScape data.static final String
-
Method Summary
-
Field Details
-
KML_NAMESPACE
- See Also:
-
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 classnz.org.riskscape.engine.output.RiskscapeWriter
-
close
- Throws:
IOException
-
getStoredAt
- Specified by:
getStoredAt
in classnz.org.riskscape.engine.output.RiskscapeWriter
-