|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectJDBCAccessCustom
JDBCAccessPGRaster
public class JDBCAccessPGRaster
This class is used for JDBC Access to the Postgis raster feature
Field Summary | |
---|---|
protected Map<ImageLevelInfo,String> |
statementMap
Different sql statements needed for in-db and out-db raster data |
Constructor Summary | |
---|---|
JDBCAccessPGRaster(Config config)
|
Method Summary | |
---|---|
ExecutorService |
getExecutorServivicePool()
creates a thread pool |
protected Integer |
getSrsId()
|
protected void |
initFromDB(String coverageName,
Connection con)
Step 1 of the bootstrapping process. |
void |
initialize()
initialze the the JDBCAccess object, has to be called exactly once |
void |
listGDALFormats(Connection con)
List the formats supported by the used gdal library Check from the command line with gdalinfo --formats |
protected Polygon |
polyFromEnvelope(GeneralEnvelope env)
|
void |
startTileDecoders(Rectangle pixelDimension,
GeneralEnvelope requestEnvelope,
ImageLevelInfo levelInfo,
LinkedBlockingQueue<TileQueueElement> tileQueue,
GridCoverageFactory coverageFactory)
startTileDecoders |
Methods inherited from class JDBCAccessCustom |
---|
closeCallableStmt, closeConnection, closePreparedStmt, closeResultSet, closeStmt, getConfig, getConnection, getCRS, getLevelInfo, getLevelInfos, getNumOverviews |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Map<ImageLevelInfo,String> statementMap
Constructor Detail |
---|
public JDBCAccessPGRaster(Config config) throws IOException
config
- Config from XML file passed to this class
IOException
Method Detail |
---|
public void initialize() throws IOException
JDBCAccess
initialize
in interface JDBCAccess
initialize
in class JDBCAccessCustom
IOException
public void startTileDecoders(Rectangle pixelDimension, GeneralEnvelope requestEnvelope, ImageLevelInfo levelInfo, LinkedBlockingQueue<TileQueueElement> tileQueue, GridCoverageFactory coverageFactory) throws IOException
startTileDecoders
in interface JDBCAccess
startTileDecoders
in class JDBCAccessCustom
pixelDimension
- Not Used (passed as per interface requirement)requestEnvelope
- Geographic Envelope of requestinfo
- Pyramid LeveltileQueue
- Queue to place retrieved tile intocoverageFactory
- not used (passed as per interface requirement)
IOException
protected void initFromDB(String coverageName, Connection con) throws SQLException, IOException
coverageName
- the coverage name stored in the sql meta tablecon
- jdbc connection
SQLException
IOException
protected Polygon polyFromEnvelope(GeneralEnvelope env)
env
- GeneralEnvelope
public ExecutorService getExecutorServivicePool()
public void listGDALFormats(Connection con) throws SQLException
gdalinfo --formats
con
-
SQLException
protected Integer getSrsId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |