Using the java ddl generation utility¶
Call Syntax:
java -jar gt-imagemosaicjdbc ddl -config URLOrFileName -spatialTNPrefix spatialTNPrefix [-tileTNPrefix tileTNPrefix]
[-pyramids pyramids] -statementDelim statementDelim [-srs srs ] -targetDir
Options:
-configThe URL or the file name of your XML configuration-spatialTNPrefixThe Prefix of the spatial tables. A prefix of “SPAT” results in tables SPAT_0,SPAT_1,….-tileTNPrefixThe Prefix of the tile tables. Only needed if you plan to store image data in a separate table.
-pyramidsNumber of pyramid tables
-statementDelimThe SQL statement delimiter used in the scripts
-srsThe SRS needed for a spatial extension. Not required for universal and MySQL.
-targetDirThe directory where to put the script templates.
Generated Scripts¶
createmeta.sqlThe create table statement for the meta table
dropmeta.sqlThe drop table statement for the meta tableadd_<coverage_name>.sqlAll statements for adding a coverage named <coverage_name> (taken from the configuration)remove_<coverage_name>.sqlAll statements for removing a coverage named <coverage_name> (taken from the configuration )