str3ds_metadata_table.sql 2.0 KB

1234567891011121314151617181920212223242526272829
  1. --#############################################################################
  2. -- This SQL script generates the space time 3D raster dataset metadata table.
  3. --
  4. -- Author: Soeren Gebbert soerengebbert <at> googlemail <dot> com
  5. --#############################################################################
  6. CREATE TABLE str3ds_metadata (
  7. id VARCHAR NOT NULL, -- Id of the space time 3D raster dataset, this is the primary key
  8. raster3d_register VARCHAR, -- The id of the table in which the 3D raster maps are registered for this dataset
  9. number_of_maps INTEGER, -- The number of registered 3D raster maps
  10. max_min DOUBLE PRECISION, -- The minimal maximum of the registered 3D raster maps
  11. min_min DOUBLE PRECISION, -- The minimal minimum of the registered 3D raster maps
  12. max_max DOUBLE PRECISION, -- The maximal maximum of the registered 3D raster maps
  13. min_max DOUBLE PRECISION, -- The maximal minimum of the registered 3D raster maps
  14. nsres_min DOUBLE PRECISION, -- The lowest north-south resolution of the registered 3D raster maps
  15. nsres_max DOUBLE PRECISION, -- The highest north-south resolution of the registered 3D raster maps
  16. ewres_min DOUBLE PRECISION, -- The lowest east-west resolution of the registered 3D raster maps
  17. ewres_max DOUBLE PRECISION, -- The highest east-west resolution of the registered 3D raster maps
  18. tbres_min DOUBLE PRECISION, -- The lowest top-bottom resolution of the registered 3D raster maps
  19. tbres_max DOUBLE PRECISION, -- The highest top-bottom resolution of the registered 3D raster maps
  20. aggregation_type VARCHAR, -- The aggregation type of the dataset (mean, min, max, ...) set by aggregation modules
  21. title VARCHAR, -- Title of the space time 3D raster dataset
  22. description VARCHAR, -- Detailed description of the space time 3D raster dataset
  23. command VARCHAR, -- The command that was used to create the space time 3D raster dataset
  24. PRIMARY KEY (id)
  25. );