]> granicus.if.org Git - postgis/log
postgis
14 years agoDo not let ST_AddIsoNode add non-isolated nodes. Allow specifying 0 as the isolated...
Sandro Santilli [Tue, 24 May 2011 06:55:29 +0000 (06:55 +0000)]
Do not let ST_AddIsoNode add non-isolated nodes. Allow specifying 0 as the isolated node face and check it is correct. If containing_face is given as null then compute it. Patch by Andrea Peri. [RT-SIGTA]

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

14 years agoFix for #981 - using astext legacy function in tests
Regina Obe [Tue, 24 May 2011 06:44:34 +0000 (06:44 +0000)]
Fix for #981 - using astext legacy function in tests

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

14 years agofix typos
Regina Obe [Tue, 24 May 2011 06:43:42 +0000 (06:43 +0000)]
fix typos

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

14 years ago#722 remove Centroid and Dump, #949 more additons to uninstall (Centroid, Dump, addbb...
Regina Obe [Tue, 24 May 2011 05:48:47 +0000 (05:48 +0000)]
#722 remove Centroid and Dump, #949 more additons to uninstall (Centroid, Dump, addbbox,dropbbox)

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

14 years agofix link error
Regina Obe [Tue, 24 May 2011 05:19:16 +0000 (05:19 +0000)]
fix link error

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

14 years ago#722 remove AsBinary and AsText, #949 more additons to uninstall (AsText,Asbinary...
Regina Obe [Tue, 24 May 2011 05:05:53 +0000 (05:05 +0000)]
#722 remove AsBinary and AsText, #949 more additons to uninstall (AsText,Asbinary, other output functions)

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

14 years agoDocument ST_ChangeEdgeGeom, revise function to confirm to new plpgsql coding standard...
Regina Obe [Tue, 24 May 2011 03:03:41 +0000 (03:03 +0000)]
Document ST_ChangeEdgeGeom, revise function to confirm to new plpgsql coding standard.  Get rid of redundant && check since its already encapsulated in ST_Intersects and ST_Within

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

14 years agoupdate the list of what's implemented and what not
Sandro Santilli [Mon, 23 May 2011 13:30:41 +0000 (13:30 +0000)]
update the list of what's implemented and what not

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

14 years agoStyle-only change: tab to spaces in ST_AddIsoEdge, shorten name of test topology
Sandro Santilli [Mon, 23 May 2011 13:30:36 +0000 (13:30 +0000)]
Style-only change: tab to spaces in ST_AddIsoEdge, shorten name of test topology

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

14 years agoFix test for ST_AddIsoEdge verifying "geometry intersects an edge" exception. Fix...
Sandro Santilli [Mon, 23 May 2011 13:13:21 +0000 (13:13 +0000)]
Fix test for ST_AddIsoEdge verifying "geometry intersects an edge" exception. Fix exception message raised when attempting to insert a closed edge. Update regress test accoringly.

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

14 years agoST_AddIsoEdge: set containing_face of nodes connected by the newly added edge to...
Sandro Santilli [Mon, 23 May 2011 12:49:51 +0000 (12:49 +0000)]
ST_AddIsoEdge: set containing_face of nodes connected by the newly added edge to null as the nodes are not isolated anymore. Regress test it. Closes ticket #976.

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

14 years agoPut tests for ST_AddIsoEdge in their own file. Fix use of ! rather than "not" for...
Sandro Santilli [Mon, 23 May 2011 12:33:12 +0000 (12:33 +0000)]
Put tests for ST_AddIsoEdge in their own file. Fix use of ! rather than "not" for negating booleans in pl/pgsql.

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

14 years agoUpdate load_topology.sql to properly set MBR field of faces.
Sandro Santilli [Mon, 23 May 2011 11:30:44 +0000 (11:30 +0000)]
Update load_topology.sql to properly set MBR field of faces.

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

14 years agoAnd fix expected test output from st_addedgenewfaces (dunno how I could commit such...
Sandro Santilli [Mon, 23 May 2011 11:28:18 +0000 (11:28 +0000)]
And fix expected test output from st_addedgenewfaces (dunno how I could commit such a partial change...)

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

14 years agoOops, forgot to uncomment temporarely disabled lines
Sandro Santilli [Mon, 23 May 2011 11:26:25 +0000 (11:26 +0000)]
Oops, forgot to uncomment temporarely disabled lines

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

14 years agoTest that topology.ST_AddEdgeNewFaces properly updates isolated edges contained in...
Sandro Santilli [Mon, 23 May 2011 08:44:00 +0000 (08:44 +0000)]
Test that topology.ST_AddEdgeNewFaces properly updates isolated edges contained in a newly created face [RT-SIGTA]

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

14 years ago- fixed band count check in st_asjpeg and st_aspng
Bborie Park [Sun, 22 May 2011 16:06:47 +0000 (16:06 +0000)]
- fixed band count check in st_asjpeg and st_aspng
- fixed regression expected output for rt_aspng

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

14 years agoStart work on #949 uninstall_legacy.sql and also some minor cleanup additions/sorting...
Regina Obe [Sun, 22 May 2011 06:33:04 +0000 (06:33 +0000)]
Start work on #949 uninstall_legacy.sql and also some minor cleanup additions/sorting fo existing

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

14 years agotreating as executable didn't help - going to reinit my db as utf-8 instead
Regina Obe [Fri, 20 May 2011 20:18:59 +0000 (20:18 +0000)]
treating as executable didn't help - going to reinit my db as utf-8 instead

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

14 years agoCommented line that caused memory crash because an invalid free. Related ticket ...
Jorge Arévalo [Fri, 20 May 2011 13:48:32 +0000 (13:48 +0000)]
Commented line that caused memory crash because an invalid free. Related ticket #958.

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

14 years agotopology.AddEdge: make edge linking self-consistent (each added edge will form a...
Sandro Santilli [Thu, 19 May 2011 20:36:47 +0000 (20:36 +0000)]
topology.AddEdge: make edge linking self-consistent (each added edge will form a proper loop)

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

14 years agofix typo
Regina Obe [Thu, 19 May 2011 04:54:36 +0000 (04:54 +0000)]
fix typo

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

14 years agosupport for 2D points, add multipoint 2d / 3d to cunit. Add a mapping table to docum...
Regina Obe [Thu, 19 May 2011 04:53:22 +0000 (04:53 +0000)]
support for 2D points, add multipoint 2d / 3d to cunit.  Add a mapping table to documentation to clarify how we map PostGIS geometries to X3D equivalent.

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

14 years agoclean up some compiler warnings
Regina Obe [Thu, 19 May 2011 04:04:14 +0000 (04:04 +0000)]
clean up some compiler warnings

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

14 years ago- taking a suggestion from strk in #958, all regression tests for functions related...
Bborie Park [Wed, 18 May 2011 23:33:05 +0000 (23:33 +0000)]
- taking a suggestion from strk in #958, all regression tests for functions related to ST_SummaryStats has been rounded to 3 decimal places
- added additional argument checks for pgraster to rt_pg.c
- changed floating point comparisons in rt_pg.c and rt_api.c

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

14 years agoST_AddEdgeNewFaces is now implemented..
Sandro Santilli [Wed, 18 May 2011 16:18:54 +0000 (16:18 +0000)]
ST_AddEdgeNewFaces is now implemented..

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

14 years agotopology.ST_AddEdgeNewFaces implementation and regression test [RT-SIGTA]
Sandro Santilli [Wed, 18 May 2011 16:08:36 +0000 (16:08 +0000)]
topology.ST_AddEdgeNewFaces implementation and regression test [RT-SIGTA]

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

14 years agoST_SummaryStats returns the sum as part of the summary stats.
Bborie Park [Wed, 18 May 2011 14:18:15 +0000 (14:18 +0000)]
ST_SummaryStats returns the sum as part of the summary stats.
_ST_SummaryStats(rastertable, rastercolumn) function changed to make use of the sum and compute a straight mean (sum / count) rather than computing a weighted mean.

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

14 years agotopology.AddFace(): properly update left/right face for edges _contained_ in the...
Sandro Santilli [Wed, 18 May 2011 13:59:03 +0000 (13:59 +0000)]
topology.AddFace(): properly update left/right face for edges _contained_ in the newly registered face and containing_face for isolated nodes in it, refine documentation about it [RT-SIGTA]

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

14 years agodamn mathml you mock me! anyrate put in defaults as Pierre asked for ST_ASTiff (hope...
Regina Obe [Wed, 18 May 2011 13:32:19 +0000 (13:32 +0000)]
damn mathml you mock me! anyrate put in defaults as Pierre asked for ST_ASTiff (hope www... fixes their damn mathml). We really got to stop downloading that file.

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

14 years agodefine ST_SRText and backref
Regina Obe [Wed, 18 May 2011 12:55:32 +0000 (12:55 +0000)]
define ST_SRText and backref

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

14 years agofix ST_ASTIFF incorrect types start putting in defaults
Regina Obe [Wed, 18 May 2011 12:41:00 +0000 (12:41 +0000)]
fix ST_ASTIFF incorrect types start putting in defaults

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

14 years agolet me try to put the opt somewhere else.
Regina Obe [Wed, 18 May 2011 12:05:44 +0000 (12:05 +0000)]
let me try to put the opt somewhere else.

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

14 years agomore mistakes
Regina Obe [Wed, 18 May 2011 11:12:09 +0000 (11:12 +0000)]
more mistakes

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

14 years agofix some incorrect statements
Regina Obe [Wed, 18 May 2011 11:08:40 +0000 (11:08 +0000)]
fix some incorrect statements

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

14 years agotopology.GetRingEdges() implementation and test. This is the first real user of next_...
Sandro Santilli [Wed, 18 May 2011 08:58:34 +0000 (08:58 +0000)]
topology.GetRingEdges() implementation and test. This is the first real user of next_left_edge/next_right_edge fields in the edge table. [RT-SIGTA]

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

14 years agoAdd a short paragraph about the semantic of edge's next_left_edge and next_right_edge...
Sandro Santilli [Wed, 18 May 2011 07:23:06 +0000 (07:23 +0000)]
Add a short paragraph about the semantic of edge's next_left_edge and next_right_edge fields.

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

14 years ago Fix ST_AsTiff function proto typos
Regina Obe [Wed, 18 May 2011 07:15:13 +0000 (07:15 +0000)]
 Fix ST_AsTiff function proto typos

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

14 years agoDocument ST_AsTIFF and fix some missttatements about ST_ASPNG. Also pretend like...
Regina Obe [Wed, 18 May 2011 05:43:38 +0000 (05:43 +0000)]
Document ST_AsTIFF and fix some missttatements about ST_ASPNG.  Also pretend like we are using default args already

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

14 years agoget rid of opt
Regina Obe [Wed, 18 May 2011 05:08:02 +0000 (05:08 +0000)]
get rid of opt

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

14 years agobah just use brackets for optional args -- docbook seems to be ignoring the choice...
Regina Obe [Wed, 18 May 2011 04:43:40 +0000 (04:43 +0000)]
bah just use brackets for optional args -- docbook seems to be ignoring the choice='opt' tag

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

14 years agotry to get optional argument to have brackets using optional tag
Regina Obe [Wed, 18 May 2011 04:13:16 +0000 (04:13 +0000)]
try to get optional argument to have brackets using optional tag

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

14 years agorevise to put optional arguments in [] in the description. Damn dtd keeps downloading
Regina Obe [Wed, 18 May 2011 00:00:07 +0000 (00:00 +0000)]
revise to put optional arguments in [] in the description. Damn dtd keeps downloading

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

14 years agoNothing like experimenting with myself. Change ST_AsX3D to use default parameters...
Regina Obe [Tue, 17 May 2011 22:50:27 +0000 (22:50 +0000)]
Nothing like experimenting with myself.  Change ST_AsX3D to use default parameters and reduce down to one proto

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

14 years agoAppropriately tag GML functions as STABLE, IMMUTABLE or VOLATILE - see bug #955
Sandro Santilli [Tue, 17 May 2011 19:35:20 +0000 (19:35 +0000)]
Appropriately tag GML functions as STABLE, IMMUTABLE or VOLATILE  - see bug #955

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

14 years agomore back ref
Regina Obe [Tue, 17 May 2011 17:51:03 +0000 (17:51 +0000)]
more back ref

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

14 years agofix typos add backrefere to ST_GDALDrivers
Regina Obe [Tue, 17 May 2011 17:45:40 +0000 (17:45 +0000)]
fix typos add backrefere to ST_GDALDrivers

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

14 years agoStrip 'SELECT' feedback from regression test outputs
Sandro Santilli [Tue, 17 May 2011 15:58:34 +0000 (15:58 +0000)]
Strip 'SELECT' feedback from regression test outputs

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

14 years agochanged the dimensions of the raster generated for the summary stats test from 10000...
Bborie Park [Tue, 17 May 2011 15:27:47 +0000 (15:27 +0000)]
changed the dimensions of the raster generated for the summary stats test from 10000 x 10000 to 100 x 100

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

14 years agoCode cleanup of uncorrected statement from r7170
Bborie Park [Tue, 17 May 2011 15:01:54 +0000 (15:01 +0000)]
Code cleanup of uncorrected statement from r7170
Associated ticket is #954

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

14 years agorefactored code that attempted to modify a function parameter as PostgreSQL 8.4 sets...
Bborie Park [Tue, 17 May 2011 14:46:37 +0000 (14:46 +0000)]
refactored code that attempted to modify a function parameter as PostgreSQL 8.4 sets all function parameters as CONSTANT, unlike PostgreSQL 9.0

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

14 years agoTag some functions as STABLE or even IMMUTABLE (from volatile) - see bug #955
Sandro Santilli [Tue, 17 May 2011 14:42:44 +0000 (14:42 +0000)]
Tag some functions as STABLE or even IMMUTABLE (from volatile)  - see bug #955

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

14 years agorefactored usage of snprintf to use explicit string sizes rather than what is a gcc...
Bborie Park [Tue, 17 May 2011 14:04:14 +0000 (14:04 +0000)]
refactored usage of snprintf to use explicit string sizes rather than what is a gcc specific implementation where the return value of snprintf is the ideal size of the string

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

14 years agoFixed bug in sample topology load (face id sequence value) [RT-SIGTA]
Sandro Santilli [Tue, 17 May 2011 07:33:55 +0000 (07:33 +0000)]
Fixed bug in sample topology load (face id sequence value) [RT-SIGTA]

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

14 years agorevise to correctly comment functions with OUT parameters
Regina Obe [Tue, 17 May 2011 06:34:52 +0000 (06:34 +0000)]
revise to correctly comment functions with OUT parameters

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

14 years agofix typo
Regina Obe [Tue, 17 May 2011 05:37:49 +0000 (05:37 +0000)]
fix typo

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

14 years agodocument ST_GDALDrivers and back reference to ST_AsGDALRaster
Regina Obe [Tue, 17 May 2011 03:02:25 +0000 (03:02 +0000)]
document ST_GDALDrivers and back reference to ST_AsGDALRaster

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

14 years agoDocument ST_AsGDALRaster
Regina Obe [Tue, 17 May 2011 02:06:59 +0000 (02:06 +0000)]
Document ST_AsGDALRaster

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

14 years agoforgot availability and GDAL dependency note on ST_AsPNG
Regina Obe [Tue, 17 May 2011 00:55:35 +0000 (00:55 +0000)]
forgot availability and GDAL dependency note on ST_AsPNG

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

14 years agoFirst draft of ST_ASPNG doco. Need some more examples and perhaps even pictures.
Regina Obe [Tue, 17 May 2011 00:40:44 +0000 (00:40 +0000)]
First draft of ST_ASPNG doco.  Need some more examples and perhaps even pictures.

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

14 years ago- fixed usage of function parameter "hasnodata" to follow standardized interpretation
Bborie Park [Mon, 16 May 2011 22:01:10 +0000 (22:01 +0000)]
- fixed usage of function parameter "hasnodata" to follow standardized interpretation
- added copyright notices for work done by Bborie Park funded through the Regents of the University of California

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

14 years agoremoved duplicative ST_Histogram function
Bborie Park [Mon, 16 May 2011 19:56:32 +0000 (19:56 +0000)]
removed duplicative ST_Histogram function

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

14 years agoAdd ST_AsPNG
Bborie Park [Mon, 16 May 2011 19:54:11 +0000 (19:54 +0000)]
Add ST_AsPNG

- added SQL functions for ST_AsPNG
- added regression tests

Associated ticket is #342

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

14 years agoAdd ST_AsJPEG function
Bborie Park [Mon, 16 May 2011 19:52:12 +0000 (19:52 +0000)]
Add ST_AsJPEG function

- added SQL functions for ST_AsJPEG
- added regression tests

Associated ticket is #340

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

14 years agoAdd ST_AsTIFF function
Bborie Park [Mon, 16 May 2011 19:50:38 +0000 (19:50 +0000)]
Add ST_AsTIFF function

- add SQL functions for ST_AsTIFF
- add regression tests

Associated ticket is #341

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

14 years agoAdd ST_AsGDALRaster function and helper functions ST_GDALDrivers and ST_srtext
Bborie Park [Mon, 16 May 2011 19:48:20 +0000 (19:48 +0000)]
Add ST_AsGDALRaster function and helper functions ST_GDALDrivers and ST_srtext
- added rt_raster_to_gdal, rt_raster_gdal_drivers and rt_raster_to_gdal_mem functions to rt_core/rt_api.c and rt_api.h
- added test cases to test/core/testapi.c
- added RASTER_asGDALRaster and RASTER_getGDALDrivers to rt_pg/rt_pg.c
- added SQL functions
- added regression tests

Associated ticket is #901

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

14 years agoAdded ST_Reclass function
Bborie Park [Mon, 16 May 2011 19:43:10 +0000 (19:43 +0000)]
Added ST_Reclass function

- added rt_band_reclass and rt_raster_replace_band to rt_core/rt_api.c and rt_api.h
- added test case to test/core/testapi.c
- added RASTER_reclass to rt_pg/rt_pg.c
- added SQL functions for ST_Reclass
- added regression tests

Associated ticket is #903

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

14 years agoAdded ST_Quantile functions
Bborie Park [Mon, 16 May 2011 19:39:41 +0000 (19:39 +0000)]
Added ST_Quantile functions
- added function rt_raster_get_quantiles to rt_core/rt_api.c and rt_api.h
- added test case to test/core/testapi.c
- added function RASTER_quantile to rt_pg/rt_pg.c
- added SQL functions for ST_Quantile
- added regression tests

Associated ticket is #935

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

14 years agoAdded ST_Histogram functions.
Bborie Park [Mon, 16 May 2011 19:36:55 +0000 (19:36 +0000)]
Added ST_Histogram functions.
- added function rt_band_get_histogram to rt_core/rt_api.c and rt_api.h
- added test case to test/core/testapi.c
- added function RASTER_histogram to rt_pg/rt_pg.c
- added SQL functions for ST_Histogram
- added regression tests

Associated ticket is #934

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

14 years agoAdded ST_MinMax function
Bborie Park [Mon, 16 May 2011 19:34:01 +0000 (19:34 +0000)]
Added ST_MinMax function
- added SQL functions for ST_MinMax
- added regression tests

Associated ticket is #902

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

14 years agoAdded ST_StdDev function
Bborie Park [Mon, 16 May 2011 19:32:16 +0000 (19:32 +0000)]
Added ST_StdDev function
- added SQL functions for ST_StdDev
- added regression tests

Associated ticket is #932

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

14 years agoAdded ST_Mean function.
Bborie Park [Mon, 16 May 2011 19:30:20 +0000 (19:30 +0000)]
Added ST_Mean function.

- added SQL functions for ST_Mean to rt_pg/rtpostgis.sql.in.c
- added regression tests

Associated ticket is #931

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

14 years agoAddition of ST_SummaryStats function.
Bborie Park [Mon, 16 May 2011 19:17:15 +0000 (19:17 +0000)]
Addition of ST_SummaryStats function.

- added function rt_band_get_summary_stats to rt_core/rt_api.c and rt_api.h
- added test case to test/core/testapi.c
- added function RASTER_summaryStats to rt_pg/rt_pg.c
- added SQL functions for ST_SummaryStats to rt_pg/rtpostgis.sql.in.c
- added regression tests in test/regress

Associated ticket is #930.

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

14 years agoAddition of ST_Band functionality.
Bborie Park [Mon, 16 May 2011 19:11:21 +0000 (19:11 +0000)]
Addition of ST_Band functionality.
  - added function rt_raster_from_band to rt_core/rt_api.c and rt_api.h
- added test case to test/core/testapi.c
- added function RASTER_band to rt_pg/rt_pg.c
- added SQL functions for ST_Band to rt_pg/rtpostgis.sql.in.c
- added regression tests in test/regress

Associated ticket is #339 and attached patch st_band.3.patch

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

14 years agoFix a bug in the example topology data (related to next_left_edge) -- affected regres...
Sandro Santilli [Mon, 16 May 2011 11:01:22 +0000 (11:01 +0000)]
Fix a bug in the example topology data (related to next_left_edge) -- affected regress testing, also updated [RT-SIGTA]

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

14 years agoforgot to add Bborie's organization
Regina Obe [Fri, 13 May 2011 19:29:31 +0000 (19:29 +0000)]
forgot to add Bborie's organization

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

14 years agoAdd Bborie Park to development team lists. Assume Paul, you've given him SVN edit...
Regina Obe [Fri, 13 May 2011 19:27:04 +0000 (19:27 +0000)]
Add Bborie Park to development team lists.  Assume Paul, you've given him SVN edit rights already.

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

14 years agoapply astyle
Regina Obe [Fri, 13 May 2011 08:46:38 +0000 (08:46 +0000)]
apply astyle

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

14 years agoapply astyle
Regina Obe [Fri, 13 May 2011 08:46:04 +0000 (08:46 +0000)]
apply astyle

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

14 years agoadditional bug fix for #844
Chris Hodgson [Fri, 13 May 2011 01:04:34 +0000 (01:04 +0000)]
additional bug fix for #844

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

14 years agoadded regess test for #884
Chris Hodgson [Thu, 12 May 2011 22:05:03 +0000 (22:05 +0000)]
added regess test for #884

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

14 years agomerged fix from r7136 in 1.5 branch, fixes broken point_in_multipolygon_rtree, for...
Chris Hodgson [Thu, 12 May 2011 18:51:57 +0000 (18:51 +0000)]
merged fix from r7136 in 1.5 branch, fixes broken point_in_multipolygon_rtree, for #884

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

14 years agofix for #940 -- can't compile PostGIS 2.0 against PostgreSQL 9.1 beta 1
Regina Obe [Thu, 12 May 2011 17:39:39 +0000 (17:39 +0000)]
fix for #940 -- can't compile PostGIS 2.0 against PostgreSQL 9.1 beta 1

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

14 years agotopology.ST_AddEdgeNewFaces : tabs to spaces, named arguments, code cleanups and...
Sandro Santilli [Thu, 12 May 2011 16:14:53 +0000 (16:14 +0000)]
topology.ST_AddEdgeNewFaces : tabs to spaces, named arguments, code cleanups and improved checks, tests for invalid calls [RT-SIGTA]

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

14 years agoDon't miss to clean load_topology-4326.sql
Sandro Santilli [Thu, 12 May 2011 10:23:24 +0000 (10:23 +0000)]
Don't miss to clean load_topology-4326.sql

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

14 years agoadd about the tiger upgrade script
Regina Obe [Thu, 12 May 2011 07:28:42 +0000 (07:28 +0000)]
add about the tiger upgrade script

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

14 years agomore optimizations
Regina Obe [Wed, 11 May 2011 14:59:55 +0000 (14:59 +0000)]
more optimizations

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

14 years agoput in some missing indexes
Regina Obe [Wed, 11 May 2011 13:50:05 +0000 (13:50 +0000)]
put in some missing indexes

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

14 years agomore performance enhancements
Regina Obe [Wed, 11 May 2011 13:32:17 +0000 (13:32 +0000)]
more performance enhancements

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

14 years agoturn off debug mode
Regina Obe [Wed, 11 May 2011 12:56:12 +0000 (12:56 +0000)]
turn off debug mode

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

14 years agomore usability and performance enhancements. Change geocoder/reverse_geocode to...
Regina Obe [Wed, 11 May 2011 12:55:13 +0000 (12:55 +0000)]
more usability and performance enhancements.  Change geocoder/reverse_geocode to use tiger.state_lookup instead of each schema state table (to achieve this had to add statefp to lookup table).  Also put in upgrade scripts and notes on upgrading in README. (current script will only upgrade an alpha tiger 2010 (PostGIS 2.0.0 install) ).

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

14 years agobah Hudson still not happy. Make some preemptive changes
Regina Obe [Wed, 11 May 2011 11:32:41 +0000 (11:32 +0000)]
bah Hudson still not happy.  Make some preemptive changes

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

14 years agoFrivolous edit to try to cure Hudson's hiccup
Regina Obe [Wed, 11 May 2011 11:08:43 +0000 (11:08 +0000)]
Frivolous edit to try to cure Hudson's hiccup

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

14 years agominor change to Kevin's bio
Regina Obe [Wed, 11 May 2011 02:34:32 +0000 (02:34 +0000)]
minor change to Kevin's bio

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

14 years agoupdate PSC list and alphabetize it to get rid of any unintended implications of hiera...
Regina Obe [Wed, 11 May 2011 02:11:21 +0000 (02:11 +0000)]
update PSC list and alphabetize it to get rid of any unintended implications of hierarchy.  Add new PSC members / remove old and mark Paul as Chair.

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

14 years agofix some comments
Regina Obe [Tue, 10 May 2011 04:54:28 +0000 (04:54 +0000)]
fix some comments

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

14 years agoput in a todo why I'm punting properly handling holes for now
Regina Obe [Tue, 10 May 2011 03:57:09 +0000 (03:57 +0000)]
put in a todo why I'm punting properly handling holes for now

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

14 years agomore cleanup of normalize_address function
Regina Obe [Mon, 9 May 2011 19:59:39 +0000 (19:59 +0000)]
more cleanup of normalize_address function

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

14 years agoput in missing constraints
Regina Obe [Mon, 9 May 2011 16:10:57 +0000 (16:10 +0000)]
put in missing constraints

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

14 years agoImplement, document, and regress-test SQL/MM ST_NewEdgeHeal [RT-SIGTA]
Sandro Santilli [Mon, 9 May 2011 15:16:30 +0000 (15:16 +0000)]
Implement, document, and regress-test SQL/MM ST_NewEdgeHeal [RT-SIGTA]

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