From: Regina Obe Date: Sun, 11 Apr 2010 22:45:50 +0000 (+0000) Subject: Add management functions section X-Git-Tag: 2.0.0alpha1~3048 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c6a2bad3f60441247052850d8a288e144f9de289;p=postgis Add management functions section git-svn-id: http://svn.osgeo.org/postgis/trunk@5527 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/reference_wktraster.xml b/doc/reference_wktraster.xml index 62b251c78..7d896201d 100644 --- a/doc/reference_wktraster.xml +++ b/doc/reference_wktraster.xml @@ -45,7 +45,320 @@ VALUES (1, '41000000007719564100000000000000000000000000000000FFFFFFFF050005000400FDFEFDFEFEFDFEFEFDF9FAFEF' || 'EFCF9FBFDFEFEFDFCFAFEFEFE04004E627AADD16076B4F9FE6370A9F5FE59637AB0E54F58617087040046566487A1506CA2E3FA5A6CAFFBFE4D566DA4CB3E454C5665')::raster); - + + Raster Management Functions + + + AddRasterColumn + + Adds a raster column to an existing table and generates column constraints on the new column. + + + + + + text AddRasterColumn + + varchar + table_name + + varchar + column_name + + integer + srid + + varchar[] + pixel_types + + boolean + out_db + + boolean + regular_blocking + + double precision[] + no_data_values + + double precision + pixelsize_x + + double precision + pixelsize_y + + integer + blocksize_x + + integer + blocksize_y + + geometry + envelope + + + + text AddRasterColumn + varchar + schema_name + + varchar + table_name + + varchar + column_name + + integer + srid + + varchar[] + pixel_types + + boolean + out_db + + boolean + regular_blocking + + double precision[] + no_data_values + + double precision + pixelsize_x + + double precision + pixelsize_y + + integer + blocksize_x + + integer + blocksize_y + + geometry + envelope + + + + text AddRasterColumn + + varchar + catalog_name + + varchar + schema_name + + varchar + table_name + + varchar + column_name + + integer + srid + + varchar[] + pixel_types + + boolean + out_db + + boolean + regular_blocking + + double precision[] + no_data_values + + double precision + pixelsize_x + + double precision + pixelsize_y + + integer + blocksize_x + + integer + blocksize_y + + geometry + envelope + + + + + + Description + + Adds a raster column to an existing table and also generates constraints on the new column. the constraints generated constrict the SRID, and band pixel types of the new raster column. + The schema_name is the name of the table schema (unused + for pre-schema PostgreSQL installations). The srid + must be an integer value reference to an entry in the SPATIAL_REF_SYS + table. The pixel_types must be an array of pixel types as described in , one for each band. + An error is thrown if the schemaname doesn't exist + (or not visible in the current search_path) or the specified SRID, + pixel types are invalid. + + + Views and derivatively created spatial tables will need to be registered in raster_columns manually, + since AddRasterColumn also adds a raster column which is not needed when you already have a raster column. + + + + + + Examples + + + + + + + See Also + + , , + + + + + + DropRasterColumn + + Removes a raster column from a table. + + + + + + text DropRasterColumn + + varchar + table_name + + varchar + column_name + + + + text DropRasterColumn + + varchar + schema_name + + varchar + table_name + + varchar + column_name + + + + text DropRasterColumn + + varchar + catalog_name + + varchar + schema_name + + varchar + table_name + + varchar + column_name + + + + + + Description + + Removes a raster column from a table. Note that + schema_name will need to match the r_table_schema field of the table's + row in the raster_columns table. + + + + Examples + + + SELECT DropRasterColumn ('my_schema','my_raster_table','rast'); + ----RESULT output --- + my_schema.my_raster_table.rast effectively removed. + + + + See Also + + , + + + + + + DropRasterTable + + Drops a table and all its references in + raster_columns. + + + + + + text DropRasterTable + + varchar + table_name + + + + text DropRasterTable + + varchar + schema_name + + varchar + table_name + + + + text DropRasterTable + varchar + catalog_name + varchar + schema_name + varchar + table_name + + + + + + Description + + Drops a table and all its references in raster_columns. Note: + uses current_schema() on schema-aware pgsql installations if schema is + not provided. + + + + Examples + + + SELECT DropRasterTable ('my_schema','my_raster_table'); + ----RESULT output --- + my_schema.my_raster_table dropped. + + + + See Also + + , + + + + + + Raster Constructors