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

13 years agoFix an issue in the shapefile GUI caused by saving the original shapefile name before...
Mark Cave-Ayland [Sat, 4 Feb 2012 02:36:44 +0000 (02:36 +0000)]
Fix an issue in the shapefile GUI caused by saving the original shapefile name before processing.

This was a bug caused by having two separate passes during export; we were saving the original
export shapefile name during the first loop, and so when we came to free() the temporary name
at the end of export it would only free the shapefile name from the last iteration, and do it
multiple times causing random crashes.

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

13 years agoGeography should support SRIDs other than 4326 (#1538)
Paul Ramsey [Sat, 4 Feb 2012 01:30:14 +0000 (01:30 +0000)]
Geography should support SRIDs other than 4326 (#1538)

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

13 years agoAlter the shapefile GUI so that multiple shapefiles can be selected in the import...
Mark Cave-Ayland [Sat, 4 Feb 2012 01:17:33 +0000 (01:17 +0000)]
Alter the shapefile GUI so that multiple shapefiles can be selected in the import file chooser.

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

13 years agoAdd GUI support for the shp2pgsql -S (simple geometries) switch. This closes #660.
Mark Cave-Ayland [Sat, 4 Feb 2012 00:39:38 +0000 (00:39 +0000)]
Add GUI support for the shp2pgsql -S (simple geometries) switch. This closes #660.

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

13 years agoUpdate shapefile GUI "About" text and window title to reflect that it now handles...
Mark Cave-Ayland [Sat, 4 Feb 2012 00:39:31 +0000 (00:39 +0000)]
Update shapefile GUI "About" text and window title to reflect that it now handles export as well as import.

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

13 years agoAdd shapefile dumper (table export) to the shp2pgsql GUI. This closes ticket #1480.
Mark Cave-Ayland [Sat, 4 Feb 2012 00:39:24 +0000 (00:39 +0000)]
Add shapefile dumper (table export) to the shp2pgsql GUI. This closes ticket #1480.

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

13 years agoExplicitly set the output band's pixel type depending on the band being returned...
Bborie Park [Sat, 4 Feb 2012 00:02:08 +0000 (00:02 +0000)]
Explicitly set the output band's pixel type depending on the band being returned (FIRST, SECOND, BOTH.  OTHER is left NULL) in ST_Intersection(raster, raster).  Related ticket is #1537.

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

13 years agoImplemented keywords for 2-raster ST_MapAlgebraExpr as described in #1525. Will...
Bborie Park [Fri, 3 Feb 2012 22:57:36 +0000 (22:57 +0000)]
Implemented keywords for 2-raster ST_MapAlgebraExpr as described in #1525.  Will do 2-raster ST_MapAlgebraFct next.

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

13 years agoSeparate the cache handling code from the transform function
Paul Ramsey [Fri, 3 Feb 2012 21:29:15 +0000 (21:29 +0000)]
Separate the cache handling code from the transform function

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

13 years agoFix pgsql2shp crash when dumping a table without a geo column.
Mark Cave-Ayland [Fri, 3 Feb 2012 21:04:08 +0000 (21:04 +0000)]
Fix pgsql2shp crash when dumping a table without a geo column.

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

13 years agoFix construction of pgsql2shp's main retrieval query in ShpDumperOpenTable().
Mark Cave-Ayland [Fri, 3 Feb 2012 21:04:01 +0000 (21:04 +0000)]
Fix construction of pgsql2shp's main retrieval query in ShpDumperOpenTable().

This fixes a regression which caused pgsql2shp to generate an incorrect SQL query
for tables without any geo columns.

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

13 years agoMove initialisation of pgsql2shp state endian flag to the same location all the other...
Mark Cave-Ayland [Fri, 3 Feb 2012 21:03:54 +0000 (21:03 +0000)]
Move initialisation of pgsql2shp state endian flag to the same location all the other initialisers.

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

13 years agoFix missing #ifdef POSTGIS_GEOS_VERSION ... #endif preventing liblwgeom from compilin...
Mark Cave-Ayland [Fri, 3 Feb 2012 21:03:46 +0000 (21:03 +0000)]
Fix missing #ifdef POSTGIS_GEOS_VERSION ... #endif preventing liblwgeom from compiling on GEOS < 3.3.0.

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

13 years agoFixed optimization bug in 1-raster ST_MapAlgebraExpr. Ticket is #1515.
Bborie Park [Fri, 3 Feb 2012 18:09:27 +0000 (18:09 +0000)]
Fixed optimization bug in 1-raster ST_MapAlgebraExpr.  Ticket is #1515.

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

13 years ago#1530: fix typo in full upgrade -- was using the postgis only script instead of the...
Regina Obe [Fri, 3 Feb 2012 12:51:25 +0000 (12:51 +0000)]
#1530: fix typo in full upgrade -- was using the postgis only script instead of the combined postgis + raster script.  Still need to test, will close out once tested.

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

13 years agoReverted r9014. Hudson ain't happy with sed.
Bborie Park [Fri, 3 Feb 2012 03:58:48 +0000 (03:58 +0000)]
Reverted r9014.  Hudson ain't happy with sed.

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

13 years agoMerge of patch provided in #1533. Thanks gdt.
Bborie Park [Fri, 3 Feb 2012 03:51:26 +0000 (03:51 +0000)]
Merge of patch provided in #1533.  Thanks gdt.

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

13 years agoMessage cleanup by removing unnecessary newlines.
Bborie Park [Thu, 2 Feb 2012 19:25:37 +0000 (19:25 +0000)]
Message cleanup by removing unnecessary newlines.

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

13 years agoRefactored stderr messaging so that C API messages are properly emitted. Based on...
Bborie Park [Thu, 2 Feb 2012 18:47:00 +0000 (18:47 +0000)]
Refactored stderr messaging so that C API messages are properly emitted.  Based on suggestion in comment 4 of #1531.

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

13 years agoAdditional error checking and formatting of error messages
Bborie Park [Thu, 2 Feb 2012 17:38:14 +0000 (17:38 +0000)]
Additional error checking and formatting of error messages

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

13 years agoAdd lwcollection_homogenize and ST_Homogenize (#375)
Paul Ramsey [Wed, 1 Feb 2012 23:55:48 +0000 (23:55 +0000)]
Add lwcollection_homogenize and ST_Homogenize (#375)

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

13 years agoAdd lwcollection_homogenize and ST_Homogenize (#375)
Paul Ramsey [Wed, 1 Feb 2012 23:18:19 +0000 (23:18 +0000)]
Add lwcollection_homogenize and ST_Homogenize (#375)

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

13 years agoSupport curves in lwgeom_homogenize (#1526)
Paul Ramsey [Wed, 1 Feb 2012 23:00:09 +0000 (23:00 +0000)]
Support curves in lwgeom_homogenize (#1526)

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

13 years agoAdded check of values being passed to atan2() in _st_hillshade4ma()
Bborie Park [Wed, 1 Feb 2012 22:06:18 +0000 (22:06 +0000)]
Added check of values being passed to atan2() in _st_hillshade4ma()

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

13 years agoEnhance ST_Rotate by adding offset origin parameters (#1251) from mwtoews
Paul Ramsey [Wed, 1 Feb 2012 21:27:01 +0000 (21:27 +0000)]
Enhance ST_Rotate by adding offset origin parameters (#1251) from mwtoews

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

13 years agoST_Azimuth, ST_Project regression tests (#1398)
Paul Ramsey [Wed, 1 Feb 2012 21:17:10 +0000 (21:17 +0000)]
ST_Azimuth, ST_Project regression tests (#1398)

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

13 years agoAlso remove .gitignore files from tarbal distro
Paul Ramsey [Wed, 1 Feb 2012 17:39:13 +0000 (17:39 +0000)]
Also remove .gitignore files from tarbal distro

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