Class OmsShapefileFeatureWriter
- java.lang.Object
-
- org.hortonmachine.gears.libs.modules.HMModel
-
- org.hortonmachine.gears.io.shapefile.OmsShapefileFeatureWriter
-
public class OmsShapefileFeatureWriter extends HMModel
-
-
Constructor Summary
Constructors Constructor Description OmsShapefileFeatureWriter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidwriteEmptyShapefile(String path, org.opengis.feature.simple.SimpleFeatureType schema, IHMProgressMonitor pm)voidwriteFeatureCollection()static voidwriteShapefile(String path, org.geotools.data.simple.SimpleFeatureCollection featureCollection, IHMProgressMonitor pm)-
Methods inherited from class org.hortonmachine.gears.libs.modules.HMModel
checkCancel, checkFileExists, checkNull, checkWorkingFolderInPath, concatOr, dumpRaster, dumpVector, getDefaultThreadsNum, getRaster, getVector, help, isCanceled, template
-
-
-
-
Field Detail
-
geodata
public org.geotools.data.simple.SimpleFeatureCollection geodata
-
file
public String file
-
doIndex
public boolean doIndex
-
pType
public org.opengis.feature.simple.SimpleFeatureType pType
-
-
Method Detail
-
writeFeatureCollection
public void writeFeatureCollection() throws IOException- Throws:
IOException
-
writeShapefile
public static void writeShapefile(String path, org.geotools.data.simple.SimpleFeatureCollection featureCollection, IHMProgressMonitor pm) throws IOException
- Throws:
IOException
-
writeEmptyShapefile
public static void writeEmptyShapefile(String path, org.opengis.feature.simple.SimpleFeatureType schema, IHMProgressMonitor pm) throws IOException
- Throws:
IOException
-
-