Changes between Version 96 and Version 97 of WKTRaster/SpecificationWorking03


Ignore:
Timestamp:
Jun 8, 2011, 4:15:57 PM (13 years ago)
Author:
Bborie Park
Comment:

ST_Histogram for coverage tables

Legend:

Unmodified
Added
Removed
Modified
  • WKTRaster/SpecificationWorking03

    v96 v97  
    26702670  right is assumed to be FALSE
    26712671
     2672The following set of function are for coverages.
     2673
     26741. ST_Histogram(rastertable text, rastercolumn text, nband int DEFAULT 1, exclude_nodata_value boolean DEFAULT TRUE, bins int default 0, width double precision[] DEFAULT NULL, right boolean DEFAULT FALSE) -> set of records
     2675
     2676  rastertable: name of table with raster column
     2677
     2678  rastercolumn: name of column of data type raster
     2679
     2680{{{
     2681ST_Histogram('tmax_2010', 'rast')
     2682
     2683ST_Histogram('precip_2011', 'rast', 1)
     2684
     2685ST_Histogram('precip_2011', 'rast', 1, FALSE)
     2686
     2687ST_Histogram('precip_2011', 'rast', 1, FALSE, 5)
     2688
     2689ST_Histogram('precip_2011', 'rast', 1, FALSE, 10, NULL)
     2690
     2691ST_Histogram('precip_2011', 'rast', 1, FALSE, 10, NULL, TRUE)
     2692}}}
     2693
     26942. ST_Histogram(rastertable text, rastercolumn text, nband int, exclude_nodata_value boolean, bins int, right boolean) -> set of records
     2695
     2696{{{
     2697ST_Histogram('tmin_2010', 'rast', 2, FALSE, 5, FALSE)
     2698}}}
     2699
     27003. ST_Histogram(rastertable text, rastercolumn text, nband int, bins int, width double precision[] DEFAULT NULL, right boolean DEFAULT FALSE) -> set of records
     2701
     2702{{{
     2703ST_Histogram('ndvi_2010', 'rast', 1, 5)
     2704
     2705ST_Histogram('ndvi_2010', 'rast', 1, 0, ARRAY[0.5]::double precision[])
     2706
     2707ST_Histogram('ndvi_2010', 'rast', 1, 5, NULL, TRUE)
     2708}}}
     2709
     27104. ST_Histogram(rastertable text, rastercolumn text, nband int, bins int, right boolean) -> set of records
     2711
     2712{{{
     2713ST_Histogram('veg_2009', 'rast', 2, 3, FALSE)
     2714
     2715ST_Histogram('veg_2009', 'rast', 2, 3, TRUE)
     2716}}}
     2717
     2718A set of functions of ST_ApproxHistogram for coverage tables:
     2719
     27201. ST_ApproxHistogram(rastertable text, rastercolumn text, nband int DEFAULT 1, exclude_nodata_value boolean DEFAULT TRUE, sample_percent double precision DEFAULT 0.1, bins int DEFAULT 0, width double precision[] DEFAULT NULL, right boolean DEFAULT FALSE) -> set of records
     2721
     2722{{{
     2723ST_ApproxHistogram('precip_2010', 'rast')
     2724
     2725ST_ApproxHistogram('precip_2010', 'rast', 1)
     2726
     2727ST_ApproxHistogram('precip_2010', 'rast', 2, FALSE)
     2728
     2729ST_ApproxHistogram('precip_2010', 'rast', 1, TRUE, 0.25)
     2730
     2731ST_ApproxHistogram('precip_2010', 'rast', 3, FALSE, 0.2, 10)
     2732
     2733ST_ApproxHistogram('precip_2010', 'rast', 1, TRUE, 0.1, 0, ARRAY[1]::double precision[])
     2734
     2735ST_ApproxHistogram('precip_2010', 'rast', 1, TRUE, 0.1, 0, ARRAY[1]::double precision[], FALSE)
     2736}}}
     2737
     27382. ST_ApproxHistogram(rastertable text, rastercolumn text, nband int, exclude_nodata_value boolean, sample_percent double precision, bins int, right boolean)
     2739
     27403. ST_ApproxHistogram(rastertable text, rastercolumn text, nband int, sample_percent double precision)
     2741
     27424. ST_ApproxHistogram(rastertable text, rastercolumn text, sample_percent double precision)
     2743
     27445. ST_ApproxHistogram(rastertable text, rastercolumn text, nband int, sample_percent double precision, bins int, width double precision[] DEFAULT NULL, right boolean DEFAULT FALSE)
     2745
     27466. ST_ApproxHistogram(rastertable text, rastercolumn text, nband int, sample_percent double precision, bins int, right boolean)
     2747
    26722748----
    26732749'''ST_Quantile(raster, nband) -> set of records'''[[BR]]