32 | | 8) Integrate the ST_CreateIndexRaster() plpgsql prototype (do not need to be implemented in C to be fast). |
33 | | |
34 | | 9) Integrate the ST_Tile() plpgsql prototype (do not need to be implemented in C to be fast). |
35 | | |
36 | | 10) Integrate the ST_AreaWeightedSummaryStats() plpgsql prototype (do not need to be implemented in C to be fast). |
37 | | |
38 | | 11) Integrate the ST_SummaryStatsAgg() plpgsql prototype (do not need to be implemented in C to be fast). |
39 | | |
40 | | 12) Add the possibility to interpolate a raster from a geometry layer. |
41 | | |
42 | | 13) Integrate different custom functions, to be used with ST_MapAlgebraFct(), to extract of derive values from a coverage (raster or vector). (e.g. ST_Distance4ma resulting from [http://trac.osgeo.org/postgis/wiki/PostGIS_Raster_SoC_Idea_2012/Distance_Analysis_Tools the GSoC 2012]) (See Objective FV.26 and FV.27 below) |
| 32 | 8) Integrate the [http://trac.osgeo.org/postgis/browser/trunk/raster/scripts/plpgsql/st_createindexraster.sql ST_CreateIndexRaster() plpgsql prototype] (do not need to be implemented in C to be fast). |
| 33 | |
| 34 | 9) Integrate the [http://trac.osgeo.org/postgis/browser/trunk/raster/scripts/plpgsql/st_tile.sql ST_Tile() plpgsql prototype] (do not need to be implemented in C to be fast). |
| 35 | |
| 36 | 10) Integrate the [http://trac.osgeo.org/postgis/browser/trunk/raster/scripts/plpgsql/st_areaweightedsummarystats.sql ST_AreaWeightedSummaryStats() plpgsql prototype] (do not need to be implemented in C to be fast). |
| 37 | |
| 38 | 11) Integrate the [http://trac.osgeo.org/postgis/browser/trunk/raster/scripts/plpgsql/st_summarystatsagg.sql ST_SummaryStatsAgg() plpgsql prototype] (do not need to be implemented in C to be fast) or develop a C Aggregate versions (item 15). |
| 39 | |
| 40 | 12) Add some function interpolating a raster from a geometry layer (See Objective FV.28 below). |
| 41 | |
| 42 | 13) Integrate different custom functions, to be used with ST_MapAlgebraFct(), to extract of derive values from a coverage (raster or vector). (e.g. ST_Distance4ma resulting from [http://trac.osgeo.org/postgis/wiki/PostGIS_Raster_SoC_Idea_2012/Distance_Analysis_Tools the GSoC 2012]) (See Objective FV.27 and FV.28 below) |
| 107 | |
| 108 | |
| 109 | == '''Objective FV.27 - Integrate different custom functions, to be used with ST_MapAlgebraFct(), to extract values from a coverage''' == |
| 110 | |
| 111 | * These are quick to implement ST_MapAlgebraFct() custom functions setting raster pixel values from any king of existing coverage. They all accept the name of the schema, the name of table and the name of raster (or geometry) column from which to extract values. They can also accept additional parameters. |
| 112 | |
| 113 | * One way to organize/classify/make sense all those possible functions goes like this: |
| 114 | |
| 115 | * Functions searching for the pixel value in a raster coverage. This is the same principle as ST_Union() except that the rasters do not have to be aligned (nice advantage!). |
| 116 | |
| 117 | * Functions searching for the pixel value in a vector coverage. This is the same principle as ST_UnionToRaster() and ST_BurnToRaster(). |
| 118 | |
| 119 | * Functions aggregating pixel values from a neighbourhood. This is the same principle as ST_MapAlgebraFctN |
| 120 | |
| 121 | * Functions deriving metric values HERE |
| 122 | |
| 123 | * Some of them, not working on pixel neighbour area, hence only on aligned pixels from overlapping rasters, should eventually be replaced by the optimized version of ST_Union() (itself dependent on the optimized version of ST_MapAlgebra See Objective FV.25 above). Those alternative are less flexible than their future ST_Union alternative in that they only work on a whole table, not on a selection of a table (i.e. they are not aggregates like ST_Union is. One can always create a view on a table to work on a table subset though). |
| 124 | |
| 125 | * Some examples of such custom functions exists: |
| 126 | |
| 127 | * ST_FasterUnion('schemaname', 'tablename', 'rastercolumnname'), an alternative to ST_Union(rast, 'LAST') to merge all the tiles of a table together into a single raster. This function is described [http://geospatialelucubrations.blogspot.fr/2012/07/a-slow-yet-1000x-faster-alternative-to.html here]. this function is dependent on the ST_FirstRasterValue4ma() ST_MapAlgebraFct() custom function. |
| 128 | |
| 129 | * ST_FirstGeomValue4ma() http://postgis.refractions.net/pipermail/postgis-users/2012-April/033875.html |
| 130 | |
| 131 | * Other possible functions: |
| 132 | |
| 133 | * ST_GeomToRaster('schemaname', 'tablename', 'geomolumnname', 'METHOD') - A generalization of ST_FirstGeomValue4ma() described above but accepting more methods of value extraction. |
| 134 | |
| 135 | == '''Objective FV.28 - Add some function interpolating a raster from a geometry layer''' == |