A SpatiaLite Workspace connects to a SpatiaLite database.
SpatiaLite spatialite = new SpatiaLite("db.sqlite", "databases")
Modifiers | Name | Description |
---|---|---|
static class |
SpatiaLite.Factory |
The SpatiaLite WorkspaceFactory |
Constructor and description |
---|
SpatiaLite
(java.lang.String name, java.io.File dir) Create a new SpatiaLite Workspace from a name and directory |
SpatiaLite
(java.lang.String name, java.lang.String dir) Create a new SpatiaLite Workspace from a name and directory |
SpatiaLite
(JDBCDataStore ds) Create a new SpatiaLite Workspace from a GeoTools JDBCDataStore |
Type Params | Return Type | Name and description |
---|---|---|
|
java.lang.String |
getFormat() Get the format |
Methods inherited from class | Name |
---|---|
class Database |
createIndex, createIndex, createView, deleteIndex, deleteView, getDataSource, getIndexes, getSql, remove |
class Workspace |
add, add, close, create, create, get, getAt, getFormat, getLayers, getNames, getParameters, getWorkspace, getWorkspace, getWorkspaceNames, getWorkspaceParameters, has, readFeatures, remove, remove, withWorkspace, withWorkspace, withWorkspace, wrap |
Create a new SpatiaLite Workspace from a name and directory
name
- The name of the databasedir
- The File directory containing the databaseCreate a new SpatiaLite Workspace from a name and directory
name
- The name of the databasedir
- The directory name containing the databaseCreate a new SpatiaLite Workspace from a GeoTools JDBCDataStore
ds
- The GeoTools JDBCDataStore