]> granicus.if.org Git - postgis/log
postgis
16 years agoNumerous enhancements to make torture script generator smarter - e.g. don't use geome...
Regina Obe [Thu, 18 Dec 2008 15:25:54 +0000 (15:25 +0000)]
Numerous enhancements to make torture script generator smarter - e.g. don't use geometry select when function takes not geometries, don't put monkey in when you see pattern matrix use a real intersectionmatrix, concept of version

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

16 years agoPartial work saved back for later.
Paul Ramsey [Thu, 18 Dec 2008 00:54:04 +0000 (00:54 +0000)]
Partial work saved back for later.

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

16 years agoPartial work into SVN where I can get at it elsewhere.
Paul Ramsey [Wed, 17 Dec 2008 20:47:36 +0000 (20:47 +0000)]
Partial work into SVN where I can get at it elsewhere.

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

16 years agoRemove LFs from regression files per MCA.
Paul Ramsey [Wed, 17 Dec 2008 20:22:07 +0000 (20:22 +0000)]
Remove LFs from regression files per MCA.

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

16 years ago#HISTORY: Really fix what was broken in r3431/3432. See the notes there for the full...
Mark Cave-Ayland [Wed, 17 Dec 2008 19:37:32 +0000 (19:37 +0000)]
#HISTORY: Really fix what was broken in r3431/3432. See the notes there for the full detail.

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

16 years agoRe-locate cunit, add a STYLE guideline draft and some TODO notes.
Paul Ramsey [Wed, 17 Dec 2008 18:20:18 +0000 (18:20 +0000)]
Re-locate cunit, add a STYLE guideline draft and some TODO notes.

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

16 years agoUndo r3431/3432: this isn't ready for the primetime yet as it breaks a couple of...
Mark Cave-Ayland [Wed, 17 Dec 2008 16:03:31 +0000 (16:03 +0000)]
Undo r3431/3432: this isn't ready for the primetime yet as it breaks a couple of the regression tests.

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

16 years agoFix for one of Regina's torture failures as posted to the -devel list here: http...
Mark Cave-Ayland [Wed, 17 Dec 2008 15:01:50 +0000 (15:01 +0000)]
Fix for one of Regina's torture failures as posted to the -devel list here: http://postgis.refractions.net/pipermail/postgis-devel/2008-December/004362.html. A CurvePolygon has a "standard header" and so must be passed through a function that understands the optional existence of SRIDs/BBOXes etc. in the header.

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

16 years agoharmonize unit tests with new function names
Paul Ramsey [Wed, 17 Dec 2008 05:36:18 +0000 (05:36 +0000)]
harmonize unit tests with new function names

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

16 years agoharmonize function names so things... compile
Paul Ramsey [Wed, 17 Dec 2008 05:32:03 +0000 (05:32 +0000)]
harmonize function names so things... compile

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

16 years agoRevisison per MCA and (c) headers.
Paul Ramsey [Wed, 17 Dec 2008 05:28:54 +0000 (05:28 +0000)]
Revisison per MCA and (c) headers.

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

16 years agoAdd some co-linearity tests.
Paul Ramsey [Wed, 17 Dec 2008 00:22:26 +0000 (00:22 +0000)]
Add some co-linearity tests.

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

16 years agoBasic co-linearity support. Remove touching cases from crossingdirection.
Paul Ramsey [Wed, 17 Dec 2008 00:19:27 +0000 (00:19 +0000)]
Basic co-linearity support. Remove touching cases from crossingdirection.

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

16 years agoAdd ST_CrossingDirection(line, line) bindings into SQL.
Paul Ramsey [Tue, 16 Dec 2008 23:43:02 +0000 (23:43 +0000)]
Add ST_CrossingDirection(line, line) bindings into SQL.

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

16 years agoFirst cut of line crossing function, and associated cunit tests.
Paul Ramsey [Tue, 16 Dec 2008 22:29:42 +0000 (22:29 +0000)]
First cut of line crossing function, and associated cunit tests.

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

16 years agofixed bug in probe_geometry_columns where an srid of -1 is not properly detected...
Kevin Neufeld [Tue, 16 Dec 2008 21:21:57 +0000 (21:21 +0000)]
fixed bug in probe_geometry_columns where an srid of -1 is not properly detected. (last time :))

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

16 years agofixed bug in probe_geometry_columns where an srid of -1 is not properly detected.
Kevin Neufeld [Tue, 16 Dec 2008 21:11:56 +0000 (21:11 +0000)]
fixed bug in probe_geometry_columns where an srid of -1 is not properly detected.

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

16 years agofixed bug in probe_geometry_columns where an srid of -1 is not properly detected.
Kevin Neufeld [Tue, 16 Dec 2008 21:07:26 +0000 (21:07 +0000)]
fixed bug in probe_geometry_columns where an srid of -1 is not properly detected.

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

16 years agoMore changes - can't remember
Regina Obe [Tue, 16 Dec 2008 16:22:30 +0000 (16:22 +0000)]
More changes - can't remember

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

16 years agoAdd cross reference to ST_IsValidReason on ST_IsValid and ST_Summary
Regina Obe [Tue, 16 Dec 2008 13:01:05 +0000 (13:01 +0000)]
Add cross reference to ST_IsValidReason on ST_IsValid and ST_Summary

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

16 years agoFix formatting of ForceRHR args -- messing up torture test generator
Regina Obe [Tue, 16 Dec 2008 12:40:33 +0000 (12:40 +0000)]
Fix formatting of ForceRHR args -- messing up torture test generator

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

16 years agomissing the st_geomfromtext among others because of bad conditions - switched to...
Regina Obe [Mon, 15 Dec 2008 14:50:12 +0000 (14:50 +0000)]
missing the st_geomfromtext among others because of bad conditions - switched to xsl:choose to simplify logic.

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

16 years agominor comment addition
Regina Obe [Mon, 15 Dec 2008 13:36:56 +0000 (13:36 +0000)]
minor comment addition

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

16 years agoadd more data types. Remove curve tests again -- too many crashers
Regina Obe [Mon, 15 Dec 2008 12:56:43 +0000 (12:56 +0000)]
add more data types.  Remove curve tests again -- too many crashers

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

16 years agoTypo in data type param
Regina Obe [Mon, 15 Dec 2008 12:36:05 +0000 (12:36 +0000)]
Typo in data type param

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

16 years ago#HISTORY: Fix for GBT#83: "ST_Multi on curved polygon gives ERROR: Unknown geometry...
Mark Cave-Ayland [Mon, 15 Dec 2008 10:30:19 +0000 (10:30 +0000)]
#HISTORY: Fix for GBT#83: "ST_Multi on curved polygon gives ERROR: Unknown geometry type: 0". On reflection, ST_Multi() can only operate on standard POINT, LINESTRING and POLYGON types as the only MULTI geomtypes are MULTIPOINT, MULTILINESTRING and MULTIPOLYGON. This was caused by the introduction of the curve crashing fixes in 1.3.4.

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

16 years agomore cleanup
Regina Obe [Mon, 15 Dec 2008 05:33:44 +0000 (05:33 +0000)]
more cleanup

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

16 years agoThink I got most of the functions with additional args, left out circular since it...
Regina Obe [Mon, 15 Dec 2008 05:03:11 +0000 (05:03 +0000)]
Think I got most of the functions with additional args, left out circular since it crashes.  We can fix in 1.4

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

16 years agoreplace param logic
Regina Obe [Mon, 15 Dec 2008 04:12:24 +0000 (04:12 +0000)]
replace param logic

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

16 years ago#GBT 84: Fix typo in boundary error
Regina Obe [Mon, 15 Dec 2008 02:38:33 +0000 (02:38 +0000)]
#GBT 84: Fix typo in boundary error

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

16 years agoAdd circular string and curved polygon to garden set. Also start work on dealing...
Regina Obe [Sun, 14 Dec 2008 15:14:43 +0000 (15:14 +0000)]
Add circular string and curved polygon to garden set.  Also start work on dealing with functions that take floats and integers as additional params

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

16 years agoExclude st_curvetoline from test for now. Crashes on geometry collection test.
Regina Obe [Sun, 14 Dec 2008 07:24:32 +0000 (07:24 +0000)]
Exclude st_curvetoline from test for now.  Crashes on geometry collection test.

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

16 years agoAdd GEOMETRYCOLLECTION to garden mix. This crashes my 1.3.5SVN build after running...
Regina Obe [Sun, 14 Dec 2008 03:19:36 +0000 (03:19 +0000)]
Add GEOMETRYCOLLECTION to garden mix.  This crashes my 1.3.5SVN build after running generated script - investigating

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

16 years agoAdd logic to test for unary functions that take box2d/3d and add 3d geometries to...
Regina Obe [Sun, 14 Dec 2008 03:10:56 +0000 (03:10 +0000)]
Add logic to test for unary functions that take box2d/3d and add 3d geometries to garden set.

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

16 years agoAdd create table, add geom, drop column, drop table to batch of tortures
Regina Obe [Sun, 14 Dec 2008 01:50:44 +0000 (01:50 +0000)]
Add create table, add geom, drop column, drop table to batch of tortures

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

16 years agoRemove isvalidreason, it's done.
Paul Ramsey [Sat, 13 Dec 2008 19:48:01 +0000 (19:48 +0000)]
Remove isvalidreason, it's done.

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

16 years agoAdd typmod idea
Paul Ramsey [Sat, 13 Dec 2008 19:47:24 +0000 (19:47 +0000)]
Add typmod idea

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

16 years agoFix condition statement that prevented some 2 geom functions from being picked up
Regina Obe [Fri, 12 Dec 2008 17:07:35 +0000 (17:07 +0000)]
Fix condition statement that prevented some 2 geom functions from being picked up

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

16 years agoAdded POLYGONM gset to test. Also got rid of monkey crashing LineMerge. May add...
Regina Obe [Fri, 12 Dec 2008 16:55:43 +0000 (16:55 +0000)]
Added POLYGONM gset to test.  Also got rid of monkey crashing LineMerge.  May add back later by removing the NOT (j=i) conditions.

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

16 years agoNote that ST_MakePolygon can be used to make measured polys and 3d polys
Regina Obe [Fri, 12 Dec 2008 16:49:40 +0000 (16:49 +0000)]
Note that ST_MakePolygon can be used to make measured polys and 3d polys

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

16 years agouse strcmp for compare instead of comparing first element in projcreate
Regina Obe [Fri, 12 Dec 2008 16:26:29 +0000 (16:26 +0000)]
use strcmp for compare instead of comparing first element in projcreate

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

16 years agoget rid of accidentally copied comment
Regina Obe [Fri, 12 Dec 2008 14:20:24 +0000 (14:20 +0000)]
get rid of accidentally copied comment

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

16 years agoAdd relationship/ functions that act on 2 geometries tests to the mix
Regina Obe [Fri, 12 Dec 2008 14:11:16 +0000 (14:11 +0000)]
Add relationship/ functions that act on 2 geometries tests to the mix

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

16 years agoAdd POINTM and LINESTRINGM to garden family
Regina Obe [Fri, 12 Dec 2008 13:40:50 +0000 (13:40 +0000)]
Add POINTM and LINESTRINGM to garden family

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

16 years agoRemove Postgis_JTS_Version from docs. No longer in 1.4 code base.
Regina Obe [Fri, 12 Dec 2008 13:17:58 +0000 (13:17 +0000)]
Remove Postgis_JTS_Version from docs.  No longer in 1.4 code base.

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

16 years agoRevise to use an xml collection instead of repetitive loops. Also put in select...
Regina Obe [Fri, 12 Dec 2008 13:05:46 +0000 (13:05 +0000)]
Revise to use an xml collection instead of repetitive loops.  Also put in select start and end so when the server crashes you know where it broke.

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

16 years agoLooks like I accidentally removed some code from LWGEOM_accum that was required to...
Mark Cave-Ayland [Fri, 12 Dec 2008 11:07:56 +0000 (11:07 +0000)]
Looks like I accidentally removed some code from LWGEOM_accum that was required to set the Oid of the array being used to store the aggregate results. As reported by Regina.

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

16 years agoFix typo in geometry test
Regina Obe [Thu, 11 Dec 2008 19:38:50 +0000 (19:38 +0000)]
Fix typo in geometry test

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

16 years agoput in the svn:keywords thingy and also update postgis_gardentest to generate garden...
Regina Obe [Thu, 11 Dec 2008 18:57:57 +0000 (18:57 +0000)]
put in the svn:keywords thingy and also update postgis_gardentest to generate garden test for all unary postgis functions and aggregates

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

16 years agoadded a HINT to the ERROR message in errorIfGeometryCollection indicating the geometr...
Kevin Neufeld [Thu, 11 Dec 2008 17:18:19 +0000 (17:18 +0000)]
added a HINT to the ERROR message in errorIfGeometryCollection indicating the geometry that is in error.

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

16 years agoFirst draft of garden test sql generator. This version just searches the docs and...
Regina Obe [Thu, 11 Dec 2008 16:56:53 +0000 (16:56 +0000)]
First draft of garden test sql generator.  This version just searches the docs and outputs tests for functions that take no arguments.  Need to formulate a list of geometries to generate code for unary and so forth.

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

16 years agoIncorporated Mark's suggestion to use PQescapeStringConn instead of building a custom...
Regina Obe [Thu, 11 Dec 2008 15:56:18 +0000 (15:56 +0000)]
Incorporated Mark's suggestion to use PQescapeStringConn instead of building a custom function.  Also fixed typo.  Note using free() instead of PQfree since couldn't find a PQfree.  I looked at the 8.3.5 postgresql source code base, and that's what they seem to use when releasing buffer space.

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

16 years agoIncrease the amount of allocated memory by 3 bytes, so that if maxlength < 3 and...
Mark Cave-Ayland [Thu, 11 Dec 2008 14:55:21 +0000 (14:55 +0000)]
Increase the amount of allocated memory by 3 bytes, so that if maxlength < 3 and we return just "..." then we still have enough space to store the string without clobbering memory.

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

16 years agoFix up a couple of errors in the new lwmessage_truncate() function found by Kevin...
Mark Cave-Ayland [Thu, 11 Dec 2008 13:46:29 +0000 (13:46 +0000)]
Fix up a couple of errors in the new lwmessage_truncate() function found by Kevin - correct an off-by-one error in the code, and include a missing startpos offset in the end truncation code. Also ensure that if maxlength gets too small then we return "..." rather than crashing.

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

16 years agoResolve local merge conflict from previous commit.
Mark Cave-Ayland [Wed, 10 Dec 2008 12:36:28 +0000 (12:36 +0000)]
Resolve local merge conflict from previous commit.

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

16 years agoAdd new lwmessage_truncate() function to liblwgeom that will truncate a string to...
Mark Cave-Ayland [Wed, 10 Dec 2008 12:32:40 +0000 (12:32 +0000)]
Add new lwmessage_truncate() function to liblwgeom that will truncate a string to a maximum number of characters, adding a "..." to indicate where the string has been trimmed. Truncation can be specified to occur from either the start or end of the string as required. Also update the parser error handler to use the new function.

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

16 years agoPorting the floating point comparison operator upgrade from the 1.3 branch.
Mark Leslie [Tue, 9 Dec 2008 23:29:31 +0000 (23:29 +0000)]
Porting the floating point comparison operator upgrade from the 1.3 branch.

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

16 years agocorrect mm reference of ST_PointFromText and remove from old MM section
Regina Obe [Sun, 7 Dec 2008 02:52:43 +0000 (02:52 +0000)]
correct mm reference of ST_PointFromText and remove from old MM section

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

16 years agoMinor additions
Regina Obe [Sun, 7 Dec 2008 02:47:45 +0000 (02:47 +0000)]
Minor additions

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

16 years agofix some typos
Regina Obe [Sun, 7 Dec 2008 02:42:38 +0000 (02:42 +0000)]
fix some typos

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

16 years agoMove over (x,y,z) min/max family and add cross reference to those from ST_X, ST_Y...
Regina Obe [Sun, 7 Dec 2008 02:29:22 +0000 (02:29 +0000)]
Move over (x,y,z) min/max family and add cross reference to those from ST_X, ST_Y, ST_Z

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

16 years agoMove over ST_Box2D and ST_Box3D and flag ST_Accum as working with circular strings
Regina Obe [Sun, 7 Dec 2008 00:40:47 +0000 (00:40 +0000)]
Move over ST_Box2D and ST_Box3D and flag ST_Accum as working with circular strings

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

16 years agorevise example
Regina Obe [Fri, 5 Dec 2008 19:39:33 +0000 (19:39 +0000)]
revise example

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

16 years agoClarify use of ST_Relation and include Martin's example of interior intersects
Regina Obe [Fri, 5 Dec 2008 19:31:28 +0000 (19:31 +0000)]
Clarify use of ST_Relation and include Martin's example of interior intersects

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

16 years ago#HISTORY: #GBT:34 - .prj creation by pgsql2shp
Regina Obe [Fri, 5 Dec 2008 13:46:50 +0000 (13:46 +0000)]
#HISTORY: #GBT:34 - .prj creation by pgsql2shp

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

16 years ago#GBT 80: ST_Multi seg faults when given MULTILINESTRING
Regina Obe [Fri, 5 Dec 2008 12:33:20 +0000 (12:33 +0000)]
#GBT 80: ST_Multi seg faults when given MULTILINESTRING

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

16 years agoMove over rest of Long Transactions
Regina Obe [Thu, 4 Dec 2008 17:01:35 +0000 (17:01 +0000)]
Move over rest of Long Transactions

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

16 years agoFix GBT#79: shp2pgsql does not honor -s (also known as Mark accidentally missed the...
Mark Cave-Ayland [Wed, 3 Dec 2008 17:12:54 +0000 (17:12 +0000)]
Fix GBT#79: shp2pgsql does not honor -s (also known as Mark accidentally missed the sr_id from the geometry constructors)

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

16 years agoLightbulb moment: the fix for GBT#21: locate_along_measure: wrong values, invalid...
Mark Cave-Ayland [Wed, 3 Dec 2008 16:02:32 +0000 (16:02 +0000)]
Lightbulb moment: the fix for GBT#21: locate_along_measure: wrong values, invalid data required extra work as floating point errors could still be introduced by the removal of the memcpy(). In fact it was the clipping logic that was wrong, so this patch re-adds the memcpy() in the correct place(s) and corrects the clipping flags to remove this floating point error. With thanks to Stephen Davies.

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

16 years agoRemove some junk and fix some typos, rephrase descriptions
Regina Obe [Tue, 2 Dec 2008 20:04:23 +0000 (20:04 +0000)]
Remove some junk and fix some typos, rephrase descriptions

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

16 years agoMove over LockRow
Regina Obe [Tue, 2 Dec 2008 20:00:31 +0000 (20:00 +0000)]
Move over LockRow

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

16 years agoMove over CheckAuth
Regina Obe [Tue, 2 Dec 2008 19:43:08 +0000 (19:43 +0000)]
Move over CheckAuth

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

16 years agotypo
Regina Obe [Mon, 1 Dec 2008 23:34:03 +0000 (23:34 +0000)]
typo

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

16 years agoremove extra def
Regina Obe [Mon, 1 Dec 2008 22:19:14 +0000 (22:19 +0000)]
remove extra def

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

16 years agoMove over Enable/Disable LongTransactions
Regina Obe [Mon, 1 Dec 2008 22:06:57 +0000 (22:06 +0000)]
Move over Enable/Disable LongTransactions

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

16 years agoDamn casing - wrong fix
Regina Obe [Mon, 1 Dec 2008 12:41:20 +0000 (12:41 +0000)]
Damn casing - wrong fix

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

16 years agotypo ?
Regina Obe [Mon, 1 Dec 2008 12:38:13 +0000 (12:38 +0000)]
typo ?

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

16 years agotypo?
Regina Obe [Mon, 1 Dec 2008 12:13:52 +0000 (12:13 +0000)]
typo?

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

16 years agoMove over ST_HasBBox
Regina Obe [Mon, 1 Dec 2008 06:32:33 +0000 (06:32 +0000)]
Move over ST_HasBBox

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

16 years agoMove over ST_AddBBox, ST_DropBBox - the last of the Geometry Editors
Regina Obe [Mon, 1 Dec 2008 06:26:25 +0000 (06:26 +0000)]
Move over ST_AddBBox, ST_DropBBox - the last of the Geometry Editors

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

16 years agowrap isvalidreason in test for GEOS >= 3.1
Paul Ramsey [Fri, 28 Nov 2008 16:38:59 +0000 (16:38 +0000)]
wrap isvalidreason in test for GEOS >= 3.1

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

16 years agocorrection
Regina Obe [Thu, 27 Nov 2008 19:04:36 +0000 (19:04 +0000)]
correction

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

16 years agoST_IsValidReason typo and add an example of a valid geometry
Regina Obe [Thu, 27 Nov 2008 18:53:26 +0000 (18:53 +0000)]
ST_IsValidReason typo and add an example of a valid geometry

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

16 years agoDocument new ST_IsValidReason function. I suppose this may be the last time I can...
Regina Obe [Thu, 27 Nov 2008 18:31:12 +0000 (18:31 +0000)]
Document new ST_IsValidReason function.  I suppose this may be the last time I can successfully create invalid geometries before Mark ruins all the fun.

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

16 years agoST_IsValidReason(geometry) returns text reason for validity failure.
Paul Ramsey [Wed, 26 Nov 2008 19:04:15 +0000 (19:04 +0000)]
ST_IsValidReason(geometry) returns text reason for validity failure.
Requires GEOS >= 3.1.
GBT#51

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

16 years agoApply patch from strk to prevent unneccesary invocation of 'ar' when building liblwgeom.
Mark Cave-Ayland [Wed, 26 Nov 2008 13:40:07 +0000 (13:40 +0000)]
Apply patch from strk to prevent unneccesary invocation of 'ar' when building liblwgeom.

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

16 years agoCorrect install docs to agree with README. Not sure if this is necessary since this...
Regina Obe [Wed, 26 Nov 2008 12:11:00 +0000 (12:11 +0000)]
Correct install docs to agree with README.  Not sure if this is necessary since this is partially for already installed postgis.  Are we going to have an lwgeom folder in contrib?

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

16 years agoCreate liblwgeom as a phony dependency, so that any changes to liblwgeom cause a...
Mark Cave-Ayland [Wed, 26 Nov 2008 11:49:48 +0000 (11:49 +0000)]
Create liblwgeom as a phony dependency, so that any changes to liblwgeom cause a re-build of liblwgeom.a during "make". Patch provided by strk.

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

16 years agoFix some minor errors in the README documentation as indicated by strk.
Mark Cave-Ayland [Wed, 26 Nov 2008 11:43:50 +0000 (11:43 +0000)]
Fix some minor errors in the README documentation as indicated by strk.

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

16 years agoBring forward release notes from 1.3.4
Paul Ramsey [Tue, 25 Nov 2008 21:46:44 +0000 (21:46 +0000)]
Bring forward release notes from 1.3.4

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

16 years agoQuick fix for GBT#72: ST_Estimated_Extent sometimes returns null if table exists...
Mark Cave-Ayland [Tue, 25 Nov 2008 10:42:32 +0000 (10:42 +0000)]
Quick fix for GBT#72: ST_Estimated_Extent sometimes returns null if table exists but not in current schema.

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

16 years agoFix indentation for estimated_extent example. Document ST_Force_Collection broken...
Regina Obe [Mon, 24 Nov 2008 13:18:09 +0000 (13:18 +0000)]
Fix indentation for estimated_extent example.  Document ST_Force_Collection broken when given Circular strings for versions prior to 1.3.4

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

16 years agoFix for GBT#73: ST_Force_Collection crashes with CIRCULARSTRING. This is basically...
Mark Cave-Ayland [Mon, 24 Nov 2008 11:04:44 +0000 (11:04 +0000)]
Fix for GBT#73: ST_Force_Collection crashes with CIRCULARSTRING. This is basically the same fix for GBT#66: ST_Dump kills backend when fed CIRCULAR STRING except that it occurs in a different place.

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

16 years agoMove lwgeom_contains_subgeoms() into liblwgeom core as it seems it is now required...
Mark Cave-Ayland [Mon, 24 Nov 2008 11:01:39 +0000 (11:01 +0000)]
Move lwgeom_contains_subgeoms() into liblwgeom core as it seems it is now required outside of lwgeom_dump.c.

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

16 years agoMove over the rest of the ST_Force* family
Regina Obe [Sun, 23 Nov 2008 19:18:08 +0000 (19:18 +0000)]
Move over the rest of the ST_Force* family

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

16 years agoMove over ST_Estimated_Extent
Regina Obe [Sun, 23 Nov 2008 07:22:31 +0000 (07:22 +0000)]
Move over ST_Estimated_Extent

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

16 years agominor changes
Regina Obe [Sun, 23 Nov 2008 06:54:02 +0000 (06:54 +0000)]
minor changes

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

16 years agoMove over ST_GeomFromWKB
Regina Obe [Sun, 23 Nov 2008 06:50:49 +0000 (06:50 +0000)]
Move over ST_GeomFromWKB

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

16 years agotypo
Regina Obe [Fri, 21 Nov 2008 14:41:58 +0000 (14:41 +0000)]
typo

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

16 years agoFix indentation of examples
Regina Obe [Fri, 21 Nov 2008 14:30:40 +0000 (14:30 +0000)]
Fix indentation of examples

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