| java.lang.Object org.geotools.data.AbstractDataStore org.geotools.data.ogr.OGRDataStore
OGRDataStore | public class OGRDataStore extends AbstractDataStore (Code) | | A datastore based on the the OGR
spatial data abstraction library
author: aaime |
Constructor Summary | |
public | OGRDataStore(String ogrSourceName, String ogrDriverName, URI namespace) Creates a new OGRDataStore
Parameters: ogrSourceName - a references to the source that needs to be opened. |
FALSE | final static int FALSE(Code) | | C compatible FALSE
|
OGR_GEOM_TYPES | final static Class[] OGR_GEOM_TYPES(Code) | | The OGRwkbGeometryType enum from ogr_core.h, reduced to represent only 2D
classes (I hope the 2.5D will be handled transparently by JTS)
|
TRUE | final static int TRUE(Code) | | C compatible TRUE
|
OGRDataStore | public OGRDataStore(String ogrSourceName, String ogrDriverName, URI namespace) throws IOException(Code) | | Creates a new OGRDataStore
Parameters: ogrSourceName - a references to the source that needs to be opened. May be afile system path, or a database reference. See the OGR driverdocumentation for valid formats of this string. |
createSchema | public void createSchema(FeatureType schema, boolean approximateFields, String[] options) throws IOException(Code) | | Creates a new OGR layer with provided schema and options
Parameters: schema - the geotools schema Parameters: approximateFields - if true, OGR will try to create fields that are approximationsof the required ones when an exact match cannt be provided Parameters: options - OGR data source/layer creation options throws: IOException - |
getOGRDataSource | DataSource getOGRDataSource(int update) throws IOException(Code) | | Tries to open the specified source in either read only or read/write mode
Parameters: update - open read/write if TRUE, otherwise open read only throws: IOException - |
getOGRLayer | Layer getOGRLayer(DataSource ds, String typeName) throws IOException(Code) | | Internal utility method, returns a layer if available, otherwise closes
the provided datasource and throws and exception stating the feature type
is not available
Parameters: ds - Parameters: typeName - throws: IOException - |
Methods inherited from org.geotools.data.AbstractDataStore | protected FeatureWriter createFeatureWriter(String typeName, Transaction transaction) throws IOException(Code)(Java Doc) protected InProcessLockingManager createLockingManager()(Code)(Java Doc) protected Map createMetadata(String typeName)(Code)(Java Doc) public void createSchema(FeatureType featureType) throws IOException(Code)(Java Doc) public void dispose()(Code)(Java Doc) protected Envelope getBounds(Query query) throws IOException(Code)(Java Doc) protected int getCount(Query query) throws IOException(Code)(Java Doc) abstract protected FeatureReader getFeatureReader(String typeName) throws IOException(Code)(Java Doc) public FeatureReader getFeatureReader(Query query, Transaction transaction) throws IOException(Code)(Java Doc) protected FeatureReader getFeatureReader(String typeName, Query query) throws IOException(Code)(Java Doc) public FeatureSource getFeatureSource(String typeName) throws IOException(Code)(Java Doc) protected FeatureWriter getFeatureWriter(String typeName) throws IOException(Code)(Java Doc) public FeatureWriter getFeatureWriter(String typeName, Filter filter, Transaction transaction) throws IOException(Code)(Java Doc) public FeatureWriter getFeatureWriter(String typeName, Transaction transaction) throws IOException(Code)(Java Doc) public FeatureWriter getFeatureWriterAppend(String typeName, Transaction transaction) throws IOException(Code)(Java Doc) public LockingManager getLockingManager()(Code)(Java Doc) abstract public FeatureType getSchema(String typeName) throws IOException(Code)(Java Doc) protected Set getSupportedHints()(Code)(Java Doc) abstract public String[] getTypeNames() throws IOException(Code)(Java Doc) protected Filter getUnsupportedFilter(String typeName, Filter filter)(Code)(Java Doc) public FeatureSource getView(Query query) throws IOException, SchemaException(Code)(Java Doc) public void updateSchema(String typeName, FeatureType featureType)(Code)(Java Doc)
|
|
|