stvds_metadata_table.sql 2.1 KB

1234567891011121314151617181920212223242526272829
  1. --#############################################################################
  2. -- This SQL script generates the space time vector dataset metadata table.
  3. --
  4. -- Author: Soeren Gebbert soerengebbert <at> googlemail <dot> com
  5. --#############################################################################
  6. CREATE TABLE stvds_metadata (
  7. id VARCHAR NOT NULL, -- Name of the space-time vector dataset, this is the primary key
  8. vector_register VARCHAR,-- The id of the table in which the vector maps are registered for this dataset
  9. number_of_maps INTEGER, -- The number of registered vector maps
  10. title VARCHAR, -- Title of the space-time vector dataset
  11. description VARCHAR, -- Detailed description of the space-time vector dataset
  12. command VARCHAR, -- The command that was used to create the space time vector dataset
  13. points INTEGER, -- The number of points accumulated from all registered maps
  14. lines INTEGER, -- The number of lines accumulated from all registered maps
  15. boundaries INTEGER, -- The number of boundaries accumulated from all registered maps
  16. centroids INTEGER, -- The number of centroids accumulated from all registered maps
  17. faces INTEGER, -- The number of faces accumulated from all registered maps
  18. kernels INTEGER, -- The number of kernels accumulated from all registered maps
  19. primitives INTEGER, -- All primitives accumulated (points, lines,boundaries,centroids,faces,kernels)
  20. nodes INTEGER, -- Number of nodes accumulated from all registered maps (topological information)
  21. areas INTEGER, -- The number of areas accumulated from all registered maps (topological information)
  22. islands INTEGER, -- The number of islands accumulated from all registered maps (topological information)
  23. holes INTEGER, -- The number of holes accumulated from all registered maps (topological information)
  24. volumes INTEGER, -- The number of volumes accumulated from all registered maps (topological information) -- The command that was used to create the space time raster dataset
  25. PRIMARY KEY (id)
  26. );