public class B3pShapeWriter extends Object
| Constructor and Description |
|---|
B3pShapeWriter()
Deprecated.
Creates a new instance of B3pShapeWriter
|
B3pShapeWriter(String folder)
Deprecated.
Create a new ShapeWriter.
|
| Modifier and Type | Method and Description |
|---|---|
org.opengis.feature.type.AttributeDescriptor |
changeGeometryBinding(org.opengis.feature.type.GeometryDescriptor gd,
Class geomBinding)
Deprecated.
|
org.opengis.feature.simple.SimpleFeatureType |
changeGeometryBinding(org.opengis.feature.simple.SimpleFeatureType ft,
Class geomBinding)
Deprecated.
|
String |
getFolder()
Deprecated.
|
void |
setFolder(String folder)
Deprecated.
|
List |
writeShape(org.geotools.feature.DefaultFeatureCollection fc,
String shpName,
Boolean spatialIndex)
Deprecated.
Writes a FeatureCollection to shape using the folder and the given name
|
List |
writeShape(org.locationtech.jts.jump.feature.FeatureCollection fc,
String shpName)
Deprecated.
Use the writeShape with a GeoTools FeatureCollection
|
List |
writeToShape(org.locationtech.jts.jump.feature.FeatureCollection fcAll,
String filename)
Deprecated.
use StreamingShapeWriter instead.
|
List |
writeToShape(org.geotools.feature.FeatureCollection fcAll,
String filename,
Boolean spatialIndex)
Deprecated.
writes the featurecollection to shapefiles.
|
public B3pShapeWriter()
public B3pShapeWriter(String folder)
folder - the full path of the folder thats going to contain the shape files..public List writeToShape(org.locationtech.jts.jump.feature.FeatureCollection fcAll, String filename) throws org.locationtech.jts.jump.io.IllegalParametersException, Exception
org.locationtech.jts.jump.io.IllegalParametersExceptionExceptionpublic List writeToShape(org.geotools.feature.FeatureCollection fcAll, String filename, Boolean spatialIndex) throws org.locationtech.jts.jump.io.IllegalParametersException, Exception
org.locationtech.jts.jump.io.IllegalParametersExceptionExceptionpublic org.opengis.feature.simple.SimpleFeatureType changeGeometryBinding(org.opengis.feature.simple.SimpleFeatureType ft,
Class geomBinding)
public org.opengis.feature.type.AttributeDescriptor changeGeometryBinding(org.opengis.feature.type.GeometryDescriptor gd,
Class geomBinding)
public List writeShape(org.geotools.feature.DefaultFeatureCollection fc, String shpName, Boolean spatialIndex) throws IOException
fc - The feature collection (CAN'T have different types)shpName - the name of the shape file.IOExceptionpublic List writeShape(org.locationtech.jts.jump.feature.FeatureCollection fc, String shpName) throws org.locationtech.jts.jump.io.IllegalParametersException, Exception
fc - The feature collection (CAN'T have different types)shpName - the name of the shape file.org.locationtech.jts.jump.io.IllegalParametersExceptionExceptionpublic String getFolder()
public void setFolder(String folder)
Copyright © 2021 B3Partners B.V.. All rights reserved.