Changes between Version 46 and Version 47 of WKTRaster/Documentation01


Ignore:
Timestamp:
12/10/09 10:45:38 (15 years ago)
Author:
pracine
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • WKTRaster/Documentation01

    v46 v47  
    351351'''The raster_columns Table'''
    352352
    353 Like the PostGIS "geometry_column" table, the PostGIS WKT Raster "raster_columns" table is a way for applications to get a quick overview of which tables have a raster column, and to get the main characteristics (metadata) of the rasters stored in these columns. Applications should maintain this table using the AddRasterColumn() and DropRasterColumn() functions, as there is no automatic mechanism in the database to keep this table up to date with every raster column created or deleted.
     353Like the PostGIS "geometry_column" table, the PostGIS WKT Raster "raster_columns" table is a way for applications to get a quick overview of which tables have a raster column, and to get the main characteristics (metadata) of the rasters stored in these columns. Applications should maintain this table using the !AddRasterColumn() and !DropRasterColumn() functions, as there is no automatic mechanism in the database to keep this table up to date with every raster column created or deleted.
    354354
    355355Table 3 summarizes the attributes of the raster_columns table.
     
    371371|| '''extent''' || geometry || Polygon geometry encompassing all raster rows of this table. NULL if predefined bounds are not known. When "regular_blocking" is set to true this polygon is a simple rectangle. In other cases it might be an irregular polygon. ||
    372372
     373'''Storing in-db raster or registering out-db raster?'''
     374
     375One of the major PostGIS WKT Raster features is the ability to store raster data in the database or merely register them as external files residing in the filesystem. When registering a raster, only the raster metadata are stored in the database (width, height, number of band, georeference and path to the file), not the values associated with the pixels. Registering is done via the loader’s –R option.
     376
     377 e.g. >gdal2wktraster –r c:/imagesets/landsat/image01.tif –t landsat -R
     378
     379'''Out-db raster''' is targeted at read-only applications. It has the following advantages:
     380
     381 * '''Access Speed -''' Speeds up the reading (and transmission) of web-ready rasters (JPEG, GIF, PNG) files for web applications as there is no need to convert them from the PostGIS raster type to a web friendly format.
     382
     383 * '''Seemless SQL Operators and Functions –''' All the operators and functions (except those involving write operations to the raster like ST_SetValue()) work seamlessly with out-db rasters.
     384
     385 * '''Simplified Backup –''' Rasters residing in the filesystem can be backed up once forever since they are not expected to be edited.
     386
     387 * '''Faster Database Loading –''' Initial table creation is faster since data do not have to be loaded/copied in the database.
     388
     389'''In-db raster''' is targeted at editing and analysis applications. It has the following advantages:
     390
     391 * '''Fast Analysis –''' Analysis operations involving pixel per pixel interpretation (ST_AsPolygon(), ST_Intersections(), etc…) are faster on in-db rasters since there is no need to read and extract the actual data from a JPEG or a TIFF format.
     392
     393 * '''Single storage solution –''' Provide a single vector/raster datasets storage solution. There is no need to backup the raster datasets separately from the vector datasets.
     394
     395 * '''Multi-Users Edition – T'''he database handles concurrent editing on raster only for in-db rasters.
    373396
    374397== '''3.2 - Integration with PostGIS''' ==