Package nz.org.riskscape.engine.output
Class ShapefileFormat
java.lang.Object
nz.org.riskscape.engine.output.BaseFormat<T>
nz.org.riskscape.engine.output.BaseShapefileFormat<Object>
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.WriterOptions -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class nz.org.riskscape.engine.output.BaseShapefileFormat
newWriterMethods inherited from class nz.org.riskscape.engine.output.BaseFormat
bindWriterOptions, canEqual, containsGeometry, equals, getCharacteristics, getExtension, getId, getMediaType, getParameterClass, getWriterConstructor, getWriterParameters, hashCode, toString, validateWriterOptionsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface nz.org.riskscape.engine.Identified
getIdentifiedClass
-
Field Details
-
ID
- See Also:
-
-
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.output.PipelineJobContext context) throws IOException - Specified by:
getWriterin classBaseShapefileFormat<Object>- Throws:
IOException
-