261 | | This function construct the WKT strings representing the geometries grouping pixels of a raster having the same value. It does not directly construct geometries and therefore prevent WKT Raster from having to link with liblwgeom.a (see "Why avoid to link with PostGIS?" below) |
| 261 | This function construct the WKT strings representing the geometries grouping pixels of a raster having the same value. It does not directly construct geometries and therefore prevent WKT Raster from having to link with liblwgeom.a (see "Why avoid to link with PostGIS?" below) It should also return the value associated with this WKT polygon. |
| 262 | |
| 263 | Ways to return 2 values from a function: |
| 264 | |
| 265 | Functions with Output Parameters |
| 266 | |
| 267 | CREATE FUNCTION sum_n_product (x int, y int, OUT sum int, OUT product int)[[BR]] |
| 268 | AS 'SELECT $1 + $2, $1 * $2'[[BR]] |
| 269 | LANGUAGE SQL; |
| 270 | |