public class GeoJsonStore extends Object implements FeatureStore
| Constructor and Description |
|---|
GeoJsonStore(String crs) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFeature(org.opengis.feature.simple.SimpleFeature feature) |
void |
commit() |
static org.opengis.feature.simple.SimpleFeatureType |
createFeatureType() |
String |
getCrs() |
org.geotools.feature.simple.SimpleFeatureBuilder |
getFeatureBuilder() |
org.opengis.feature.simple.SimpleFeatureType |
getFeatureType() |
FileWriterI |
getFileWriter() |
com.vividsolutions.jts.geom.GeometryFactory |
getGeometryFactory() |
void |
setCrs(String crs) |
void |
setFeatureBuilder(org.geotools.feature.simple.SimpleFeatureBuilder featureBuilder) |
void |
setFeatureType(org.opengis.feature.simple.SimpleFeatureType featureType) |
void |
setFileWriter(FileWriterI fileWriter) |
void |
setGeometryFactory(com.vividsolutions.jts.geom.GeometryFactory geometryFactory) |
void |
store(String fullDestPath,
List<org.opengis.feature.simple.SimpleFeature> features,
org.opengis.feature.simple.SimpleFeatureType simpleFeatureType) |
public String getCrs()
public void setCrs(String crs)
public com.vividsolutions.jts.geom.GeometryFactory getGeometryFactory()
getGeometryFactory in interface FeatureStorepublic void setGeometryFactory(com.vividsolutions.jts.geom.GeometryFactory geometryFactory)
public org.opengis.feature.simple.SimpleFeatureType getFeatureType()
public void setFeatureType(org.opengis.feature.simple.SimpleFeatureType featureType)
public org.geotools.feature.simple.SimpleFeatureBuilder getFeatureBuilder()
getFeatureBuilder in interface FeatureStorepublic void setFeatureBuilder(org.geotools.feature.simple.SimpleFeatureBuilder featureBuilder)
public FileWriterI getFileWriter()
public void setFileWriter(FileWriterI fileWriter)
public void addFeature(org.opengis.feature.simple.SimpleFeature feature)
addFeature in interface FeatureStorepublic void commit()
throws Exception
commit in interface FeatureStoreExceptionpublic static org.opengis.feature.simple.SimpleFeatureType createFeatureType()
throws Exception
ExceptionCopyright © 2018. All Rights Reserved.