Commit graph

1064 commits

Author SHA1 Message Date
Paul Ramsey 4186526ccd Quiet warnings about using fabs on ints
git-svn-id: http://svn.osgeo.org/postgis/trunk@13494 b70326c6-7e19-0410-871a-916f4a2858ee
2015-05-13 18:06:04 +00:00
Sandro Santilli d7ac463494 C++ style comments are not allowed in ISO C90
git-svn-id: http://svn.osgeo.org/postgis/trunk@13473 b70326c6-7e19-0410-871a-916f4a2858ee
2015-05-04 08:36:28 +00:00
Bborie Park 604ffcef1a regex for parsing constraints. ticket #3096
git-svn-id: http://svn.osgeo.org/postgis/trunk@13471 b70326c6-7e19-0410-871a-916f4a2858ee
2015-05-03 00:41:58 +00:00
Bborie Park da27ffe625 add unit tests for numeric overflow. ticket #3100
git-svn-id: http://svn.osgeo.org/postgis/trunk@13468 b70326c6-7e19-0410-871a-916f4a2858ee
2015-05-02 20:27:49 +00:00
Bborie Park 426be352b2 round to 10 places instead of numeric(25,10). ticket #3006
git-svn-id: http://svn.osgeo.org/postgis/trunk@13467 b70326c6-7e19-0410-871a-916f4a2858ee
2015-05-02 19:48:17 +00:00
Paul Ramsey 84abc55b75 Quiet warnings about misuse of abs() / fabs() on
wrong types (new clang in OSX 10.10)


git-svn-id: http://svn.osgeo.org/postgis/trunk@13457 b70326c6-7e19-0410-871a-916f4a2858ee
2015-04-29 15:49:19 +00:00
Bborie Park f93d1ae0e9 invalid operator. Ticket #3090
git-svn-id: http://svn.osgeo.org/postgis/trunk@13395 b70326c6-7e19-0410-871a-916f4a2858ee
2015-03-24 13:46:59 +00:00
Bborie Park f32b7827e9 Fix ST_DumpValues() crasher when cleaning. Ticket #3086
git-svn-id: http://svn.osgeo.org/postgis/trunk@13390 b70326c6-7e19-0410-871a-916f4a2858ee
2015-03-23 16:23:20 +00:00
Regina Obe 03dfe9ee7b #3080 regress failure on 9.5. Put in an OFFSET 0 on all the queries to prevent double ST_Reclass calling in 9.5 on constant table
git-svn-id: http://svn.osgeo.org/postgis/trunk@13386 b70326c6-7e19-0410-871a-916f4a2858ee
2015-03-23 03:43:42 +00:00
Sandro Santilli 6fd90a6537 Fix availability info for "agg_count" type (#3082)
Fixes soft-upgrade from 2.1 to 2.2

git-svn-id: http://svn.osgeo.org/postgis/trunk@13350 b70326c6-7e19-0410-871a-916f4a2858ee
2015-03-17 11:42:14 +00:00
Sandro Santilli 346b19845d Fix availability info for "summarystats" type (#3082)
Adds support for "Missing in" label in sql comment for handling
cases in which a type was missing from a version.

git-svn-id: http://svn.osgeo.org/postgis/trunk@13349 b70326c6-7e19-0410-871a-916f4a2858ee
2015-03-17 11:42:08 +00:00
Sandro Santilli ab500769fc Fix soft upgrade from 2.0 to 2.2 (#3081)
git-svn-id: http://svn.osgeo.org/postgis/trunk@13348 b70326c6-7e19-0410-871a-916f4a2858ee
2015-03-17 10:43:00 +00:00
Paul Ramsey 2535d7e168 Catch remaining detoasting calls and replace with MACRO
git-svn-id: http://svn.osgeo.org/postgis/trunk@13307 b70326c6-7e19-0410-871a-916f4a2858ee
2015-03-04 21:05:19 +00:00
Paul Ramsey af14a2ebfb #3041, Cunit 2.1-3 breaks testing
Renovate the raster cunit as well


git-svn-id: http://svn.osgeo.org/postgis/trunk@13238 b70326c6-7e19-0410-871a-916f4a2858ee
2015-02-18 22:56:28 +00:00
Sandro Santilli 5cdf724883 Pretend raster/geometry operator ~ never changed (#3039)
Fix soft-upgrade from 2.1.2.

git-svn-id: http://svn.osgeo.org/postgis/trunk@13229 b70326c6-7e19-0410-871a-916f4a2858ee
2015-02-17 17:11:18 +00:00
Sandro Santilli 7a9dbb81b6 Remove use of lw_vasprintf from raster
reduces useless heap allocations

git-svn-id: http://svn.osgeo.org/postgis/trunk@13218 b70326c6-7e19-0410-871a-916f4a2858ee
2015-02-17 10:03:35 +00:00
Sandro Santilli e8719d3678 Embed availability info for raster operators
git-svn-id: http://svn.osgeo.org/postgis/trunk@13217 b70326c6-7e19-0410-871a-916f4a2858ee
2015-02-17 09:23:50 +00:00
Sandro Santilli 464385f4ff Embed availability info for raster types
git-svn-id: http://svn.osgeo.org/postgis/trunk@13216 b70326c6-7e19-0410-871a-916f4a2858ee
2015-02-17 09:19:05 +00:00
Sandro Santilli d433dd2ce2 Do not drop non-obsoleted functions on upgrade (#2038)
These functions are retained:
 ST_Intersection(raster, integer, geometry)
 ST_Intersection(geometry,raster)

git-svn-id: http://svn.osgeo.org/postgis/trunk@13207 b70326c6-7e19-0410-871a-916f4a2858ee
2015-02-02 15:45:02 +00:00
Bborie Park c55d0393a3 fix up cunit test
git-svn-id: http://svn.osgeo.org/postgis/trunk@13200 b70326c6-7e19-0410-871a-916f4a2858ee
2015-01-24 17:43:19 +00:00
Bborie Park f4d878d034 slight cleanup
git-svn-id: http://svn.osgeo.org/postgis/trunk@13198 b70326c6-7e19-0410-871a-916f4a2858ee
2015-01-24 17:27:17 +00:00
Bborie Park 35239b6bfa add unit test for #3020. use rectangular out-db raster
git-svn-id: http://svn.osgeo.org/postgis/trunk@13197 b70326c6-7e19-0410-871a-916f4a2858ee
2015-01-24 17:27:11 +00:00
Bborie Park 556c94038f ST_AddBand out-db band uses width value for height
git-svn-id: http://svn.osgeo.org/postgis/trunk@13196 b70326c6-7e19-0410-871a-916f4a2858ee
2015-01-24 17:26:59 +00:00
Sandro Santilli 16827278f6 Disreguard ALTER responses during testing
git-svn-id: http://svn.osgeo.org/postgis/trunk@13185 b70326c6-7e19-0410-871a-916f4a2858ee
2015-01-21 11:11:11 +00:00
Sandro Santilli 16f6444dd1 Fill in meta info for RFC documents
git-svn-id: http://svn.osgeo.org/postgis/trunk@13178 b70326c6-7e19-0410-871a-916f4a2858ee
2015-01-15 08:57:57 +00:00
Regina Obe 89d169e8dc #3006 Numeric overflow when executing AddRasterConstraints, increased precision to 25,10
git-svn-id: http://svn.osgeo.org/postgis/trunk@13136 b70326c6-7e19-0410-871a-916f4a2858ee
2014-12-03 23:28:59 +00:00
Paul Ramsey 94f57513ea Replace final reference to 'make' with $(MAKE)
git-svn-id: http://svn.osgeo.org/postgis/trunk@13135 b70326c6-7e19-0410-871a-916f4a2858ee
2014-12-02 00:33:33 +00:00
Sandro Santilli 0329633309 Do not expect DO responses in raster regress
Fixes testsuite broke by r13123

git-svn-id: http://svn.osgeo.org/postgis/trunk@13125 b70326c6-7e19-0410-871a-916f4a2858ee
2014-11-11 09:25:43 +00:00
Sandro Santilli 944a0e4f39 Adapt the rest of the code to the change in LWGEOM2GEOS function
Fixes #2948 (introduced by previous commit)

git-svn-id: http://svn.osgeo.org/postgis/trunk@13019 b70326c6-7e19-0410-871a-916f4a2858ee
2014-10-01 13:13:46 +00:00
Sandro Santilli 9d07a9bde1 Implement ST_Retile and ST_CreateOverview (#2247)
Includes testcases and documentation

git-svn-id: http://svn.osgeo.org/postgis/trunk@12941 b70326c6-7e19-0410-871a-916f4a2858ee
2014-09-03 14:52:33 +00:00
Sandro Santilli eec41bb9ce Add availability info for {Add,Drop}OverviewConstraints
git-svn-id: http://svn.osgeo.org/postgis/trunk@12933 b70326c6-7e19-0410-871a-916f4a2858ee
2014-09-03 08:21:46 +00:00
Sandro Santilli a389e0a96b Slightly simplify a loop setting projection parameters for gdal warp
git-svn-id: http://svn.osgeo.org/postgis/trunk@12929 b70326c6-7e19-0410-871a-916f4a2858ee
2014-08-29 16:37:02 +00:00
Sandro Santilli 790f448d6d Fix output georeference on warping rasters with default georeference
Closes #2911 and re-closes #2251

git-svn-id: http://svn.osgeo.org/postgis/trunk@12928 b70326c6-7e19-0410-871a-916f4a2858ee
2014-08-28 15:15:43 +00:00
Sandro Santilli 3fac48144c Fix crash on null input to ST_Union(raster)
git-svn-id: http://svn.osgeo.org/postgis/trunk@12925 b70326c6-7e19-0410-871a-916f4a2858ee
2014-08-27 08:53:30 +00:00
Sandro Santilli 519ef7dbc7 Add TODO item about not needlessly dropping ST_SummaryStats and friends
git-svn-id: http://svn.osgeo.org/postgis/trunk@12921 b70326c6-7e19-0410-871a-916f4a2858ee
2014-08-26 14:40:00 +00:00
Regina Obe 8ddee2f9ac #2903 change in #2620 (to support debian freebsd kernel) broke freebsd compilation
git-svn-id: http://svn.osgeo.org/postgis/trunk@12905 b70326c6-7e19-0410-871a-916f4a2858ee
2014-08-22 02:15:03 +00:00
Sandro Santilli 92a8e4e05d Raise cost of ST_ConvexHull(raster) from 1 to 300 (#2895)
git-svn-id: http://svn.osgeo.org/postgis/trunk@12888 b70326c6-7e19-0410-871a-916f4a2858ee
2014-08-15 15:17:08 +00:00
Bborie Park e3bc47bfe9 revert option for -s. Ticket #2891
git-svn-id: http://svn.osgeo.org/postgis/trunk@12882 b70326c6-7e19-0410-871a-916f4a2858ee
2014-08-11 03:23:05 +00:00
Bborie Park 1c2c8f9338 cast const char * to char *. Ticket #2885
git-svn-id: http://svn.osgeo.org/postgis/trunk@12880 b70326c6-7e19-0410-871a-916f4a2858ee
2014-08-10 16:05:03 +00:00
Bborie Park 224748963d Remove unused variable. Ticket #2884.
git-svn-id: http://svn.osgeo.org/postgis/trunk@12879 b70326c6-7e19-0410-871a-916f4a2858ee
2014-08-10 15:58:05 +00:00
Bborie Park 57e9771814 forgot to add unit tests to git. ticket #2828
git-svn-id: http://svn.osgeo.org/postgis/trunk@12859 b70326c6-7e19-0410-871a-916f4a2858ee
2014-08-05 12:24:49 +00:00
Bborie Park e58251135b code cleanup
git-svn-id: http://svn.osgeo.org/postgis/trunk@12835 b70326c6-7e19-0410-871a-916f4a2858ee
2014-07-27 17:17:17 +00:00
Bborie Park d053d96595 shortcut ST_Clip if clipping geometry extent fully contains raster extent. Ticket #2829
git-svn-id: http://svn.osgeo.org/postgis/trunk@12833 b70326c6-7e19-0410-871a-916f4a2858ee
2014-07-27 17:06:54 +00:00
Bborie Park 2ff7023685 ST_Envelope(raster) in C instead of ST_Envelope(ST_ConvexHull(raster)). ticket #2828
git-svn-id: http://svn.osgeo.org/postgis/trunk@12832 b70326c6-7e19-0410-871a-916f4a2858ee
2014-07-26 13:47:29 +00:00
Sandro Santilli 735a7ce706 Reduce some code duplication
git-svn-id: http://svn.osgeo.org/postgis/trunk@12801 b70326c6-7e19-0410-871a-916f4a2858ee
2014-07-18 14:39:50 +00:00
Sandro Santilli 4c97ca2271 Cleanup after raster import tests using overview
It seems to not be automatic...

git-svn-id: http://svn.osgeo.org/postgis/trunk@12792 b70326c6-7e19-0410-871a-916f4a2858ee
2014-07-17 14:23:51 +00:00
Sandro Santilli f2296f9e0f Include overviews in the test for reprojected rasters (#2843)
git-svn-id: http://svn.osgeo.org/postgis/trunk@12791 b70326c6-7e19-0410-871a-916f4a2858ee
2014-07-17 14:02:13 +00:00
Sandro Santilli 7964cec7c2 Remove obsoleted shell versions of test aux scripts (#2844)
git-svn-id: http://svn.osgeo.org/postgis/trunk@12790 b70326c6-7e19-0410-871a-916f4a2858ee
2014-07-17 09:02:30 +00:00
Sandro Santilli 9e569f9f3c Add support for raster reprojection on import (#2843)
git-svn-id: http://svn.osgeo.org/postgis/trunk@12789 b70326c6-7e19-0410-871a-916f4a2858ee
2014-07-17 08:59:53 +00:00
Sandro Santilli 838efbbf56 Force rtpostgis.so rebuild on librtcore.a change
git-svn-id: http://svn.osgeo.org/postgis/trunk@12779 b70326c6-7e19-0410-871a-916f4a2858ee
2014-07-14 14:36:48 +00:00