Sandro Santilli
a10bddb88b
fix cpp extra token warning
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7267 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-27 08:34:13 +00:00
Regina Obe
f7e1dd5f83
change ST_ConcaveHull to use default parameters
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7266 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-27 07:13:42 +00:00
Regina Obe
8b86077d6d
preliminary documentation for ST_Count
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7265 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-27 06:46:05 +00:00
Bborie Park
b1337f7bc2
- Added default values for function parameters of ST_ValueCount and ST_ValuePercent. Removed duplicative functions of the same.
...
- Tweaked the regression tests for ST_ValueCount and ST_ValuePercent as one question for each function type was too ambiguous.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7264 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-27 00:02:59 +00:00
Bborie Park
3cc104ea4f
Added default parameter values for ST_Quantile functions
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7263 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-26 23:32:20 +00:00
Bborie Park
9bdd268dd2
Added default values for function parameters of ST_Histogram and removed duplicative functions.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7262 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-26 23:11:09 +00:00
Bborie Park
1af36ce531
Forgot to delete the commented out functions of ST_SummaryStats and dependants from r7260
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7261 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-26 22:50:54 +00:00
Bborie Park
c6d6a919c7
Added default values for function parameters of ST_SummaryStats, ST_Count, ST_Sum, ST_Mean, ST_StdDev and ST_MinMax.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7260 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-26 22:40:05 +00:00
Bborie Park
56f19b364e
Added default parameter for ST_Band and reduced function count by 1.
...
Added additional regression tests for ST_Band.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7259 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-26 21:35:33 +00:00
Bborie Park
af7163dcb7
Changed to STABLE from IMMUTABLE for all functions that operate on a coverage using the function parameters "rastertable" and "rastercolumn"
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7258 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-26 21:23:52 +00:00
Bborie Park
be8b1278c3
changed name "proportion" to "percent" for ST_Histogram to stay consistent with ST_ValuePercent
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7257 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-26 20:09:50 +00:00
Bborie Park
29fd8cc4f1
Addition of ST_ValuePercent, sibling of ST_ValueCount. This function provides the ability to determine the percentage of a raster's band that is of a user-specified value.
...
Assocated ticket is #990
Also specified STRICT for functions with "searchvalue" (the singular) argument.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7256 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-26 20:04:12 +00:00
Bborie Park
5484c0bf01
Changed the datatype for "count" from integer to bigint. This should allow the "count" return value to handle large numbers coming from the various coverage functions.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7255 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-26 15:43:26 +00:00
Regina Obe
20732be880
#949 Add all E and F deprecated functions to uninstall_legacy.sql.in.c and minor sorting and casing cleanup.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7254 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-26 14:01:17 +00:00
Sandro Santilli
fe9e336ea9
Error handling refinements in topology.ST_AddEdgeNewFaces ( #988 )
...
Check for given edge having two distinct vertices before getting a new
edge id from sequence, and before testing it for crossing nodes (or it'd
give a confusing error message). Refine error message about no-segment
edges to not talk about nodes. [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@7253 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-26 07:26:56 +00:00
Bborie Park
43f42cd6b8
Adds ST_ValueCount to count the number of times a user-provided value or all values occurs in a raster's band.
...
Associated ticket is #953
git-svn-id: http://svn.osgeo.org/postgis/trunk@7252 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-26 04:23:54 +00:00
Regina Obe
50d43ea155
git-svn-id: http://svn.osgeo.org/postgis/trunk@7251 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-25 23:38:13 +00:00
Regina Obe
f833c5410d
put header on table
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7250 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-25 23:37:08 +00:00
Regina Obe
68c78b0ed9
try group
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7249 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-25 21:09:00 +00:00
Paul Ramsey
2efc7b2064
#661 Type info of geography columns incomplete - pg_dump output wrong
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7248 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-25 18:42:16 +00:00
Bborie Park
cfab8d13ee
Add ST_Count and ST_Sum functions that are fronts for the count and sum values of ST_SummaryStats
...
Associated tickets are #985 (ST_Count) and #986 (ST_Sum)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7246 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-25 18:28:14 +00:00
Regina Obe
451c073b6f
git-svn-id: http://svn.osgeo.org/postgis/trunk@7245 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-25 13:13:26 +00:00
Regina Obe
1fafddc089
git-svn-id: http://svn.osgeo.org/postgis/trunk@7244 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-25 12:49:22 +00:00
Regina Obe
2a5e57e868
git-svn-id: http://svn.osgeo.org/postgis/trunk@7243 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-25 12:48:46 +00:00
Regina Obe
56bd95d89b
git-svn-id: http://svn.osgeo.org/postgis/trunk@7242 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-25 12:35:02 +00:00
Regina Obe
2a9a765c82
revert
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7241 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-25 12:29:01 +00:00
Regina Obe
a9f2bf60d5
define style for methodsynopsis
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7240 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-25 12:13:55 +00:00
Regina Obe
58f7d3e20e
missed a spot
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7239 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-24 18:53:01 +00:00
Regina Obe
e430f91487
experiment with methodsynopsis evidentally seems to support default parameters and conditional args, we need to move from funcsynopsis (designed for C) to methodsynopsis. This is what PHP uses -- https://doc.php.net/php/dochowto/chapter-skeletons.php
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7238 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-24 18:50:35 +00:00
Sandro Santilli
8f7e044fca
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
2011-05-24 15:21:46 +00:00
Sandro Santilli
7eecd1dbef
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
2011-05-24 14:47:00 +00:00
Bborie Park
ad0b84685a
- 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
2011-05-24 14:27:08 +00:00
Sandro Santilli
bc6bbb47b7
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
2011-05-24 13:49:18 +00:00
Sandro Santilli
2179b7e2aa
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
2011-05-24 13:47:55 +00:00
Sandro Santilli
8aaa246193
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
2011-05-24 13:15:01 +00:00
Sandro Santilli
81e3f2c74c
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
2011-05-24 12:14:14 +00:00
Sandro Santilli
681dd7bf6c
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
2011-05-24 10:45:40 +00:00
Sandro Santilli
aef3126877
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
2011-05-24 09:22:12 +00:00
Sandro Santilli
f4b9367a55
Test ST_ChangeEdgeGeom with edge crossing
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7228 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-24 09:13:39 +00:00
Sandro Santilli
859f148607
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
2011-05-24 08:45:55 +00:00
Sandro Santilli
5c65e3e064
No functional change: tabs to 2 spaces.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7226 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-24 08:22:54 +00:00
Sandro Santilli
5230cc400d
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
2011-05-24 08:13:46 +00:00
Sandro Santilli
3f79bce079
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
2011-05-24 07:54:45 +00:00
Sandro Santilli
8f010b34df
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
2011-05-24 07:04:43 +00:00
Sandro Santilli
966db07632
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
2011-05-24 06:55:29 +00:00
Regina Obe
6161063032
Fix for #981 - using astext legacy function in tests
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7221 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-24 06:44:34 +00:00
Regina Obe
1c9d961bf9
fix typos
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7220 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-24 06:43:42 +00:00
Regina Obe
7f8a8a0550
#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
2011-05-24 05:48:47 +00:00
Regina Obe
1d8390a1a2
fix link error
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7218 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-24 05:19:16 +00:00
Regina Obe
513ffa4074
#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
2011-05-24 05:05:53 +00:00