]> granicus.if.org Git - postgis/log
postgis
13 years agocorrect ST_Resample arguments to agree with implementation. Still need to fill in...
Regina Obe [Fri, 18 Nov 2011 00:17:37 +0000 (00:17 +0000)]
correct ST_Resample arguments to agree with implementation.  Still need to fill in descriptions of what all params mean

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

13 years agoFix the 8.4 error only described in #1296.
Bborie Park [Thu, 17 Nov 2011 22:48:57 +0000 (22:48 +0000)]
Fix the 8.4 error only described in #1296.

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

13 years agoAdditional corrections and cleanup for ST_BandNoDataValue
Bborie Park [Thu, 17 Nov 2011 15:04:50 +0000 (15:04 +0000)]
Additional corrections and cleanup for ST_BandNoDataValue

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

13 years agoFixed a bunch of other nodataval datatype issues.
Bborie Park [Thu, 17 Nov 2011 14:57:40 +0000 (14:57 +0000)]
Fixed a bunch of other nodataval datatype issues.

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

13 years agoFixed invalid handling of nodatavalue in ST_BandMetaData(). Issue arises due to...
Bborie Park [Thu, 17 Nov 2011 14:49:34 +0000 (14:49 +0000)]
Fixed invalid handling of nodatavalue in ST_BandMetaData().  Issue arises due to C backend using Float8GetDatum while SQL frontend using real datatype.

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

13 years agoput in some spacing
Regina Obe [Thu, 17 Nov 2011 04:25:51 +0000 (04:25 +0000)]
put in some spacing

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

13 years agomore event ideas
Regina Obe [Thu, 17 Nov 2011 01:44:08 +0000 (01:44 +0000)]
more event ideas

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

13 years agoput in missing svn:keywords fix formatting of cards so easier to break on pages
Regina Obe [Wed, 16 Nov 2011 20:39:43 +0000 (20:39 +0000)]
put in missing svn:keywords  fix formatting of cards so easier to break on pages

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

13 years agoPost GIS day commemorative cards generator
Regina Obe [Wed, 16 Nov 2011 17:38:44 +0000 (17:38 +0000)]
Post GIS day commemorative cards generator

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

13 years agologic to create a an topology_upgrade_20_minor.sql
Regina Obe [Wed, 16 Nov 2011 03:41:37 +0000 (03:41 +0000)]
logic to create a an topology_upgrade_20_minor.sql

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

13 years agoRemoved hardcoded SRID of 0 and replaced with ST_SRID('Point(0 0)'::geometry)
Bborie Park [Tue, 15 Nov 2011 18:15:36 +0000 (18:15 +0000)]
Removed hardcoded SRID of 0 and replaced with ST_SRID('Point(0 0)'::geometry)

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

13 years agoput in missing t in raster load examples
Regina Obe [Tue, 15 Nov 2011 00:48:16 +0000 (00:48 +0000)]
put in missing t in raster load examples

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

13 years agoAdded single version of map algebra that operates on neighborhoods.
David Zwarg [Mon, 14 Nov 2011 23:21:12 +0000 (23:21 +0000)]
Added single version of map algebra that operates on neighborhoods.

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

13 years agoAdded ability to specify raster width and height to ST_Resample.
Bborie Park [Mon, 14 Nov 2011 21:40:25 +0000 (21:40 +0000)]
Added ability to specify raster width and height to ST_Resample.

Associated ticket is #1267

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

13 years agorevise extension upgrade builder to use new remove functions from extension before...
Regina Obe [Mon, 14 Nov 2011 08:15:13 +0000 (08:15 +0000)]
revise extension upgrade builder to use new remove functions from extension before attemtpting to readd them. Cool I can now upgrade my 2.0.0a3 to 2.0.0a.6 without any complaints.

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

13 years agominor corrections to extension helper, create extension uninstall, incorporate in...
Regina Obe [Mon, 14 Nov 2011 07:36:54 +0000 (07:36 +0000)]
minor corrections to extension helper, create extension uninstall, incorporate in topology extension upgrade script

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

13 years agohelper functions for creating upgrade extension script. So far helper so I can sneak...
Regina Obe [Mon, 14 Nov 2011 05:44:18 +0000 (05:44 +0000)]
helper functions for creating upgrade extension script.  So far helper so I can sneakingly drop functions from an existing extension so I can reinstall them if a create or replace will not be sufficient.(so I avoid the dreaded error -- can't drop function /aggregate because its part of an extension.)

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

13 years ago#1288: correct some obsolete advice about how to create indexes and register a geomet...
Regina Obe [Sun, 13 Nov 2011 03:45:53 +0000 (03:45 +0000)]
#1288: correct some obsolete advice about how to create indexes and register a geometry column.

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

13 years agoDo not consider nodes with the same bounding box as being equal.
Sandro Santilli [Sat, 12 Nov 2011 18:20:56 +0000 (18:20 +0000)]
Do not consider nodes with the same bounding box as being equal.

Fixes bug #1284. Includes regression test.

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

13 years agoAdded checks to make sure user-function is valid. Also added check for volatility...
Bborie Park [Sat, 12 Nov 2011 15:12:30 +0000 (15:12 +0000)]
Added checks to make sure user-function is valid.  Also added check for volatility of user-function with notice if function is volatile.

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

13 years agoFix typo
Regina Obe [Sat, 12 Nov 2011 13:14:40 +0000 (13:14 +0000)]
Fix typo

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

13 years agoescape html entitities in program listing of ST_MApAlgebrafct 2 band version
Regina Obe [Sat, 12 Nov 2011 05:28:34 +0000 (05:28 +0000)]
escape html entitities in program listing of ST_MApAlgebrafct 2 band version

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

13 years agoadd examples and fix arg list
Regina Obe [Sat, 12 Nov 2011 04:27:51 +0000 (04:27 +0000)]
add examples and fix arg list

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

13 years agoRemoved third variant as it conflicts with the second variant of 2-raster ST_MapAlgeb...
Bborie Park [Sat, 12 Nov 2011 00:01:45 +0000 (00:01 +0000)]
Removed third variant as it conflicts with the second variant of 2-raster ST_MapAlgebraFct

Related ticket is #1283

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

13 years agobegin documentation of 2 band ST_MapAlgebraFct -- waiting for dustymugs to fix signat...
Regina Obe [Fri, 11 Nov 2011 23:07:44 +0000 (23:07 +0000)]
begin documentation of 2 band ST_MapAlgebraFct -- waiting for dustymugs to fix signature before providing examples

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

13 years agofix arg list in ST_MapAlgebraExpr single band version (nodatavalexpr got relaplced...
Regina Obe [Fri, 11 Nov 2011 20:34:05 +0000 (20:34 +0000)]
fix arg list in ST_MapAlgebraExpr single band version (nodatavalexpr got relaplced with nodataval which is now double precision instead of text)

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

13 years agoAdded more test to plpgsql ST_MapAlgebraFctNgb prototype.
David Zwarg [Fri, 11 Nov 2011 19:31:29 +0000 (19:31 +0000)]
Added more test to plpgsql ST_MapAlgebraFctNgb prototype.

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

13 years agoAdded pl/pgsql prototype of the neighborhood map algebra function.
David Zwarg [Fri, 11 Nov 2011 18:50:18 +0000 (18:50 +0000)]
Added pl/pgsql prototype of the neighborhood map algebra function.

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

13 years agoRemoved commented-out stubs for nonexistant RASTER_mapAlgebra2Fct
Bborie Park [Fri, 11 Nov 2011 15:45:32 +0000 (15:45 +0000)]
Removed commented-out stubs for nonexistant RASTER_mapAlgebra2Fct

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

13 years agoAdd ST_MapAlgebraFct for 2 rasters. This is the sibling of 2-raster ST_MapAlgebraExp...
Bborie Park [Fri, 11 Nov 2011 15:41:32 +0000 (15:41 +0000)]
Add ST_MapAlgebraFct for 2 rasters.  This is the sibling of 2-raster ST_MapAlgebraExpr.  Renamed RASTER_mapAlgebra2Expr to RASTER_mapAlgebra2 as both 2-raster ST_MapAlgebraExpr and ST_MapAlgebraFct call the same function.

Associated ticket is #1281.

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

13 years agoput comment about expression
Regina Obe [Fri, 11 Nov 2011 08:40:57 +0000 (08:40 +0000)]
put comment about expression

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

13 years agoUpdated documentation for all variants of ST_MapAlgebraFct.
David Zwarg [Thu, 10 Nov 2011 20:59:17 +0000 (20:59 +0000)]
Updated documentation for all variants of ST_MapAlgebraFct.

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

13 years agoMake sure to "round-to-float" boxes read from serialized, no matter if there was...
Sandro Santilli [Thu, 10 Nov 2011 11:10:19 +0000 (11:10 +0000)]
Make sure to "round-to-float" boxes read from serialized, no matter if there was or not a cache. Fixes #1273. Includes regress testing. Note: would be worth to also test the 2-points line case (I didn't in this specific commit, but the patch should fix that as well).

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

13 years agoadd missing references to other functions used
Regina Obe [Thu, 10 Nov 2011 00:18:44 +0000 (00:18 +0000)]
add missing references to other functions used

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

13 years agoAdd example of overlaying single rasters on same canvas
Regina Obe [Thu, 10 Nov 2011 00:15:11 +0000 (00:15 +0000)]
Add example of overlaying single rasters on same canvas

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

13 years agoSignatures changed for ST_MapAlgebraExpr where nodatavaluerepl (text) is now nodatava...
Bborie Park [Thu, 10 Nov 2011 00:02:49 +0000 (00:02 +0000)]
Signatures changed for ST_MapAlgebraExpr where nodatavaluerepl (text) is now nodataval (double precision)

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

13 years agoRemoved all remaining memory leaks from testapi.c
Bborie Park [Wed, 9 Nov 2011 23:52:45 +0000 (23:52 +0000)]
Removed all remaining memory leaks from testapi.c

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

13 years agoRolled back attempt to clean up memory handling. We'll just live with this until...
Bborie Park [Wed, 9 Nov 2011 23:12:29 +0000 (23:12 +0000)]
Rolled back attempt to clean up memory handling.  We'll just live with this until testapi.c is replaced by cunit tests for raster.

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

13 years agoSeparated the output raster's extent calculation from RASTER_mapAlgebra2Expr() in...
Bborie Park [Wed, 9 Nov 2011 23:00:53 +0000 (23:00 +0000)]
Separated the output raster's extent calculation from RASTER_mapAlgebra2Expr() in rt_pg.c to rt_raster_from_two_rasters() in rt_api.c.  Added test of rt_raster_from_two_rasters() in testapi.c

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

13 years agofix typos, provide description for nodatanodataval (pierre / bborie /dzwarg -- please...
Regina Obe [Wed, 9 Nov 2011 17:15:31 +0000 (17:15 +0000)]
fix typos, provide description for nodatanodataval (pierre / bborie /dzwarg -- please check my definitions to make sure they are right)

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

13 years agoFixed bug where an expression doesn't contain a placeholder (either rast1 or rast2).
Bborie Park [Wed, 9 Nov 2011 15:35:06 +0000 (15:35 +0000)]
Fixed bug where an expression doesn't contain a placeholder (either rast1 or rast2).

Associated ticket is #1276.

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

13 years agofix minor typos
Regina Obe [Wed, 9 Nov 2011 05:02:22 +0000 (05:02 +0000)]
fix minor typos

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

13 years agoincrement version
Regina Obe [Wed, 9 Nov 2011 03:52:04 +0000 (03:52 +0000)]
increment version

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

13 years agobreak out what all the different arguments are in 2 map algebra.
Regina Obe [Wed, 9 Nov 2011 03:45:49 +0000 (03:45 +0000)]
break out what all the different arguments are in 2 map algebra.

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

13 years agofix some typos, revise example demonstrating difference between intersection and...
Regina Obe [Wed, 9 Nov 2011 02:55:40 +0000 (02:55 +0000)]
fix some typos, revise example demonstrating difference between intersection and union.  include pictures.

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

13 years agoAdd ST_BandMetaData to drop target. Upgrade can't install the new version otherwise...
Regina Obe [Wed, 9 Nov 2011 01:05:24 +0000 (01:05 +0000)]
Add ST_BandMetaData to drop target.  Upgrade can't install the new version otherwise since the output parameter data types changed.

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

13 years agoFix floating point issues in rt_raster_geopoint_to_cell in addition to other minor...
Bborie Park [Tue, 8 Nov 2011 23:18:37 +0000 (23:18 +0000)]
Fix floating point issues in rt_raster_geopoint_to_cell in addition to other minor changes.

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

13 years agoBug fix for evaluating remainder when remainder is infinitely close to 1. Basically...
Bborie Park [Tue, 8 Nov 2011 21:34:12 +0000 (21:34 +0000)]
Bug fix for evaluating remainder when remainder is infinitely close to 1.  Basically, the check wasn't added to a block of code those similar blocks of code had the check.

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

13 years agoST_MapAlgebraExpr - 2 band version - incorporate Pierre's corrections / additions
Regina Obe [Tue, 8 Nov 2011 20:32:09 +0000 (20:32 +0000)]
ST_MapAlgebraExpr - 2 band version - incorporate Pierre's corrections / additions

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

13 years agodocument ST_MapAlgebraExpr (2 raster band version). Need to clean up the example...
Regina Obe [Tue, 8 Nov 2011 18:41:57 +0000 (18:41 +0000)]
document ST_MapAlgebraExpr (2 raster band version).  Need to clean up the example also figure out how I managed to crash my server with this.

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

13 years agoDo the "are boxes different?" test in ST_Equals using a tolerance instead of exact...
Paul Ramsey [Tue, 8 Nov 2011 17:47:04 +0000 (17:47 +0000)]
Do the "are boxes different?" test in ST_Equals using a tolerance instead of exact comparisons.

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

13 years agoRe-fix robustness issue on 32bit system (seg is 0-based, npoints is 1-based but segme...
Sandro Santilli [Tue, 8 Nov 2011 10:23:07 +0000 (10:23 +0000)]
Re-fix robustness issue on 32bit system (seg is 0-based, npoints is 1-based but segments is npoints-1)

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

13 years agoGive unique names to linearref tests
Sandro Santilli [Tue, 8 Nov 2011 08:55:14 +0000 (08:55 +0000)]
Give unique names to linearref tests

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

13 years agoAdd test for bug #1270
Sandro Santilli [Tue, 8 Nov 2011 08:55:09 +0000 (08:55 +0000)]
Add test for bug #1270

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

13 years agoFix st_line_locate_point check for "last point" (#1271)
Sandro Santilli [Tue, 8 Nov 2011 08:51:15 +0000 (08:51 +0000)]
Fix st_line_locate_point check for "last point" (#1271)

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

13 years agoRenamed ST_MapAlgebra2Expr to ST_MapAlgebra after concensus with Pierre and Regina.
Bborie Park [Tue, 8 Nov 2011 05:27:51 +0000 (05:27 +0000)]
Renamed ST_MapAlgebra2Expr to ST_MapAlgebra after concensus with Pierre and Regina.

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

13 years agoReplaced ST_MapAlgebraExpr's "nodatavalueexpr" parameter with "nodataval" and datatyp...
Bborie Park [Tue, 8 Nov 2011 00:00:51 +0000 (00:00 +0000)]
Replaced ST_MapAlgebraExpr's "nodatavalueexpr" parameter with "nodataval" and datatype changed from text to double precision.  This makes this parameter the same as "nodatanodataval" found in ST_MapAlgebra2Expr.

Associated ticket is #866

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

13 years agoRephrased a sentence or two in ST_Resample. Might not be the best.
Bborie Park [Mon, 7 Nov 2011 21:17:02 +0000 (21:17 +0000)]
Rephrased a sentence or two in ST_Resample.  Might not be the best.

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

13 years agoAddition of 2-raster map algebra function ST_MapAlgebra2Expr. Next is ST_MapAlgebra2Fct.
Bborie Park [Mon, 7 Nov 2011 21:07:56 +0000 (21:07 +0000)]
Addition of 2-raster map algebra function ST_MapAlgebra2Expr.  Next is ST_MapAlgebra2Fct.

Ticket is #1268.

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

13 years agoEnhance robustness of ptarray_locate_point, fixing bug #1269.
Sandro Santilli [Mon, 7 Nov 2011 17:01:50 +0000 (17:01 +0000)]
Enhance robustness of ptarray_locate_point, fixing bug #1269.

Includes regression testcase.

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

13 years agoFollowing the cleanup in r8104, additional cleanup to remove POSTGIS_GDAL_VERSION
Bborie Park [Sun, 6 Nov 2011 20:26:50 +0000 (20:26 +0000)]
Following the cleanup in r8104, additional cleanup to remove POSTGIS_GDAL_VERSION

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

13 years agoDouble-check line splitting to avoid returning empty components
Sandro Santilli [Sun, 6 Nov 2011 20:17:43 +0000 (20:17 +0000)]
Double-check line splitting to avoid returning empty components

It happened on my 32bit system based on presence or absence of an lwnotice call, probably a compiler bug...

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

13 years agoDon't change SQL at compile time. The code is safe enough.
Sandro Santilli [Sun, 6 Nov 2011 19:39:40 +0000 (19:39 +0000)]
Don't change SQL at compile time. The code is safe enough.

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

13 years agoRenamed output parameter "hasnodatavalue" to "hasnodata" in ST_BandMetadata(). This...
Bborie Park [Sun, 6 Nov 2011 19:30:32 +0000 (19:30 +0000)]
Renamed output parameter "hasnodatavalue" to "hasnodata" in ST_BandMetadata().  This makes the parameter name consistent with all other use of "hasnodata" and the docs for ST_BandMetadata.

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

13 years agoFixed the bug described in #1263. Also fixed additional code that has the same probl...
Bborie Park [Sun, 6 Nov 2011 04:56:30 +0000 (04:56 +0000)]
Fixed the bug described in #1263.  Also fixed additional code that has the same problem.  Additional syntax cleaning and comments updated.  Fixed the problem with "make check" running test/core twice.

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

13 years agoReverted r8100 due to regression failures. Instead, I added an exception check to...
Bborie Park [Sat, 5 Nov 2011 22:40:46 +0000 (22:40 +0000)]
Reverted r8100 due to regression failures. Instead, I added an exception check to catch for when the client isn't able to find postgis_gdal_version in the search path.

Associated ticket is #1266

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

13 years agoMoved postgis_gdal_version() from rtpostgis.sql.in.c to postgis.sql.in.c. Added...
Bborie Park [Sat, 5 Nov 2011 14:28:48 +0000 (14:28 +0000)]
Moved postgis_gdal_version() from rtpostgis.sql.in.c to postgis.sql.in.c.  Added additional sed command to postgis/Makefile.in to handle RASTER_MODULE_PATH so as to continue using the underlyiing RASTER_gdal_version().

Associated ticket is #1266.

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

13 years agoFix output of ST_Node -- evidentally we haven't yet instituted the change to output...
Regina Obe [Sat, 5 Nov 2011 03:50:14 +0000 (03:50 +0000)]
Fix output of ST_Node -- evidentally we haven't yet instituted the change to output MULTILINESTRINGZ etc in WKT in ST_AsText nor ST_AsEWKT

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

13 years agoincrement to 2.0.0a4
Regina Obe [Fri, 4 Nov 2011 22:06:45 +0000 (22:06 +0000)]
increment to 2.0.0a4

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

13 years agoincrement to 2.0.0a4
Regina Obe [Fri, 4 Nov 2011 22:05:18 +0000 (22:05 +0000)]
increment to 2.0.0a4

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

13 years agoalphabatize reference_processing section. Change postgis cheatsheet to output to...
Regina Obe [Fri, 4 Nov 2011 21:43:45 +0000 (21:43 +0000)]
alphabatize reference_processing section.  Change postgis cheatsheet to output to 2 columns.  Minor adjusts to tiger cheatsheet

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

13 years ago#1206: put in example for ST_Node. Can't test yet since my geos is recompiling.
Regina Obe [Fri, 4 Nov 2011 20:46:33 +0000 (20:46 +0000)]
#1206: put in example for ST_Node.  Can't test yet since my geos is recompiling.

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

13 years agoDocument ST_Node (#1206)
Sandro Santilli [Fri, 4 Nov 2011 18:48:14 +0000 (18:48 +0000)]
Document ST_Node (#1206)

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

13 years agoAdd SQL-level tests for ST_Node (#1206)
Sandro Santilli [Fri, 4 Nov 2011 18:24:54 +0000 (18:24 +0000)]
Add SQL-level tests for ST_Node (#1206)

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

13 years agoFix clean rule to get rid of .o files
Sandro Santilli [Fri, 4 Nov 2011 18:17:10 +0000 (18:17 +0000)]
Fix clean rule to get rid of .o files

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

13 years agoExpose ST_Node at SQL level (#1206)
Sandro Santilli [Fri, 4 Nov 2011 14:25:00 +0000 (14:25 +0000)]
Expose ST_Node at SQL level (#1206)

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

13 years agoability to turn off example generation, and change to turn off by default
Regina Obe [Fri, 4 Nov 2011 12:22:25 +0000 (12:22 +0000)]
ability to turn off example generation, and change to turn off by default

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

13 years agoFix builds againts GEOS < 3.3
Sandro Santilli [Fri, 4 Nov 2011 08:15:53 +0000 (08:15 +0000)]
Fix builds againts GEOS < 3.3

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

13 years agoAdd an lwgeom_node function in liblwgeom (see #1206)
Sandro Santilli [Fri, 4 Nov 2011 06:45:10 +0000 (06:45 +0000)]
Add an lwgeom_node function in liblwgeom (see #1206)
Includes testcase

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

13 years agoAdd enhanced note for AddGeometryColumn
Regina Obe [Fri, 4 Nov 2011 00:57:08 +0000 (00:57 +0000)]
Add enhanced note for AddGeometryColumn

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

13 years agoAdd lwcollection_reserve internal function
Sandro Santilli [Thu, 3 Nov 2011 17:28:01 +0000 (17:28 +0000)]
Add lwcollection_reserve internal function

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

13 years agoPass GEOS version to unit tests, skip test for SPLIT when building against older...
Sandro Santilli [Thu, 3 Nov 2011 17:09:17 +0000 (17:09 +0000)]
Pass GEOS version to unit tests, skip test for SPLIT when building against older geos.

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

13 years agoAdd an line-by-point internal split function taking an output vector.
Sandro Santilli [Thu, 3 Nov 2011 16:20:39 +0000 (16:20 +0000)]
Add an line-by-point internal split function taking an output vector.
Regress test the new function.

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

13 years agoAdd test for ST_Summary
Sandro Santilli [Wed, 2 Nov 2011 16:53:09 +0000 (16:53 +0000)]
Add test for ST_Summary

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

13 years agochange order of populate_geometry_columns drop all one depends on oid one
Regina Obe [Wed, 2 Nov 2011 13:48:52 +0000 (13:48 +0000)]
change order of populate_geometry_columns drop all one depends on oid one

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

13 years agodrop populate_geometry_columns(). This is needed because got replaced by populate_g...
Regina Obe [Wed, 2 Nov 2011 13:47:51 +0000 (13:47 +0000)]
drop  populate_geometry_columns().  This is needed because got replaced by populate_geometry_columns(use_typmod=true).  So if both exist get function is not unique error

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

13 years ago#1256 drop memgeomunion so geomunion can be dropped
Regina Obe [Wed, 2 Nov 2011 13:42:31 +0000 (13:42 +0000)]
#1256 drop memgeomunion so geomunion can be dropped

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

13 years agomore formatting experiments
Regina Obe [Wed, 2 Nov 2011 06:50:00 +0000 (06:50 +0000)]
more formatting experiments

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

13 years agoComposite geometries end up with nested BBOX caches (#1254)
Paul Ramsey [Wed, 2 Nov 2011 04:28:05 +0000 (04:28 +0000)]
Composite geometries end up with nested BBOX caches (#1254)

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

13 years agoBased upon mailing list discussion, changed call to ST_AsRaster in _st_intersects...
Bborie Park [Tue, 1 Nov 2011 18:17:26 +0000 (18:17 +0000)]
Based upon mailing list discussion, changed call to ST_AsRaster in _st_intersects(raster, geometry) to _st_asraster.

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

13 years agoMake st_summary at least return consistent results (#1254)
Paul Ramsey [Tue, 1 Nov 2011 17:59:00 +0000 (17:59 +0000)]
Make st_summary at least return consistent results (#1254)

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

13 years agodocument ST_SameAlignment
Regina Obe [Tue, 1 Nov 2011 17:11:54 +0000 (17:11 +0000)]
document ST_SameAlignment

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

13 years agorevise all to output arg list and conditionally show examples and descriptions
Regina Obe [Tue, 1 Nov 2011 04:41:37 +0000 (04:41 +0000)]
revise all to output arg list and conditionally show examples and descriptions

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

13 years agoxsl to generate postgis cheatsheet, add make cheatsheet to gnumake, better outptuting...
Regina Obe [Tue, 1 Nov 2011 03:06:55 +0000 (03:06 +0000)]
xsl to generate postgis cheatsheet, add make cheatsheet to gnumake, better outptuting of functions with different protos.

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

13 years agoST_CreateTopoGeo: speedup merged lines splitting [RT-SIGTA]
Sandro Santilli [Mon, 31 Oct 2011 22:26:22 +0000 (22:26 +0000)]
ST_CreateTopoGeo: speedup merged lines splitting [RT-SIGTA]

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

13 years agoIncrease accuracy of area calculation (#810)
Paul Ramsey [Mon, 31 Oct 2011 21:18:11 +0000 (21:18 +0000)]
Increase accuracy of area calculation (#810)

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

13 years agoRemove redundant prototype
Paul Ramsey [Mon, 31 Oct 2011 20:59:07 +0000 (20:59 +0000)]
Remove redundant prototype

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

13 years agoMove gserialized_get_gbox_p to liblwgeom and gserialized_read_gbox_p to liblwgeom_int...
Paul Ramsey [Mon, 31 Oct 2011 20:55:05 +0000 (20:55 +0000)]
Move gserialized_get_gbox_p to liblwgeom and gserialized_read_gbox_p to liblwgeom_internal

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

13 years agoRename pglwgeom_box2d_p
Paul Ramsey [Mon, 31 Oct 2011 20:23:44 +0000 (20:23 +0000)]
Rename pglwgeom_box2d_p

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

13 years agoadd raster cheat sheet generator -- and a make cheatsheets command to generate all.
Regina Obe [Mon, 31 Oct 2011 20:02:11 +0000 (20:02 +0000)]
add raster cheat sheet generator -- and a make cheatsheets command to generate all.

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