]>
granicus.if.org Git - postgis/log
Sandro Santilli [Tue, 24 May 2011 15:21:46 +0000 (15:21 +0000)]
Stop using astext legacy function in raster tests -- make check finally succeeds with both raster and topology enabled
git-svn-id: http://svn.osgeo.org/postgis/trunk@7237
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Tue, 24 May 2011 14:47:00 +0000 (14:47 +0000)]
Allow dumping universal face edges with ST_GetFaceEdges. Do it in the correct order. Fixes bug #984. [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@7236
b70326c6 -7e19-0410-871a-
916f4a2858ee
Bborie Park [Tue, 24 May 2011 14:27:08 +0000 (14:27 +0000)]
- Added test testgdalraster.in which properly tests the output of ST_AsGDALRaster. This test makes use of rtgdalraster.py found in raster/scripts/python, which itself requires psycopg2.
- Refactored rt_asgdalraster.sql, rt_astiff.sql, rt_asjpeg.sql and rt_aspng.sql to no longer attempt to validate the output of the respective functions with an MD5 checksum but rather be a test of the functions' behaviors.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7235
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Tue, 24 May 2011 13:49:18 +0000 (13:49 +0000)]
ST_GetFaceGeometry: throw SQL/MM exception when asked for the Universal Face geometry. Fixes bug #973 [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@7234
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Tue, 24 May 2011 13:47:55 +0000 (13:47 +0000)]
topology.ValidateTopology: do not construct the geometry of universal face, it's not used anyway. Closes bug #977. [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@7233
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Tue, 24 May 2011 13:15:01 +0000 (13:15 +0000)]
ST_AddEdgeNewFaces: don't get fooled by empty segments when computing azimuts [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@7232
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Tue, 24 May 2011 12:14:14 +0000 (12:14 +0000)]
Fix a bogus test for ST_AddEdgeNewFaces (was missing to check informations about the newly added edge) -- [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@7231
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Tue, 24 May 2011 10:45:40 +0000 (10:45 +0000)]
Add another (successful) test for ST_AddEdgeNewFaces when creating a new face in the universal face by closing a ring around an existing non-isolated edge [RT-SIGTA].
git-svn-id: http://svn.osgeo.org/postgis/trunk@7230
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Tue, 24 May 2011 09:22:12 +0000 (09:22 +0000)]
Add TODO item and SQL/MM compatibility note in ST_ChangeEdgeGeom
git-svn-id: http://svn.osgeo.org/postgis/trunk@7229
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Tue, 24 May 2011 09:13:39 +0000 (09:13 +0000)]
Test ST_ChangeEdgeGeom with edge crossing
git-svn-id: http://svn.osgeo.org/postgis/trunk@7228
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Tue, 24 May 2011 08:45:55 +0000 (08:45 +0000)]
ST_ChangeEdgeGeom: check existence of given edge, reduce scans used to check start/end point and simplify the code, regress test the fix. Fixes bug #979.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7227
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Tue, 24 May 2011 08:22:54 +0000 (08:22 +0000)]
No functional change: tabs to 2 spaces.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7226
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Tue, 24 May 2011 08:13:46 +0000 (08:13 +0000)]
Move tests for ST_ChangeEdgeGeom into a dedicated file. Prepared for ticket #979. [RT-SIGTA].
git-svn-id: http://svn.osgeo.org/postgis/trunk@7225
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Tue, 24 May 2011 07:54:45 +0000 (07:54 +0000)]
Test ST_GetFaceGeometry behavior when given face_id 0 (Universal Face). See ticket #973.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7224
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Tue, 24 May 2011 07:04:43 +0000 (07:04 +0000)]
ST_AddIsoEdge: tell that a node is isolated by only looking at containing_face rather than recomputing it. Closes ticket #978. [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@7223
b70326c6 -7e19-0410-871a-
916f4a2858ee
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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