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
-
Constructor Summary
-
Method Summary
Methods inherited from class nz.org.riskscape.engine.output.BaseShapefileFormat
getWriterConstructor
Methods inherited from class nz.org.riskscape.engine.output.BaseFormat
canEqual, containsGeometry, equals, getCharacteristics, getExtension, getId, getMediaType, hashCode, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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:
getWriter
in classBaseShapefileFormat
- Throws:
IOException
-