]>
granicus.if.org Git - postgis/log
Regina Obe [Mon, 22 Dec 2008 14:14:09 +0000 (14:14 +0000)]
Revision - change to not test geoms against other geoms if function only takes one geom, better commenting of output. Put back circularstring -- crashes on 1.3 still on ST_Distance in some cases. Haven't tested against trunk
git-svn-id: http://svn.osgeo.org/postgis/trunk@3464
b70326c6 -7e19-0410-871a-
916f4a2858ee
Mark Cave-Ayland [Mon, 22 Dec 2008 12:15:12 +0000 (12:15 +0000)]
Remove the few C++-style comments that have crept into the codebase, and add a note to the STYLE document stating that C-style comments should be used.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3462
b70326c6 -7e19-0410-871a-
916f4a2858ee
Mark Cave-Ayland [Mon, 22 Dec 2008 11:51:53 +0000 (11:51 +0000)]
Remove the WKB_CONVERSION hack which was invented to try and make the JTS connector more reliable. Since all the other JTS code has gone, this can now go too. See http://postgis.refractions.net/pipermail/postgis-devel/2008-August/003495.html for a little discussion.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3461
b70326c6 -7e19-0410-871a-
916f4a2858ee
Mark Cave-Ayland [Mon, 22 Dec 2008 11:38:04 +0000 (11:38 +0000)]
Errr.... unsigned *what* exactly??! If you'd have asked me yesterday if I thought this would compile, I would have said no...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3460
b70326c6 -7e19-0410-871a-
916f4a2858ee
Mark Cave-Ayland [Mon, 22 Dec 2008 11:11:09 +0000 (11:11 +0000)]
Some code tidy-ups: remove Windows CR/LFs from the file, change the free()s into lwfree()s, and fix a spelling mistake.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3459
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Mon, 22 Dec 2008 09:30:47 +0000 (09:30 +0000)]
revert part of last change
git-svn-id: http://svn.osgeo.org/postgis/trunk@3458
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Mon, 22 Dec 2008 08:39:44 +0000 (08:39 +0000)]
correction to last edit
git-svn-id: http://svn.osgeo.org/postgis/trunk@3457
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Sun, 21 Dec 2008 06:37:16 +0000 (06:37 +0000)]
Add ST_LineClipZ(geometry, from, to) SQL and C functions.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3456
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Fri, 19 Dec 2008 19:21:37 +0000 (19:21 +0000)]
Complete c-level line clipping routines, and unit tests.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3455
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Fri, 19 Dec 2008 19:20:34 +0000 (19:20 +0000)]
Add in lwfree_* deep memory clean-up routines for multi-objects.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3454
b70326c6 -7e19-0410-871a-
916f4a2858ee
Kevin Neufeld [Fri, 19 Dec 2008 18:51:09 +0000 (18:51 +0000)]
Upgraded section in using_postgis.xml that talks about OGC Simplicity / Validity.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3453
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Fri, 19 Dec 2008 16:57:57 +0000 (16:57 +0000)]
Remove camelCase example from style guideline against camelCase (! :)
git-svn-id: http://svn.osgeo.org/postgis/trunk@3452
b70326c6 -7e19-0410-871a-
916f4a2858ee
Mark Cave-Ayland [Fri, 19 Dec 2008 14:59:25 +0000 (14:59 +0000)]
Remove the PostGIS LWGEOM type constants from pgsql2shp - they are no longer needed here as they are included as part of liblwgeom.h.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3451
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Thu, 18 Dec 2008 20:42:09 +0000 (20:42 +0000)]
Complete the pfree_ to lwfree_ renaming.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3450
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Thu, 18 Dec 2008 20:36:21 +0000 (20:36 +0000)]
Move curve back down below curve struct. Hm.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3449
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Thu, 18 Dec 2008 20:35:27 +0000 (20:35 +0000)]
Complete the pfree_* to lwfree_* renaming.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3448
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Thu, 18 Dec 2008 20:30:30 +0000 (20:30 +0000)]
Rename pfree_* memory management function lwfree_*
git-svn-id: http://svn.osgeo.org/postgis/trunk@3447
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Thu, 18 Dec 2008 20:22:07 +0000 (20:22 +0000)]
Partial work commit for safety
git-svn-id: http://svn.osgeo.org/postgis/trunk@3446
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Thu, 18 Dec 2008 17:07:39 +0000 (17:07 +0000)]
Ignore generated Makefile
git-svn-id: http://svn.osgeo.org/postgis/trunk@3445
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Thu, 18 Dec 2008 15:58:23 +0000 (15:58 +0000)]
Revise to cross every geometry with every other to better test the functions that take 2 geometries. This increases the generated script to about 18 MB. Still need to trim off some of these tests (since it does the same for singular geom functions)
git-svn-id: http://svn.osgeo.org/postgis/trunk@3444
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Thu, 18 Dec 2008 15:38:09 +0000 (15:38 +0000)]
Get rid of redundant variable declares
git-svn-id: http://svn.osgeo.org/postgis/trunk@3443
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Thu, 18 Dec 2008 15:32:46 +0000 (15:32 +0000)]
Get rid of 2 geom relation section. Its redundant now that the last condition section has been improved.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3442
b70326c6 -7e19-0410-871a-
916f4a2858ee
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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