Useful for building new rasters from existing rasters. ST_Band - Returns one or more bands of an existing raster as a new raster. ST_AsRaster - Converts a PostGIS geometry to a PostGIS raster. If no index is specified, the band is added to the end. Returns a raster with the new band(s) of given type added with given initial value in the given index location. The grid and the Z-value of the points as the surface elevation.Ĭhange the SRID of all rasters in the user-specified column and table.Ĭreate an reduced resolution version of a given raster coverage. Of 3-d points, using the X- and Y-values to position the points on ST_InterpolateRaster - Interpolates a gridded surface based on an input set Only those formats with can_write=True can be used by ST_AsGDALRaster ST_Contour - Generates a set of vector contours from the provided rasterīand, using the GDAL contouring algorithm. ST_GDALDrivers - Returns a list of raster formats supported by PostGIS through GDAL. PostGIS_Raster_Lib_Version - Reports full raster version and build configuration PostGIS_Raster_Lib_Build_Date - Reports full raster library build date. PostGIS_GDAL_Version - Reports the version of the GDAL library in use by PostGIS. DropOverviewConstraints - Untag a raster column from being an overview of another. AddOverviewConstraints - Tag a raster column as being an overview of another. Useful if you need to reload data or update your raster column data. DropRasterConstraints - Drops PostGIS raster constraints that refer to a raster table column. Returns true if the constraint setting was accomplished and issues a notice otherwise. ![]() The table must be loaded with data for the constraints to be inferred. 'EFCF9FBFDFEFEFDFCFAFEFEFE04004E627AADD16076B4F9FE6370A9F5FE59637AB0E54F58617087040046566487A1506CA2E3FA5A6CAFFBFE4D566DA4CB3E454C5665')::raster) ĪddRasterConstraints - Adds raster constraints to a loaded raster table for a specific column that constrains spatial ref, scaling, blocksize, alignment, bands, band type and a flag to denote if raster column is regularly blocked. Raster: 5 x 5 pixels, 3 bands, PT_8BUI pixel type, NODATA = 0 Raster is a new PostGIS type for storing and analyzing raster data.įor loading rasters from raster files please refer to Section 11.1, “Loading and Creating Rasters”įor the examples in this reference we will be using a raster table of dummy rasters - Formed with the following code CREATE TABLE dummy_rast(rid integer, rast raster) There are other functions which are required supportįunctions to the raster objects which are not of use to a general Likely to need and which are currently available in PostGIS Raster. The functions given below are the ones which a user of PostGIS Raster is Raster and Raster Band Spatial Relationships 12.18. Raster Processing: Raster to Geometry 12.16. Raster Processing: DEM (Elevation) 12.15. Built-in Map Algebra Callback Functions 12.14. ![]() Raster Band Statistics and Analytics 12.10.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |