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

public class ShapefileFormat extends BaseShapefileFormat
  • Nested Class Summary

    Nested classes/interfaces inherited from interface nz.org.riskscape.engine.output.Format

    nz.org.riskscape.engine.output.Format.Characteristics
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    ShapefileFormat(boolean prjSingleLine)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected nz.org.riskscape.engine.output.RiskscapeWriter
    getWriter(nz.org.riskscape.engine.types.Struct type, File saveTo, nz.org.riskscape.engine.pipeline.ExecutionContext context)
     

    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 class BaseShapefileFormat
      Throws:
      IOException