]> granicus.if.org Git - postgis/log
postgis
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

13 years agoMake sure new bands when added using ST_AddBand are correctly clamping NODATA values...
Bborie Park [Mon, 6 Feb 2012 23:14:21 +0000 (23:14 +0000)]
Make sure new bands when added using ST_AddBand are correctly clamping NODATA values.  Ticket is #1546.

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

13 years agoRemove dead prototype
Paul Ramsey [Mon, 6 Feb 2012 21:32:35 +0000 (21:32 +0000)]
Remove dead prototype

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

13 years agoFix a bug in tgeom_free, related to #665
Olivier Courtin [Mon, 6 Feb 2012 21:15:33 +0000 (21:15 +0000)]
Fix a bug in tgeom_free, related to #665

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

13 years agoAdded support to pass pixel positions of both rasters to user function in 2-raster...
Bborie Park [Mon, 6 Feb 2012 20:53:19 +0000 (20:53 +0000)]
Added support to pass pixel positions of both rasters to user function in 2-raster ST_MapAlgebraFct.  This provides similar functionality to the keywords described in #1525.

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

13 years agoChange searched location of proj files when no proj variable (#1022)
Paul Ramsey [Mon, 6 Feb 2012 20:07:21 +0000 (20:07 +0000)]
Change searched location of proj files when no proj variable (#1022)

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

13 years agoQuiet rm
Paul Ramsey [Mon, 6 Feb 2012 19:45:29 +0000 (19:45 +0000)]
Quiet rm

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

13 years agoquiet echo
Paul Ramsey [Mon, 6 Feb 2012 19:44:08 +0000 (19:44 +0000)]
quiet echo

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

13 years agoDummy up a check target
Paul Ramsey [Mon, 6 Feb 2012 19:33:40 +0000 (19:33 +0000)]
Dummy up a check target

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

13 years agoMove regres forward again
Paul Ramsey [Mon, 6 Feb 2012 19:32:17 +0000 (19:32 +0000)]
Move regres forward again

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

13 years agoMake exensions depend on comments, so also depend on xsltproc
Paul Ramsey [Mon, 6 Feb 2012 19:30:12 +0000 (19:30 +0000)]
Make exensions depend on comments, so also depend on xsltproc

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

13 years agoDuplicate named case-insensitive XML refentry ids / HTML files (#1511)
Paul Ramsey [Mon, 6 Feb 2012 19:13:47 +0000 (19:13 +0000)]
Duplicate named case-insensitive XML refentry ids / HTML files (#1511)

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

13 years agoPostGIS extensions should build/install automatically if PostGIS is compiled against...
Paul Ramsey [Mon, 6 Feb 2012 19:01:50 +0000 (19:01 +0000)]
PostGIS extensions should build/install automatically if PostGIS is compiled against 9.1 (#1490)

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

13 years agoChange how we calculate minor versions suitable for extension upgrade.
Paul Ramsey [Mon, 6 Feb 2012 18:44:56 +0000 (18:44 +0000)]
Change how we calculate minor versions suitable for extension upgrade.

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

13 years agoChecked connection to SPI manager in ST_MapAlgebraExpr
David Zwarg [Mon, 6 Feb 2012 18:36:07 +0000 (18:36 +0000)]
Checked connection to SPI manager in ST_MapAlgebraExpr

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

13 years agoWhitespace changes to _st_hillshade4ma
David Zwarg [Mon, 6 Feb 2012 17:49:32 +0000 (17:49 +0000)]
Whitespace changes to _st_hillshade4ma

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

13 years agoReordered linking order for core regression tests. Follow up to http://postgis.refrac...
David Zwarg [Mon, 6 Feb 2012 17:26:17 +0000 (17:26 +0000)]
Reordered linking order for core regression tests. Follow up to http://postgis.refractions.net/pipermail/postgis-devel/2011-December/016646.html and r8399

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

13 years agoTabs to spaces (2)
Sandro Santilli [Mon, 6 Feb 2012 13:43:21 +0000 (13:43 +0000)]
Tabs to spaces (2)

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

13 years agoDon't let ValidateTopology choke on invalid edges (#1544)
Sandro Santilli [Mon, 6 Feb 2012 13:16:02 +0000 (13:16 +0000)]
Don't let ValidateTopology choke on invalid edges (#1544)

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

13 years agoAllow 'make check' to run all the way through on OSX (the sed implementation must...
Paul Ramsey [Mon, 6 Feb 2012 03:20:48 +0000 (03:20 +0000)]
Allow 'make check' to run all the way through on OSX (the sed implementation must be slightly different, so let's see if Perl is any more standard). Hopefully other platforms will be happy.

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

13 years agoTry out the pj_get_def() method of finding the spheroid parameters, but: it doesn...
Paul Ramsey [Mon, 6 Feb 2012 02:15:01 +0000 (02:15 +0000)]
Try out the pj_get_def() method of finding the spheroid parameters, but: it doesn't work.

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

13 years agoput in an FAQ about the common function is not unique error that I suspect a lot...
Regina Obe [Sun, 5 Feb 2012 02:15:45 +0000 (02:15 +0000)]
put in an FAQ about the common function is not unique error that I suspect a lot of people will be running into because they don't cast their geometry inputs and that a lot of raster functions have overloaded functions similar to the geometry ones.

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

13 years agoChange encoding reference URL to that used for libiconv rather than PostgreSQL since...
Mark Cave-Ayland [Sun, 5 Feb 2012 00:30:36 +0000 (00:30 +0000)]
Change encoding reference URL to that used for libiconv rather than PostgreSQL since that's what we are using to do the encoding conversion (as per #1303).

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

13 years agoFix for #1540: Fix segfault in shp2pgsql-gui when no port is specified. Prevent deref...
Mark Cave-Ayland [Sun, 5 Feb 2012 00:30:28 +0000 (00:30 +0000)]
Fix for #1540: Fix segfault in shp2pgsql-gui when no port is specified. Prevent dereferencing a NULL pointer if the string is empty.

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

13 years agoImplemented new keywords for 1-raster ST_MapAlgebraExpr (#1525)
Sandro Santilli [Sat, 4 Feb 2012 17:53:39 +0000 (17:53 +0000)]
Implemented new keywords for 1-raster ST_MapAlgebraExpr (#1525)

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