Package nz.org.riskscape.engine.output
Class ShapefileFormat
java.lang.Object
nz.org.riskscape.engine.output.BaseFormat
nz.org.riskscape.engine.output.BaseShapefileFormat
nz.org.riskscape.engine.output.ShapefileFormat
- All Implemented Interfaces:
nz.org.riskscape.engine.Identified,nz.org.riskscape.engine.output.Format
-
Nested Class Summary
Nested classes/interfaces inherited from interface nz.org.riskscape.engine.output.Format
nz.org.riskscape.engine.output.Format.Characteristics, nz.org.riskscape.engine.output.Format.FormatOptions -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class nz.org.riskscape.engine.output.BaseShapefileFormat
getWriterConstructorMethods inherited from class nz.org.riskscape.engine.output.BaseFormat
buildOptions, canEqual, containsGeometry, equals, getCharacteristics, getExtension, getId, getMediaType, getRequiredOptions, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface nz.org.riskscape.engine.output.Format
getWriterOptionsClassMethods inherited from interface nz.org.riskscape.engine.Identified
getIdentifiedClass
-
Constructor Details
-
ShapefileFormat
public ShapefileFormat(boolean prjSingleLine) - Parameters:
prjSingleLine- set this to false to pretty print the WKT in prj files. This is known to break ESRI products, so is off by default. See https://gitlab.catalyst.net.nz/riskscape/riskscape/-/issues/1346 for more details
-
ShapefileFormat
public ShapefileFormat()
-
-
Method Details
-
getWriter
protected nz.org.riskscape.engine.output.RiskscapeWriter getWriter(nz.org.riskscape.engine.types.Struct type, File saveTo, nz.org.riskscape.engine.pipeline.ExecutionContext context) throws IOException - Specified by:
getWriterin classBaseShapefileFormat- Throws:
IOException
-