Changes between Version 181 and Version 182 of WKTRaster/SpecificationWorking03


Ignore:
Timestamp:
11/29/11 14:19:10 (13 years ago)
Author:
pracine
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • WKTRaster/SpecificationWorking03

    v181 v182  
    527527== '''Objective FV.22 - Making raster_columns and raster_overview as views''' ==
    528528
    529  Following the conversion of geometry_columns to a view in PostGIS, it is planned to do the same with raster_column and raster_overview for the raster part. Converting to a view has a number of advantages:
     529Following the conversion of geometry_columns to a view in PostGIS, it is planned to do the same with raster_column and raster_overview for the raster part. Converting to a view has a number of advantages:
    530530
    531531 * The raster_column view rows will always be in synch with the existing list raster columns
    532532 * All the information will be trustworthy because it will be enforced by constraints, so people can't change the band types etc... without changing the constraints. The raster_columns information will always be null (if the constraint does not apply) or correct.
    533533
    534  PostGIS is using the typmod feature of PostgreSQL to 'store' metadata about a table and then display them in the geometry_column view. Unfortunately the typmod is limited to XXX byte and there is too much information to 'store' about a raster table to use typmod. PostGIS raster will therefore use another approch consisting in 'store' metadata about a raster table as constraint on the table. A set of constraint will be applied to a raster table and those constraint will be read and displayed by the raster_column view.
    535 
    536  The major changes concerning the raster_column table are as follow:
     534PostGIS is using the typmod feature of PostgreSQL to 'store' metadata about a table and then display them in the geometry_column view. Unfortunately the typmod is limited to XXX byte and there is too much information to 'store' about a raster table to use typmod. PostGIS raster will therefore use another approch consisting in 'store' metadata about a raster table as constraint on the table. A set of constraint will be applied to a raster table and those constraint will be read and displayed by the raster_column view.
     535
     536The major changes concerning the raster_column table are as follow:
    537537
    538538 * There will be a flexible ApplyRasterConstraint() function trying to apply a set of constraint on a table. As for any constraint, the constraints will be successfully applied only when all the rows of the table fulfil the constraint.
     
    544544 * The raster_column will derive columns of metadata from the constraints applied to each table listed. When a constraint could not be applied successfully to the table, the column for this table will be null.
    545545
    546  The major changes concerning the raster_column table are as follow:
     546The major changes concerning the raster_column table are as follow:
    547547
    548548 * We will provide two functions to support the creation of the raster_overview view and application of two additional constraints specific to overviews (ApplyOverviewConstraints) and a function for creating overviews (ST_CreateOverview()).
     
    553553
    554554 * We are working on a new C importer to get rid of any Python, Numpy and Python GDAL binding dependency.
     555
    555556 * This new importer will NOT have any option to create the raster_overview view, nor to create overview tables. We think that it is more important to be able to create overview in SQL as a post process query so overviews can be updated/recreated when rasters tiles are edited, added or deleted.
     557
    556558 * We will stop supporting the old raster2pgsql.py which was creating overview tables and filling the raster_overview table. It will be available in the script/python folder for people wishing to create overviews after a slight modification.
    557559
    558560
    559  '''More Details'''
     561'''More Details'''
    560562
    561563----