Changes between Version 77 and Version 78 of WKTRaster/SpecificationWorking01
- Timestamp:
- 12/18/09 08:08:31 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TabularUnified WKTRaster/SpecificationWorking01
v77 v78 261 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 262 263 Ways to return 2 values from a function:264 265 Functions with Output Parameters 263 Ways for a pg/plSQL function to return many columns: 264 265 Functions with Output Parameters (PgSQL doc 34.4.3): 266 266 267 267 CREATE FUNCTION sum_n_product (x int, y int, OUT sum int, OUT product int)[[BR]] … … 269 269 LANGUAGE SQL; 270 270 271 Ways for a pg/plSQL function to return many rows: 271 272 272 273 It should be implemented by passing the raster to GDAL and convert each polygon produced by the [http://www.gdal.org/gdal__alg_8h.html GDALPolygonize function] to a WKT string.