]> granicus.if.org Git - postgis/log
postgis
13 years agofix typo in GML description noted by strk
Regina Obe [Wed, 23 Nov 2011 15:27:59 +0000 (15:27 +0000)]
fix typo in GML description noted by strk

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

13 years agocorrect signatures of some functions changed to use more default args
Regina Obe [Wed, 23 Nov 2011 02:17:27 +0000 (02:17 +0000)]
correct signatures of some functions changed to use more default args

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

13 years agoPrefixed internal C utility functions with rtpg_. This keeps the coding style inline...
Bborie Park [Tue, 22 Nov 2011 19:01:26 +0000 (19:01 +0000)]
Prefixed internal C utility functions with rtpg_.  This keeps the coding style inline with that for postgis.

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

13 years agoCorrected incorrect drop function statement.
Bborie Park [Tue, 22 Nov 2011 18:10:07 +0000 (18:10 +0000)]
Corrected incorrect drop function statement.

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

13 years agoMore SQL function cleanup with use of default parameter values.
Bborie Park [Tue, 22 Nov 2011 17:58:35 +0000 (17:58 +0000)]
More SQL function cleanup with use of default parameter values.

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

13 years agoup the alpha numbers
Regina Obe [Tue, 22 Nov 2011 09:26:56 +0000 (09:26 +0000)]
up the alpha numbers

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

13 years agomissed a spot
Regina Obe [Tue, 22 Nov 2011 09:21:14 +0000 (09:21 +0000)]
missed a spot

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

13 years agocorrect documentation to get rid of protos eradicated in r8218 (so extensions installs)
Regina Obe [Tue, 22 Nov 2011 09:05:36 +0000 (09:05 +0000)]
correct documentation to get rid of protos eradicated in r8218 (so extensions installs)

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

13 years agoAdditional function cleanup by making use of DEFAULT parameter values
Bborie Park [Tue, 22 Nov 2011 01:06:50 +0000 (01:06 +0000)]
Additional function cleanup by making use of DEFAULT parameter values

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

13 years agoFixed expression parsing in RASTER_mapAlgebra2. Evidently, the count parameter of...
Bborie Park [Mon, 21 Nov 2011 20:09:10 +0000 (20:09 +0000)]
Fixed expression parsing in RASTER_mapAlgebra2.  Evidently, the count parameter of replace() is an input/output parameter.

Associated ticket is #1317.

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

13 years agoFixed behavior of one raster not having specified band and being sampled.
Bborie Park [Mon, 21 Nov 2011 19:55:54 +0000 (19:55 +0000)]
Fixed behavior of one raster not having specified band and being sampled.

Associated ticket is #1316.

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

13 years agoFixed extent bug for UNION in rt_raster_from_two_rasters
Bborie Park [Mon, 21 Nov 2011 19:18:37 +0000 (19:18 +0000)]
Fixed extent bug for UNION in rt_raster_from_two_rasters

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

13 years agodescription corrections to ST_MapAlgebraNgbFct based on input from dzwarg
Regina Obe [Mon, 21 Nov 2011 19:18:34 +0000 (19:18 +0000)]
description corrections to ST_MapAlgebraNgbFct based on input from dzwarg

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

13 years agoMany fix following the C implementation of the two raster version of ST_MapAlgebra.
Pierre Racine [Mon, 21 Nov 2011 17:37:06 +0000 (17:37 +0000)]
Many fix following the C implementation of the two raster version of ST_MapAlgebra.

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

13 years agoAdd a vertex-snap-tolerance parameter to ptarray_substring
Sandro Santilli [Mon, 21 Nov 2011 16:32:27 +0000 (16:32 +0000)]
Add a vertex-snap-tolerance parameter to ptarray_substring

This is aimed at improving robustness for ST_Split, which now
uses an hard-coded tolerance of 1e-14 (see #1311)

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

13 years agorevise explanation based on trying to read the code to figure out what nodatamode...
Regina Obe [Mon, 21 Nov 2011 16:15:46 +0000 (16:15 +0000)]
revise explanation based on trying to read the code to figure out what nodatamode in theory should be doing

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

13 years agoNumerate tests for line_substring
Sandro Santilli [Mon, 21 Nov 2011 16:03:25 +0000 (16:03 +0000)]
Numerate tests for line_substring

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

13 years ago-Fix cut and paste error
Pierre Racine [Mon, 21 Nov 2011 15:59:54 +0000 (15:59 +0000)]
-Fix cut and paste error

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

13 years agoget rid of extra para tag
Regina Obe [Mon, 21 Nov 2011 15:37:12 +0000 (15:37 +0000)]
get rid of extra para tag

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

13 years agoST_MapAlgebraFctNgb:add in the nodatamode to ST_ (forgot it last time). I still...
Regina Obe [Mon, 21 Nov 2011 15:32:12 +0000 (15:32 +0000)]
ST_MapAlgebraFctNgb:add in the nodatamode to ST_ (forgot it last time).  I still have no clue what this parameter does -- doesn't seem to do anything for me like get rid of the border. Add in links to where to get example raster used. fix some typos

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

13 years agoAdd testcase for #1311 (lwgeom_split).
Sandro Santilli [Mon, 21 Nov 2011 14:59:36 +0000 (14:59 +0000)]
Add testcase for #1311 (lwgeom_split).

Also fix existing testcase (wasn't really testing it).

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

13 years agoFix memory leak in lwgeom_split
Sandro Santilli [Mon, 21 Nov 2011 14:59:30 +0000 (14:59 +0000)]
Fix memory leak in lwgeom_split

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

13 years agoHush warning about missing prototype.
Sandro Santilli [Mon, 21 Nov 2011 12:10:25 +0000 (12:10 +0000)]
Hush warning about missing prototype.

This is really a commit intended to amend the previous for the sake
of pointing to the correct bug being closed by it: #1273 (not #1023
which is more complex)

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

13 years agoHave gserialized_get_gbox_p always return a round-to-float box
Sandro Santilli [Mon, 21 Nov 2011 12:03:48 +0000 (12:03 +0000)]
Have gserialized_get_gbox_p always return a round-to-float box

That is, even when computing the box from scratch.
This makes the box always float-oriented,
consistently between cached and computed boxes.
Closes (hopefully forever) bug #1023.
Includes testcase otherwise failing.

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

13 years agoAdd testcase for ticket #1302 (now passes)
Sandro Santilli [Mon, 21 Nov 2011 09:33:51 +0000 (09:33 +0000)]
Add testcase for ticket #1302 (now passes)

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

13 years agoUpdate expected error messages not to include the "topology" namespace (now that...
Sandro Santilli [Mon, 21 Nov 2011 08:33:43 +0000 (08:33 +0000)]
Update expected error messages not to include the "topology" namespace (now that it's part of the search_path).

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

13 years agoRename "LibGeom Suite" to simply "libgeom", for easy of use
Sandro Santilli [Mon, 21 Nov 2011 08:23:31 +0000 (08:23 +0000)]
Rename "LibGeom Suite" to simply "libgeom", for easy of use

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

13 years agoSurrender to evidence of the narrow ring tested being clockwise
Sandro Santilli [Mon, 21 Nov 2011 08:21:41 +0000 (08:21 +0000)]
Surrender to evidence of the narrow ring tested being clockwise

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

13 years agoImprove robustness of ptarray_isccw (see #1302)
Sandro Santilli [Mon, 21 Nov 2011 08:08:18 +0000 (08:08 +0000)]
Improve robustness of ptarray_isccw (see #1302)

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

13 years agoLogic to add topology to database search path on install or upgrade
Regina Obe [Mon, 21 Nov 2011 07:48:23 +0000 (07:48 +0000)]
Logic to add topology to database search path on install or upgrade

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

13 years agoFIX upgrade script - complement to r8186 - drop all mapalgebra functions before upgra...
Regina Obe [Mon, 21 Nov 2011 04:02:24 +0000 (04:02 +0000)]
FIX upgrade script - complement to r8186 - drop all mapalgebra functions before upgrade because for pg9.0+ CREATE OR REPLACE FUNCTION fails if argument names have changed.  Also update docs to reflect new naming of userfunction to onerasteruderfunc,tworasteruserfunc,onerasternguserfunc

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

13 years agofix some ST_MapAlgebra userfunc arg names to agree with code. Still ng ones to go...
Regina Obe [Sun, 20 Nov 2011 21:37:44 +0000 (21:37 +0000)]
fix some ST_MapAlgebra userfunc arg names to agree with code. Still ng ones to go and drop fix.

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

13 years agoAdd another test for ptarray_isccw, which incredibly seems to disagree with the same...
Sandro Santilli [Sun, 20 Nov 2011 21:35:18 +0000 (21:35 +0000)]
Add another test for ptarray_isccw, which incredibly seems to disagree with the same check done when the same ring occurs in a polygon

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

13 years agoDo not memcpy to self in ptarray_reverse (see #1302)
Sandro Santilli [Sun, 20 Nov 2011 21:19:12 +0000 (21:19 +0000)]
Do not memcpy to self in ptarray_reverse (see #1302)

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

13 years agoBetter indent for comparing obtained/expected
Sandro Santilli [Sun, 20 Nov 2011 21:19:07 +0000 (21:19 +0000)]
Better indent for comparing obtained/expected

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

13 years agoFix 'clean' rule under loader to drop stuff under .libs
Sandro Santilli [Sun, 20 Nov 2011 20:51:27 +0000 (20:51 +0000)]
Fix 'clean' rule under loader to drop stuff under .libs

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

13 years agoAdd test for lwgeom_force_clockwise (see #1302)
Sandro Santilli [Sun, 20 Nov 2011 20:51:22 +0000 (20:51 +0000)]
Add test for lwgeom_force_clockwise (see #1302)

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

13 years agoAdd test for ptarray_isccw (see #1302)
Sandro Santilli [Sat, 19 Nov 2011 17:28:33 +0000 (17:28 +0000)]
Add test for ptarray_isccw (see #1302)

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

13 years agoAddition of function rt_util_gdal_datatype_to_pixtype to complement rt_util_pixtype_t...
Bborie Park [Fri, 18 Nov 2011 23:47:35 +0000 (23:47 +0000)]
Addition of function rt_util_gdal_datatype_to_pixtype to complement rt_util_pixtype_to_gdal_datatype.

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

13 years agoDocumented ST_Rotation and ST_SetRotation.
David Zwarg [Fri, 18 Nov 2011 22:38:34 +0000 (22:38 +0000)]
Documented ST_Rotation and ST_SetRotation.

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

13 years agoUpdate parameter names for regprocedure data types
Bborie Park [Fri, 18 Nov 2011 21:41:55 +0000 (21:41 +0000)]
Update parameter names for regprocedure data types

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

13 years agoNodata mode defaults to 'ignore' if it is NULL. Added tests for out of range neighbor...
David Zwarg [Fri, 18 Nov 2011 21:28:04 +0000 (21:28 +0000)]
Nodata mode defaults to 'ignore' if it is NULL. Added tests for out of range neighborhoods.

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

13 years agoNon-functional change. Updated author email address for dzwarg.
David Zwarg [Fri, 18 Nov 2011 20:56:57 +0000 (20:56 +0000)]
Non-functional change. Updated author email address for dzwarg.

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

13 years agoRefactored ST_MapAlgebraFctNgb to cache userfunction lookup, and accept NULL input...
David Zwarg [Fri, 18 Nov 2011 20:53:46 +0000 (20:53 +0000)]
Refactored ST_MapAlgebraFctNgb to cache userfunction lookup, and accept NULL input and output values.

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

13 years agoRefactored ST_MapAlgebraFct to cache userfunction lookup, and accept NULL input and...
David Zwarg [Fri, 18 Nov 2011 20:15:00 +0000 (20:15 +0000)]
Refactored ST_MapAlgebraFct to cache userfunction lookup, and accept NULL input and output values.

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

13 years agoAdded a flag --with-raster-dblwarning so as to provide the software builder the optio...
Bborie Park [Fri, 18 Nov 2011 18:30:00 +0000 (18:30 +0000)]
Added a flag --with-raster-dblwarning so as to provide the software builder the option of enabling all the value truncation/clamping/conversion warnings, which can be many.  The new default is to suppress those warnings. All appropriate regression tests have been updated.

Associated ticket is #1307

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

13 years agoEnabled all tests on ST_MapAlgebraFctNgb.
David Zwarg [Fri, 18 Nov 2011 15:53:54 +0000 (15:53 +0000)]
Enabled all tests on ST_MapAlgebraFctNgb.

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

13 years agoFixed debug problem in #1308
David Zwarg [Fri, 18 Nov 2011 14:53:36 +0000 (14:53 +0000)]
Fixed debug problem in #1308

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

13 years agofix minor typo
Regina Obe [Fri, 18 Nov 2011 13:59:37 +0000 (13:59 +0000)]
fix minor typo

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

13 years agodocument new ST_GeomFromGeoJSON function. Will provide examples later once resolved...
Regina Obe [Fri, 18 Nov 2011 13:58:47 +0000 (13:58 +0000)]
document new ST_GeomFromGeoJSON function.  Will provide examples later once resolved my JSON-C compilation issues

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

13 years agominor corrections
Regina Obe [Fri, 18 Nov 2011 13:24:40 +0000 (13:24 +0000)]
minor corrections

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

13 years agoincrement alpha release number to allow upgrade with extensions
Regina Obe [Fri, 18 Nov 2011 03:36:13 +0000 (03:36 +0000)]
increment alpha release number to allow upgrade with extensions

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

13 years agofix code comment
Regina Obe [Fri, 18 Nov 2011 03:08:15 +0000 (03:08 +0000)]
fix code comment

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

13 years agoforgot pixeltype in ngb arg list
Regina Obe [Fri, 18 Nov 2011 02:54:03 +0000 (02:54 +0000)]
forgot pixeltype in ngb arg list

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

13 years agofix typo in linkends
Regina Obe [Fri, 18 Nov 2011 02:48:08 +0000 (02:48 +0000)]
fix typo in linkends

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

13 years agoput in missing spaces
Regina Obe [Fri, 18 Nov 2011 02:32:21 +0000 (02:32 +0000)]
put in missing spaces

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

13 years agoST_MapAlgebraFctNgb (and put in immuatable for other st_mapalgebras)
Regina Obe [Fri, 18 Nov 2011 02:31:02 +0000 (02:31 +0000)]
ST_MapAlgebraFctNgb (and put in immuatable for other st_mapalgebras)

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

13 years ago#1306: document rescale and provide examples, fix st_resample args. (still 2 more...
Regina Obe [Fri, 18 Nov 2011 01:15:54 +0000 (01:15 +0000)]
#1306: document rescale and provide examples, fix st_resample args. (still 2 more to go in this ticket)

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

13 years agoMove library link to appropriate place.
Paul Ramsey [Fri, 18 Nov 2011 00:29:19 +0000 (00:29 +0000)]
Move library link to appropriate place.

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

13 years agoAdd ST_GeomFromGeoJSON (#376)
Paul Ramsey [Fri, 18 Nov 2011 00:17:56 +0000 (00:17 +0000)]
Add ST_GeomFromGeoJSON (#376)

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

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