Commit graph

8 commits

Author SHA1 Message Date
Bborie Park acb238da0e added ST_SummaryStatsAgg(). Ticket #2565
git-svn-id: http://svn.osgeo.org/postgis/trunk@12159 b70326c6-7e19-0410-871a-916f4a2858ee
2013-12-14 20:54:44 +00:00
Bborie Park c07caf55e6 Fixed how the minimum possible value of a pixel type was being
determined.  Added regression tests for band without NODATA.

git-svn-id: http://svn.osgeo.org/postgis/trunk@10029 b70326c6-7e19-0410-871a-916f4a2858ee
2012-07-04 00:33:00 +00:00
Bborie Park 09ff177184 Fix division by zero in ST_ApproxSummaryStats and the situation where
band is empty.  Added regression tests for both situations.
Ticket is #1872

git-svn-id: http://svn.osgeo.org/postgis/trunk@9940 b70326c6-7e19-0410-871a-916f4a2858ee
2012-06-18 22:47:34 +00:00
Bborie Park 9369f89557 Added checks of SRID to make sure that SRIDs are within the permitted range. Ticket is #1568.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9154 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-10 23:33:37 +00:00
Bborie Park 9dbf209ce1 Memory bug fixes and additional regression tests for ST_SummaryStats, ST_Histogram, ST_ValueCount, ST_Reclass and ST_Quantile. Ticket is #1432.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8679 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-05 18:59:52 +00:00
Bborie Park 80b01a2bcc - taking a suggestion from strk in #958, all regression tests for functions related to ST_SummaryStats has been rounded to 3 decimal places
- added additional argument checks for pgraster to rt_pg.c
- changed floating point comparisons in rt_pg.c and rt_api.c


git-svn-id: http://svn.osgeo.org/postgis/trunk@7196 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-18 23:33:05 +00:00
Bborie Park f3506fad22 - fixed usage of function parameter "hasnodata" to follow standardized interpretation
- added copyright notices for work done by Bborie Park funded through the Regents of the University of California


git-svn-id: http://svn.osgeo.org/postgis/trunk@7160 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-16 22:01:10 +00:00
Bborie Park bffadd2c76 Addition of ST_SummaryStats function.
- added function rt_band_get_summary_stats to rt_core/rt_api.c and rt_api.h
	- added test case to test/core/testapi.c
	- added function RASTER_summaryStats to rt_pg/rt_pg.c
	- added SQL functions for ST_SummaryStats to rt_pg/rtpostgis.sql.in.c
	- added regression tests in test/regress

Associated ticket is #930.


git-svn-id: http://svn.osgeo.org/postgis/trunk@7148 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-16 19:17:15 +00:00