Class RsGpkgDataStoreFactory

java.lang.Object
org.geotools.jdbc.JDBCDataStoreFactory
org.geotools.geopkg.GeoPkgDataStoreFactory
nz.org.riskscape.engine.defaults.data.RsGpkgDataStoreFactory
All Implemented Interfaces:
org.geotools.api.data.DataAccessFactory, org.geotools.api.data.DataStoreFactorySpi, org.geotools.util.factory.Factory

public class RsGpkgDataStoreFactory extends org.geotools.geopkg.GeoPkgDataStoreFactory

Extends the base geopackage data store to fix: - riskscape#1291 (geopackage on readonly filesystems) - riskscape#1571 (curved geometry support)

  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.geotools.api.data.DataAccessFactory

    org.geotools.api.data.DataAccessFactory.Param
  • Field Summary

    Fields inherited from class org.geotools.geopkg.GeoPkgDataStoreFactory

    CONTENTS_ONLY, DATABASE, DBTYPE, MEMORY_MAP_SIZE, READ_ONLY

    Fields inherited from class org.geotools.jdbc.JDBCDataStoreFactory

    BATCH_INSERT_SIZE, CALLBACK_FACTORY, DATASOURCE, EVICTOR_TESTS_PER_RUN, EXPOSE_PK, FETCHSIZE, HOST, MAX_OPEN_PREPARED_STATEMENTS, MAXCONN, MAXWAIT, MIN_EVICTABLE_TIME, MINCONN, NAMESPACE, PASSWD, PK_METADATA_TABLE, PORT, SCHEMA, SQL_ON_BORROW, SQL_ON_RELEASE, TEST_WHILE_IDLE, TIME_BETWEEN_EVICTOR_RUNS, USER, VALIDATECONN
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.geotools.jdbc.SQLDialect
    createSQLDialect(org.geotools.jdbc.JDBCDataStore dataStore)
     
    protected String
    getJDBCUrl(Map<String,?> params)
     
    void
    setEnableCurvedGeometrySupport(boolean enableCurvedGeometrySupport)
     

    Methods inherited from class org.geotools.geopkg.GeoPkgDataStoreFactory

    createDataSource, createDataSource, createDataStoreInternal, createSQLDialect, getDatabaseID, getDescription, getDriverClassName, getValidationQuery, setBaseDirectory, setSqlLiteConnectTimeout, setupParameters

    Methods inherited from class org.geotools.jdbc.JDBCDataStoreFactory

    canProcess, checkDBType, checkDBType, createDataStore, createNewDataStore, getDisplayName, getImplementationHints, getParametersInfo, isAvailable

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RsGpkgDataStoreFactory

      public RsGpkgDataStoreFactory()
  • Method Details

    • getJDBCUrl

      protected String getJDBCUrl(Map<String,?> params) throws IOException
      Overrides:
      getJDBCUrl in class org.geotools.geopkg.GeoPkgDataStoreFactory
      Throws:
      IOException
    • createSQLDialect

      protected org.geotools.jdbc.SQLDialect createSQLDialect(org.geotools.jdbc.JDBCDataStore dataStore)
      Overrides:
      createSQLDialect in class org.geotools.geopkg.GeoPkgDataStoreFactory
    • setEnableCurvedGeometrySupport

      public void setEnableCurvedGeometrySupport(boolean enableCurvedGeometrySupport)