public class ShapefileStore extends Object implements FeatureStore
| Constructor and Description |
|---|
ShapefileStore(String basepath,
String fileName,
String crs,
org.opengis.feature.simple.SimpleFeatureType type) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFeature(org.opengis.feature.simple.SimpleFeature feature) |
void |
commit() |
String |
getCrs() |
org.geotools.feature.simple.SimpleFeatureBuilder |
getFeatureBuilder() |
List<org.opengis.feature.simple.SimpleFeature> |
getFeatures() |
org.opengis.feature.simple.SimpleFeatureType |
getFeatureType() |
String |
getFullPath() |
com.vividsolutions.jts.geom.GeometryFactory |
getGeometryFactory() |
void |
setCrs(String crs) |
void |
setFeatureBuilder(org.geotools.feature.simple.SimpleFeatureBuilder featureBuilder) |
void |
setFeatures(List<org.opengis.feature.simple.SimpleFeature> features) |
void |
setFeatureType(org.opengis.feature.simple.SimpleFeatureType featureType) |
void |
setFullPath(String fullPath) |
void |
setGeometryFactory(com.vividsolutions.jts.geom.GeometryFactory geometryFactory) |
public void addFeature(org.opengis.feature.simple.SimpleFeature feature)
addFeature in interface FeatureStorepublic void commit()
throws Exception
commit in interface FeatureStoreExceptionpublic String getFullPath()
public void setFullPath(String fullPath)
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 List<org.opengis.feature.simple.SimpleFeature> getFeatures()
public void setFeatures(List<org.opengis.feature.simple.SimpleFeature> features)
Copyright © 2017. All Rights Reserved.