Class ShapefileZipFormat

java.lang.Object
nz.org.riskscape.engine.output.BaseFormat<ShapefileZipFormat.Options>
nz.org.riskscape.engine.output.ShapefileZipFormat
All Implemented Interfaces:
nz.org.riskscape.engine.Identified, nz.org.riskscape.engine.output.Format

public class ShapefileZipFormat extends nz.org.riskscape.engine.output.BaseFormat<ShapefileZipFormat.Options>

An output format that produces a shapefile in a zip bundle.

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
     
    static class 
     

    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
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
    A custom mime type for the zipped shapefile.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected nz.org.riskscape.problem.ResultOrProblems<? extends nz.org.riskscape.engine.output.RiskscapeWriter>
    newWriter(nz.org.riskscape.engine.output.PipelineJobContext context, nz.org.riskscape.engine.types.Struct type, nz.org.riskscape.engine.resource.CreateHandle handle, ShapefileZipFormat.Options options)
     

    Methods inherited from class nz.org.riskscape.engine.output.BaseFormat

    bindWriterOptions, canEqual, containsGeometry, equals, getCharacteristics, getExtension, getId, getMediaType, getParameterClass, getWriterConstructor, getWriterParameters, hashCode, toString, validateWriterOptions

    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
  • Field Details

    • ID

      public static final String ID
      See Also:
    • MEDIA_TYPE

      public static final String MEDIA_TYPE

      A custom mime type for the zipped shapefile.

      This will allow the platform to distinguish these files as being map files (rather than generic zip bundles).

      See Also:
  • Constructor Details

    • ShapefileZipFormat

      public ShapefileZipFormat()
  • Method Details

    • newWriter

      protected nz.org.riskscape.problem.ResultOrProblems<? extends nz.org.riskscape.engine.output.RiskscapeWriter> newWriter(nz.org.riskscape.engine.output.PipelineJobContext context, nz.org.riskscape.engine.types.Struct type, nz.org.riskscape.engine.resource.CreateHandle handle, ShapefileZipFormat.Options options)
      Specified by:
      newWriter in class nz.org.riskscape.engine.output.BaseFormat<ShapefileZipFormat.Options>