]> granicus.if.org Git - postgis/log
postgis
13 years agoDo not override postgis_svn_revision.h if revision didn't change
Sandro Santilli [Mon, 13 Feb 2012 09:58:13 +0000 (09:58 +0000)]
Do not override postgis_svn_revision.h if revision didn't change

git-svn-id: http://svn.osgeo.org/postgis/trunk@9159 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdd support for fetching SVN revision from local git-svn repository
Sandro Santilli [Mon, 13 Feb 2012 09:15:23 +0000 (09:15 +0000)]
Add support for fetching SVN revision from local git-svn repository

git-svn-id: http://svn.osgeo.org/postgis/trunk@9158 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoIt's "svn", not "svnn". And a TODO item...
Sandro Santilli [Sat, 11 Feb 2012 21:17:12 +0000 (21:17 +0000)]
It's "svn", not "svnn". And a TODO item...

git-svn-id: http://svn.osgeo.org/postgis/trunk@9157 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoFix regression in OSX (-0 vs 0)
Paul Ramsey [Sat, 11 Feb 2012 16:08:26 +0000 (16:08 +0000)]
Fix regression in OSX (-0 vs 0)

git-svn-id: http://svn.osgeo.org/postgis/trunk@9156 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoReport SVN revision in PostGIS_Full_Version (#1518)
Paul Ramsey [Sat, 11 Feb 2012 05:14:39 +0000 (05:14 +0000)]
Report SVN revision in PostGIS_Full_Version (#1518)

git-svn-id: http://svn.osgeo.org/postgis/trunk@9155 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdded checks of SRID to make sure that SRIDs are within the permitted range. Ticket...
Bborie Park [Fri, 10 Feb 2012 23:33:37 +0000 (23:33 +0000)]
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

13 years agoST_Clip returns all bands when no band is specified.
Pierre Racine [Fri, 10 Feb 2012 22:42:38 +0000 (22:42 +0000)]
ST_Clip returns all bands when no band is specified.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9153 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoFix for ticket #1569. ST_Clip variants defaulting to band 1 should default to NULL...
Pierre Racine [Fri, 10 Feb 2012 22:36:14 +0000 (22:36 +0000)]
Fix for ticket #1569. ST_Clip variants defaulting to band 1 should default to NULL so that they return all bands.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9152 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoBack out SVN generation stuff.
Paul Ramsey [Fri, 10 Feb 2012 20:21:51 +0000 (20:21 +0000)]
Back out SVN generation stuff.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9151 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoTry to fail better on SVN snatching...
Paul Ramsey [Fri, 10 Feb 2012 19:55:36 +0000 (19:55 +0000)]
Try to fail better on SVN snatching...

git-svn-id: http://svn.osgeo.org/postgis/trunk@9150 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoReport SVN revision in PostGIS_Full_Version (#1518)
Paul Ramsey [Fri, 10 Feb 2012 19:49:53 +0000 (19:49 +0000)]
Report SVN revision in PostGIS_Full_Version (#1518)

git-svn-id: http://svn.osgeo.org/postgis/trunk@9149 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoST_PixelAsPolygon() does not have a band parameter anymore.
Pierre Racine [Fri, 10 Feb 2012 18:46:48 +0000 (18:46 +0000)]
ST_PixelAsPolygon() does not have a band parameter anymore.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9148 b70326c6-7e19-0410-871a-916f4a2858ee

13 years ago#1494: move parent table creation to a function so logic is in single place, add...
Regina Obe [Fri, 10 Feb 2012 18:38:06 +0000 (18:38 +0000)]
#1494: move parent table creation to a function so logic is in single place, add a new census_loader.sql script with census specific load logic, revise create and update scripts to load the new census logic and create tables if not present. Still need to test and write a function to return census info given a point before can mark this as done.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9147 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoHave perl to backup the file before editing. 'make check' is failing on Windows 7...
Pierre Racine [Fri, 10 Feb 2012 17:05:25 +0000 (17:05 +0000)]
Have perl to backup the file before editing. 'make check' is failing on Windows 7 without that.

See http://postgis.refractions.net/pipermail/postgis-devel/2012-February/018482.html

git-svn-id: http://svn.osgeo.org/postgis/trunk@9146 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoClamp SRID valuesu > SRID_MAXIMUM to fall in the reserved range (#1505)
Sandro Santilli [Fri, 10 Feb 2012 16:53:15 +0000 (16:53 +0000)]
Clamp SRID valuesu > SRID_MAXIMUM to fall in the reserved range (#1505)

The reserved range is SRID_USER_MAXIMUM+1 to SRID_MAXIMUM.
Core takes care of typmod clamping, postgis_restore.pl takes care
of clamping table definition and spatial_ref_sys entries.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9145 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdd SRID_USER_MXIMUM define
Sandro Santilli [Fri, 10 Feb 2012 16:53:07 +0000 (16:53 +0000)]
Add SRID_USER_MXIMUM define

git-svn-id: http://svn.osgeo.org/postgis/trunk@9144 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoFix syntax error in MS example
Paul Ramsey [Fri, 10 Feb 2012 16:18:05 +0000 (16:18 +0000)]
Fix syntax error in MS example

git-svn-id: http://svn.osgeo.org/postgis/trunk@9143 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoDrop the now-generated Makefile on distclean, and ignore it
Sandro Santilli [Fri, 10 Feb 2012 09:19:33 +0000 (09:19 +0000)]
Drop the now-generated Makefile on distclean, and ignore it

git-svn-id: http://svn.osgeo.org/postgis/trunk@9141 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoFix builds --without-topology (#1565)
Sandro Santilli [Fri, 10 Feb 2012 09:16:47 +0000 (09:16 +0000)]
Fix builds --without-topology (#1565)

git-svn-id: http://svn.osgeo.org/postgis/trunk@9140 b70326c6-7e19-0410-871a-916f4a2858ee

13 years ago#1564 fix typo in cat call preventing other files from being concatenated
Regina Obe [Fri, 10 Feb 2012 01:21:59 +0000 (01:21 +0000)]
#1564 fix typo in cat call preventing other files from being concatenated

git-svn-id: http://svn.osgeo.org/postgis/trunk@9139 b70326c6-7e19-0410-871a-916f4a2858ee

13 years ago#1563: remove raster_columns view from extension so it can be dropped without complaint.
Regina Obe [Thu, 9 Feb 2012 23:02:52 +0000 (23:02 +0000)]
#1563: remove raster_columns view from extension so it can be dropped without complaint.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9138 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoPerformance improvement by keeping x and y pixel coordinates as floats.
David Zwarg [Thu, 9 Feb 2012 20:12:18 +0000 (20:12 +0000)]
Performance improvement by keeping x and y pixel coordinates as floats.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9137 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoActually save Grand Unified Geom Cache rather than just building it
Sandro Santilli [Thu, 9 Feb 2012 19:19:09 +0000 (19:19 +0000)]
Actually save Grand Unified Geom Cache rather than just building it

Fixes #547

git-svn-id: http://svn.osgeo.org/postgis/trunk@9136 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoMore postgis_config.h inclusion removal from headers
Sandro Santilli [Thu, 9 Feb 2012 17:16:29 +0000 (17:16 +0000)]
More postgis_config.h inclusion removal from headers

git-svn-id: http://svn.osgeo.org/postgis/trunk@9135 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoDrop postgis_config.h include from lwgeom_pg.h header.
Sandro Santilli [Thu, 9 Feb 2012 17:00:23 +0000 (17:00 +0000)]
Drop postgis_config.h include from lwgeom_pg.h header.

Generally, package config files should _not_ be included
by package headers. In this specific case the aim is overriding
POSTGIS_DEBUG_LEVEL in implementation files for the sake of
enabling debugging of a single file.

Also part of this commit is addition of copyright header in
two files which were missing it (used git history to figure
assignments)

git-svn-id: http://svn.osgeo.org/postgis/trunk@9134 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoFix header guard of pgsql_compat.h and drop the duplicate
Sandro Santilli [Thu, 9 Feb 2012 17:00:02 +0000 (17:00 +0000)]
Fix header guard of pgsql_compat.h and drop the duplicate

git-svn-id: http://svn.osgeo.org/postgis/trunk@9133 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoHmm double added a file -- #1563 which was causing the can't drop because postgis...
Regina Obe [Thu, 9 Feb 2012 10:49:44 +0000 (10:49 +0000)]
Hmm double added a file -- #1563 which was causing the can't drop because postgis extension depends on it error

git-svn-id: http://svn.osgeo.org/postgis/trunk@9132 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoForward distclean to extensions subdirs
Sandro Santilli [Thu, 9 Feb 2012 10:10:41 +0000 (10:10 +0000)]
Forward distclean to extensions subdirs

git-svn-id: http://svn.osgeo.org/postgis/trunk@9131 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoDon't delete the comments.
Paul Ramsey [Thu, 9 Feb 2012 02:34:32 +0000 (02:34 +0000)]
Don't delete the comments.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9130 b70326c6-7e19-0410-871a-916f4a2858ee

13 years ago#1562 replace string with text
Regina Obe [Thu, 9 Feb 2012 01:54:48 +0000 (01:54 +0000)]
#1562 replace string with text

git-svn-id: http://svn.osgeo.org/postgis/trunk@9129 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoMore verbose message, per DFuhriman
Paul Ramsey [Thu, 9 Feb 2012 00:42:07 +0000 (00:42 +0000)]
More verbose message, per DFuhriman

git-svn-id: http://svn.osgeo.org/postgis/trunk@9128 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoInvalid geography polygons: BOOM! Could not generate outside point! (#1046)
Paul Ramsey [Thu, 9 Feb 2012 00:37:43 +0000 (00:37 +0000)]
Invalid geography polygons: BOOM! Could not generate outside point! (#1046)

git-svn-id: http://svn.osgeo.org/postgis/trunk@9127 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoFixed bug where PG_DETOAST_DATUM args were incorrect.
David Zwarg [Thu, 9 Feb 2012 00:27:16 +0000 (00:27 +0000)]
Fixed bug where PG_DETOAST_DATUM args were incorrect.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9126 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoChanged DATUM_SLICE to DATUM in setGeotransform.
David Zwarg [Thu, 9 Feb 2012 00:18:04 +0000 (00:18 +0000)]
Changed DATUM_SLICE to DATUM in setGeotransform.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9125 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdded documentation for raster processing builtin functions: st_min4ma, st_max4ma...
David Zwarg [Wed, 8 Feb 2012 23:59:29 +0000 (23:59 +0000)]
Added documentation for raster processing builtin functions: st_min4ma, st_max4ma, st_mean4ma, st_sum4ma, st_range4ma, st_distinct4ma, st_stddev4ma.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9124 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoChange from scripts-based script versions to repository based versions. Should also...
Paul Ramsey [Wed, 8 Feb 2012 23:01:34 +0000 (23:01 +0000)]
Change from scripts-based script versions to repository based versions. Should also be more robust? ha ha ha. (#1282)

git-svn-id: http://svn.osgeo.org/postgis/trunk@9123 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoMake the scripts version get read again.
Paul Ramsey [Wed, 8 Feb 2012 22:44:14 +0000 (22:44 +0000)]
Make the scripts version get read again.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9122 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoFix to correct building of testapi in MinGW. Ticket is #1560.
Bborie Park [Wed, 8 Feb 2012 21:58:49 +0000 (21:58 +0000)]
Fix to correct building of testapi in MinGW. Ticket is #1560.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9121 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoDo not allocate inside of 1 raster mapalgebra loop for datum values and nulls.
David Zwarg [Wed, 8 Feb 2012 21:31:36 +0000 (21:31 +0000)]
Do not allocate inside of 1 raster mapalgebra loop for datum values and nulls.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9120 b70326c6-7e19-0410-871a-916f4a2858ee

13 years ago./configure still display the old raster version number (#1599)
Paul Ramsey [Wed, 8 Feb 2012 21:29:29 +0000 (21:29 +0000)]
./configure still display the old raster version number (#1599)

git-svn-id: http://svn.osgeo.org/postgis/trunk@9119 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoInstead of dynamically allocating space for variables "values" and "nulls" with each...
Bborie Park [Wed, 8 Feb 2012 21:20:31 +0000 (21:20 +0000)]
Instead of dynamically allocating space for variables "values" and "nulls" with each pixel, just initialize both to the max possible # of elements.  Done for 2-raster ST_MapAlgebraExpr

git-svn-id: http://svn.osgeo.org/postgis/trunk@9118 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoRemove deleted function signature for ST_PixelAsPolygon. Ticket is #1529
Bborie Park [Wed, 8 Feb 2012 21:08:46 +0000 (21:08 +0000)]
Remove deleted function signature for ST_PixelAsPolygon. Ticket is #1529

git-svn-id: http://svn.osgeo.org/postgis/trunk@9117 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agotest for termios.h in case we want to do password prompting in the future
Paul Ramsey [Wed, 8 Feb 2012 21:08:27 +0000 (21:08 +0000)]
test for termios.h in case we want to do password prompting in the future

git-svn-id: http://svn.osgeo.org/postgis/trunk@9116 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoValues for [rast1.x], [rast1.y], [rast2.x] and [rast2.y] should be INT4 instead of...
Bborie Park [Wed, 8 Feb 2012 21:04:44 +0000 (21:04 +0000)]
Values for [rast1.x], [rast1.y], [rast2.x] and [rast2.y] should be INT4 instead of FLOAT8.  Ticket is #1557

git-svn-id: http://svn.osgeo.org/postgis/trunk@9115 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoRemoved geotransform type. Fixed rounding, so Hudson will be my friend in raster...
David Zwarg [Wed, 8 Feb 2012 21:03:39 +0000 (21:03 +0000)]
Removed geotransform type. Fixed rounding, so Hudson will be my friend in raster regression tests.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9114 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agodo not heap-allocate SPI arg types
Sandro Santilli [Wed, 8 Feb 2012 20:51:49 +0000 (20:51 +0000)]
do not heap-allocate SPI arg types

git-svn-id: http://svn.osgeo.org/postgis/trunk@9113 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoST_MapAlgebraExpr: advertise X and Y params as integers (#1557)
Sandro Santilli [Wed, 8 Feb 2012 20:33:45 +0000 (20:33 +0000)]
ST_MapAlgebraExpr: advertise X and Y params as integers (#1557)

Also stop doing 3 string matches per pixel for no reason

git-svn-id: http://svn.osgeo.org/postgis/trunk@9112 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdded documentation for 1 and 2 raster map algebra user callback function documentati...
David Zwarg [Wed, 8 Feb 2012 19:44:48 +0000 (19:44 +0000)]
Added documentation for 1 and 2 raster map algebra user callback function documentation for pixel position array parameter to userfunc. #1525

git-svn-id: http://svn.osgeo.org/postgis/trunk@9111 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoHandle French svn?
Paul Ramsey [Wed, 8 Feb 2012 19:09:39 +0000 (19:09 +0000)]
Handle French svn?

git-svn-id: http://svn.osgeo.org/postgis/trunk@9110 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdded geotransform methods and correction to basis vectors during raster rotation...
David Zwarg [Wed, 8 Feb 2012 19:04:48 +0000 (19:04 +0000)]
Added geotransform methods and correction to basis vectors during raster rotation. #1353

git-svn-id: http://svn.osgeo.org/postgis/trunk@9109 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoStop relying on private projects.h PROJ header (#1541)
Paul Ramsey [Wed, 8 Feb 2012 18:51:32 +0000 (18:51 +0000)]
Stop relying on private projects.h PROJ header (#1541)

git-svn-id: http://svn.osgeo.org/postgis/trunk@9108 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdd missing target
Paul Ramsey [Wed, 8 Feb 2012 17:39:57 +0000 (17:39 +0000)]
Add missing target

git-svn-id: http://svn.osgeo.org/postgis/trunk@9107 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoPush forward version numbers
Paul Ramsey [Wed, 8 Feb 2012 17:36:41 +0000 (17:36 +0000)]
Push forward version numbers

git-svn-id: http://svn.osgeo.org/postgis/trunk@9105 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoCommit in preparation for 2.0.0alpha4
Paul Ramsey [Wed, 8 Feb 2012 17:33:21 +0000 (17:33 +0000)]
Commit in preparation for 2.0.0alpha4

git-svn-id: http://svn.osgeo.org/postgis/trunk@9102 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdded ST_StdDev4ma raster neighborhood processing function. #1318
David Zwarg [Wed, 8 Feb 2012 17:23:14 +0000 (17:23 +0000)]
Added ST_StdDev4ma raster neighborhood processing function. #1318

git-svn-id: http://svn.osgeo.org/postgis/trunk@9101 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agolwgeom_release (#699) move free if copy calls to end of functions in any place where...
Paul Ramsey [Wed, 8 Feb 2012 17:19:53 +0000 (17:19 +0000)]
lwgeom_release (#699) move free if copy calls to end of functions in any place where there is any chance that a problem might occur

git-svn-id: http://svn.osgeo.org/postgis/trunk@9100 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoMinor debug message tweak
Bborie Park [Wed, 8 Feb 2012 16:44:00 +0000 (16:44 +0000)]
Minor debug message tweak

git-svn-id: http://svn.osgeo.org/postgis/trunk@9099 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdded regression tests for raster2pgsql loader. Ticket is #1388
Bborie Park [Wed, 8 Feb 2012 16:11:13 +0000 (16:11 +0000)]
Added regression tests for raster2pgsql loader. Ticket is #1388

git-svn-id: http://svn.osgeo.org/postgis/trunk@9098 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoBugfixes related to #1552, and somehow to #665. Thanks to Sandro for report and valgr...
Olivier Courtin [Wed, 8 Feb 2012 15:17:32 +0000 (15:17 +0000)]
Bugfixes related to #1552, and somehow to #665. Thanks to Sandro for report and valgrind stuff !

git-svn-id: http://svn.osgeo.org/postgis/trunk@9097 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoDocument topology.GetRingEdges (#959)
Sandro Santilli [Wed, 8 Feb 2012 10:06:59 +0000 (10:06 +0000)]
Document topology.GetRingEdges (#959)

git-svn-id: http://svn.osgeo.org/postgis/trunk@9096 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoDo not release serialized input until output is deserialized
Sandro Santilli [Wed, 8 Feb 2012 09:36:46 +0000 (09:36 +0000)]
Do not release serialized input until output is deserialized

See http://postgis.refractions.net/pipermail/postgis-devel/2012-February/018336.html

git-svn-id: http://svn.osgeo.org/postgis/trunk@9095 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoconfigure_json.patch (#1539) from Evan Roualt
Paul Ramsey [Wed, 8 Feb 2012 06:42:26 +0000 (06:42 +0000)]
configure_json.patch (#1539) from Evan Roualt

git-svn-id: http://svn.osgeo.org/postgis/trunk@9094 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agorestore (at least) tin_geom and psurface_geom unit tests call. Related to #665
Olivier Courtin [Wed, 8 Feb 2012 05:29:07 +0000 (05:29 +0000)]
restore (at least) tin_geom and psurface_geom unit tests call. Related to #665

git-svn-id: http://svn.osgeo.org/postgis/trunk@9093 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoFix BBOX handling in serialization. Still related to #665
Olivier Courtin [Wed, 8 Feb 2012 05:23:00 +0000 (05:23 +0000)]
Fix BBOX handling in serialization. Still related to #665

git-svn-id: http://svn.osgeo.org/postgis/trunk@9092 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoChange BBOX double to float in serialization. Related to #665
Olivier Courtin [Wed, 8 Feb 2012 04:36:59 +0000 (04:36 +0000)]
Change BBOX double to float in serialization. Related to #665

git-svn-id: http://svn.osgeo.org/postgis/trunk@9091 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdded ST_Distinct4ma helper neighborhood processing function. See #1318
David Zwarg [Wed, 8 Feb 2012 00:43:28 +0000 (00:43 +0000)]
Added ST_Distinct4ma helper neighborhood processing function. See #1318

git-svn-id: http://svn.osgeo.org/postgis/trunk@9090 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoFixed typo in configure.ac
David Zwarg [Wed, 8 Feb 2012 00:29:21 +0000 (00:29 +0000)]
Fixed typo in configure.ac

git-svn-id: http://svn.osgeo.org/postgis/trunk@9089 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoloader/Latin1 regression failure with database SQL_ASCII encoding (#1465) from Greg...
Paul Ramsey [Wed, 8 Feb 2012 00:23:11 +0000 (00:23 +0000)]
loader/Latin1 regression failure with database SQL_ASCII encoding (#1465) from Greg Troxel

git-svn-id: http://svn.osgeo.org/postgis/trunk@9088 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoRemove another dying test
Paul Ramsey [Wed, 8 Feb 2012 00:15:49 +0000 (00:15 +0000)]
Remove another dying test

git-svn-id: http://svn.osgeo.org/postgis/trunk@9087 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoRemove failing test
Paul Ramsey [Wed, 8 Feb 2012 00:14:48 +0000 (00:14 +0000)]
Remove failing test

git-svn-id: http://svn.osgeo.org/postgis/trunk@9086 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoRemove dependency on svnrevision.h
Paul Ramsey [Wed, 8 Feb 2012 00:14:00 +0000 (00:14 +0000)]
Remove dependency on svnrevision.h

git-svn-id: http://svn.osgeo.org/postgis/trunk@9085 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agodocs-install uses bare cp (#1528) from Greg Troxel
Paul Ramsey [Wed, 8 Feb 2012 00:01:22 +0000 (00:01 +0000)]
docs-install uses bare cp (#1528) from Greg Troxel

git-svn-id: http://svn.osgeo.org/postgis/trunk@9084 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoIgnore svnrevision.h
Paul Ramsey [Tue, 7 Feb 2012 23:51:04 +0000 (23:51 +0000)]
Ignore svnrevision.h

git-svn-id: http://svn.osgeo.org/postgis/trunk@9083 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoST_MinimumBoundingCircle needs regression test (#1042)
Paul Ramsey [Tue, 7 Feb 2012 23:49:15 +0000 (23:49 +0000)]
ST_MinimumBoundingCircle needs regression test (#1042)

git-svn-id: http://svn.osgeo.org/postgis/trunk@9082 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdd a warning for lower numbers of GEOS
Paul Ramsey [Tue, 7 Feb 2012 23:42:30 +0000 (23:42 +0000)]
Add a warning for lower numbers of GEOS

git-svn-id: http://svn.osgeo.org/postgis/trunk@9081 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoStill several bugfixes related to #665
Olivier Courtin [Tue, 7 Feb 2012 23:37:57 +0000 (23:37 +0000)]
Still several bugfixes related to #665

git-svn-id: http://svn.osgeo.org/postgis/trunk@9080 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoForce generation of an svnrevision.h file when building in a repo and the svn executa...
Paul Ramsey [Tue, 7 Feb 2012 23:27:57 +0000 (23:27 +0000)]
Force generation of an svnrevision.h file when building in a repo and the svn executable is available.
Ensure that when building a tarball with make_dist.sh the revision is read from the tag in the remote svn repository.
This should cover both development and distribution cases.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9079 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdd dzwarg
Paul Ramsey [Tue, 7 Feb 2012 22:17:49 +0000 (22:17 +0000)]
Add dzwarg

git-svn-id: http://svn.osgeo.org/postgis/trunk@9078 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoClean up raster regression and move loader regression directory.
Bborie Park [Tue, 7 Feb 2012 22:05:05 +0000 (22:05 +0000)]
Clean up raster regression and move loader regression directory.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9077 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoStill bugfixes. Related to #665
Olivier Courtin [Tue, 7 Feb 2012 21:30:36 +0000 (21:30 +0000)]
Still bugfixes. Related to #665

git-svn-id: http://svn.osgeo.org/postgis/trunk@9076 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoTest non-empty new types in regress/wkb (#1477)
Paul Ramsey [Tue, 7 Feb 2012 21:14:41 +0000 (21:14 +0000)]
Test non-empty new types in regress/wkb (#1477)

git-svn-id: http://svn.osgeo.org/postgis/trunk@9075 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoRestore surface cunit tests
Olivier Courtin [Tue, 7 Feb 2012 21:04:50 +0000 (21:04 +0000)]
Restore surface cunit tests

git-svn-id: http://svn.osgeo.org/postgis/trunk@9074 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoFix some bugfixes. Handle EMPTY use cases. Minor changes. Related to #665
Olivier Courtin [Tue, 7 Feb 2012 21:01:48 +0000 (21:01 +0000)]
Fix some bugfixes. Handle EMPTY use cases. Minor changes. Related to #665

git-svn-id: http://svn.osgeo.org/postgis/trunk@9073 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agolwgeom_release (#699), reviewed all usage of lwgeom_release
Paul Ramsey [Tue, 7 Feb 2012 19:42:49 +0000 (19:42 +0000)]
lwgeom_release (#699), reviewed all usage of lwgeom_release
and replaced with lwgeom_free where possible. Changed the
def'n of lwgeom_release so that it only frees the containing
objects, and not any sub-objects, for those few remaining
cases that required a gentler freeing of objects.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9072 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoMinor cleanup of parameter names of ST_Intersection(raster, geometry)
Bborie Park [Tue, 7 Feb 2012 19:35:56 +0000 (19:35 +0000)]
Minor cleanup of parameter names of ST_Intersection(raster, geometry)

git-svn-id: http://svn.osgeo.org/postgis/trunk@9071 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdded positional parameters to 1 raster version of ST_MapAlgebraFct. Closes #1525
David Zwarg [Tue, 7 Feb 2012 19:25:08 +0000 (19:25 +0000)]
Added positional parameters to 1 raster version of ST_MapAlgebraFct. Closes #1525

git-svn-id: http://svn.osgeo.org/postgis/trunk@9070 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdded ST_TileAsGeom() returning only the extent of the planned tiles as polygons
Pierre Racine [Tue, 7 Feb 2012 18:40:08 +0000 (18:40 +0000)]
Added ST_TileAsGeom() returning only the extent of the planned tiles as polygons

git-svn-id: http://svn.osgeo.org/postgis/trunk@9069 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoCorrected clamped values in tests for ST_MapAlgebraExpr and ST_MapAlgebraFct.
David Zwarg [Tue, 7 Feb 2012 18:07:57 +0000 (18:07 +0000)]
Corrected clamped values in tests for ST_MapAlgebraExpr and ST_MapAlgebraFct.
Implemented prepared statements in ST_MapAlgebraExpr.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9068 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoDocumentation URLs, visible whitespace, and minor touchups (#1548) from mwtoews
Paul Ramsey [Tue, 7 Feb 2012 17:23:50 +0000 (17:23 +0000)]
Documentation URLs, visible whitespace, and minor touchups (#1548) from mwtoews

git-svn-id: http://svn.osgeo.org/postgis/trunk@9067 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoReorder the include flags, per Greg Troxel
Paul Ramsey [Tue, 7 Feb 2012 17:07:52 +0000 (17:07 +0000)]
Reorder the include flags, per Greg Troxel

git-svn-id: http://svn.osgeo.org/postgis/trunk@9066 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoFirst plpgsql prototype for ST_Tile(rast raster, width integer, height integer, padwi...
Pierre Racine [Tue, 7 Feb 2012 15:47:42 +0000 (15:47 +0000)]
First plpgsql prototype for ST_Tile(rast raster, width integer, height integer, padwithnodata boolean, nodatavalue double precision)

git-svn-id: http://svn.osgeo.org/postgis/trunk@9065 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoFix a couple of compiler warnings in shp2pgsql-gui caused by uninitialised variables.
Mark Cave-Ayland [Tue, 7 Feb 2012 13:12:31 +0000 (13:12 +0000)]
Fix a couple of compiler warnings in shp2pgsql-gui caused by uninitialised variables.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9064 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAllow changing a closed edge (but w/out fixing linking, see #892)
Sandro Santilli [Tue, 7 Feb 2012 10:14:37 +0000 (10:14 +0000)]
Allow changing a closed edge (but w/out fixing linking, see #892)

git-svn-id: http://svn.osgeo.org/postgis/trunk@9063 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoRe-add install-sh in the repository to support libtool < 2.0
Sandro Santilli [Tue, 7 Feb 2012 09:50:28 +0000 (09:50 +0000)]
Re-add install-sh in the repository to support libtool < 2.0

git-svn-id: http://svn.osgeo.org/postgis/trunk@9062 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoIgnore install-sh
Sandro Santilli [Tue, 7 Feb 2012 07:22:05 +0000 (07:22 +0000)]
Ignore install-sh

git-svn-id: http://svn.osgeo.org/postgis/trunk@9061 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoinstall-sh is generated by ./autogen.sh, needs not be in repository
Sandro Santilli [Tue, 7 Feb 2012 07:20:15 +0000 (07:20 +0000)]
install-sh is generated by ./autogen.sh, needs not be in repository

git-svn-id: http://svn.osgeo.org/postgis/trunk@9060 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agotemp desactivation of surface unit test
Olivier Courtin [Tue, 7 Feb 2012 02:34:56 +0000 (02:34 +0000)]
temp desactivation of surface unit test

git-svn-id: http://svn.osgeo.org/postgis/trunk@9059 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoWhoops, slight error in the empty geometry handling fixed.
Paul Ramsey [Mon, 6 Feb 2012 23:50:13 +0000 (23:50 +0000)]
Whoops, slight error in the empty geometry handling fixed.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9058 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoTemp remove su_surface till everything fixed on it...
Olivier Courtin [Mon, 6 Feb 2012 23:30:27 +0000 (23:30 +0000)]
Temp remove su_surface till everything fixed on it...

git-svn-id: http://svn.osgeo.org/postgis/trunk@9057 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoHave ST_Union aggregate use UnaryUnion from GEOS-3.0.0 (#922)
Paul Ramsey [Mon, 6 Feb 2012 23:25:00 +0000 (23:25 +0000)]
Have ST_Union aggregate use UnaryUnion from GEOS-3.0.0 (#922)

git-svn-id: http://svn.osgeo.org/postgis/trunk@9056 b70326c6-7e19-0410-871a-916f4a2858ee