Class VectorWriter

java.lang.Object
org.hortonmachine.gears.libs.modules.HMModel
org.hortonmachine.modules.VectorWriter

public class VectorWriter extends org.hortonmachine.gears.libs.modules.HMModel
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
    org.geotools.data.simple.SimpleFeatureCollection
     
     

    Fields inherited from class org.hortonmachine.gears.libs.modules.HMModel

    doProcess, doReset, gf, pm
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    static void
    writeVector(String path, org.geotools.data.simple.SimpleFeatureCollection featureCollection)
     

    Methods inherited from class org.hortonmachine.gears.libs.modules.HMModel

    checkCancel, checkFileExists, checkNull, checkWorkingFolderInPath, concatOr, dumpRaster, dumpVector, getDefaultThreadsNum, getRaster, getVector, help, isCanceled, template

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • inVector

      public org.geotools.data.simple.SimpleFeatureCollection inVector
    • pType

      public String pType
    • file

      public String file
  • Constructor Details

    • VectorWriter

      public VectorWriter()
  • Method Details

    • process

      public void process() throws Exception
      Throws:
      Exception
    • writeVector

      public static void writeVector(String path, org.geotools.data.simple.SimpleFeatureCollection featureCollection) throws Exception
      Throws:
      Exception