]> granicus.if.org Git - postgis/log
postgis
16 years agoFix compile warnings for the cunit tests (unused variables).
Mark Cave-Ayland [Tue, 13 Jan 2009 13:12:15 +0000 (13:12 +0000)]
Fix compile warnings for the cunit tests (unused variables).

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

16 years agoUpdate lwgeom_gettypename() by renaming Curve to CircularString. Now lots of error...
Mark Cave-Ayland [Tue, 13 Jan 2009 13:00:48 +0000 (13:00 +0000)]
Update lwgeom_gettypename() by renaming Curve to CircularString. Now lots of error messages scattered throughout liblwgeom should start to make sense...

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

16 years agoRearrange liblwgeom.h as per Paul's comment on GBT#97: Rename LWCURVE to LWCIRCSTRING...
Mark Cave-Ayland [Tue, 13 Jan 2009 12:59:03 +0000 (12:59 +0000)]
Rearrange liblwgeom.h as per Paul's comment on GBT#97: Rename LWCURVE to LWCIRCSTRING. Also rename lwfree_circstring() to lwcircstring_free() so that it matches the others (I guess this was missed in the first pass).

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

16 years agoCommit for GBT#97: Rename LWCURVE to LWCIRCSTRING (also know as restoring balance...
Mark Cave-Ayland [Tue, 13 Jan 2009 12:27:39 +0000 (12:27 +0000)]
Commit for GBT#97: Rename LWCURVE to LWCIRCSTRING (also know as restoring balance to the universe).

Having gone through and re-read sections of the CIRCULARSTRING code, it is amazing how much easier the code is to read without the confusion of a curve being either a CIRCULARSTRING or LINESTRING as per the SQL-MM spec. The resulting commit compiles & installs cleanly for me, passes "make check" and also Regina's torture script. Please let me know if I accidentally broke anything :)

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

16 years agoRemove double-free problem from loader in presence of new deep-freeing lwfree calls.
Paul Ramsey [Mon, 12 Jan 2009 19:29:57 +0000 (19:29 +0000)]
Remove double-free problem from loader in presence of new deep-freeing lwfree calls.

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

16 years agotypos
Regina Obe [Mon, 12 Jan 2009 14:38:09 +0000 (14:38 +0000)]
typos

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

16 years agoCorrect. ST_LinestringFromText does not exist though was documented before.
Regina Obe [Mon, 12 Jan 2009 14:24:44 +0000 (14:24 +0000)]
Correct.  ST_LinestringFromText does not exist though was documented before.

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

16 years agoMove over ST_Line functions and point out how pointless they are. Also correct incor...
Regina Obe [Mon, 12 Jan 2009 13:54:17 +0000 (13:54 +0000)]
Move over ST_Line functions and point out how pointless they are.  Also correct incorrect statement that they throw errors when given non-line - they just return null.

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

16 years agoRemove erroneus merge from r3502 (HAVE_CUNIT_H just isn't defined anymore...)
Mark Cave-Ayland [Mon, 12 Jan 2009 12:23:11 +0000 (12:23 +0000)]
Remove erroneus merge from r3502 (HAVE_CUNIT_H just isn't defined anymore...)

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

16 years agoRemove RECHECK per GBT#18.
Paul Ramsey [Sun, 11 Jan 2009 07:10:06 +0000 (07:10 +0000)]
Remove RECHECK per GBT#18.

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

16 years agoFix typo
Regina Obe [Fri, 9 Jan 2009 23:04:47 +0000 (23:04 +0000)]
Fix typo

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

16 years agoMove over rest of miscellaneous -- NOTE st_find_srid does not exist - was never renam...
Regina Obe [Fri, 9 Jan 2009 22:52:16 +0000 (22:52 +0000)]
Move over rest of miscellaneous -- NOTE st_find_srid does not exist - was never renamed from find_srid.  Not sure its worth fixing since its rarely used anyway.

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

16 years agoRename lwfree_inspected to lwinspected_release, per it's "shallow free" behavior.
Paul Ramsey [Fri, 9 Jan 2009 19:17:03 +0000 (19:17 +0000)]
Rename lwfree_inspected to lwinspected_release, per it's "shallow free" behavior.

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

16 years agoRename lwfree_* to *_free.
Paul Ramsey [Fri, 9 Jan 2009 17:41:23 +0000 (17:41 +0000)]
Rename lwfree_* to *_free.

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

16 years agoMissed some ST_ spots.
Regina Obe [Fri, 9 Jan 2009 14:15:30 +0000 (14:15 +0000)]
Missed some ST_ spots.

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

16 years agoMissed a spot.
Regina Obe [Fri, 9 Jan 2009 13:49:52 +0000 (13:49 +0000)]
Missed a spot.

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

16 years agoUsing - fix some connectiontype omissions in Mapserver section, add in processing...
Regina Obe [Fri, 9 Jan 2009 13:48:57 +0000 (13:48 +0000)]
Using - fix some connectiontype omissions in Mapserver section, add in processing defer comment, fix some missing ST_

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

16 years agoAdd circular string note
Regina Obe [Fri, 9 Jan 2009 13:32:52 +0000 (13:32 +0000)]
Add circular string note

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

16 years agoMove over ST_NRings
Regina Obe [Fri, 9 Jan 2009 13:29:06 +0000 (13:29 +0000)]
Move over ST_NRings

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

16 years agoMove over ST_Zmflag
Regina Obe [Fri, 9 Jan 2009 13:17:28 +0000 (13:17 +0000)]
Move over ST_Zmflag

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

16 years agoForgot to save this file. Also changes to lwfree_* *_release.
Paul Ramsey [Thu, 8 Jan 2009 17:22:47 +0000 (17:22 +0000)]
Forgot to save this file. Also changes to lwfree_* *_release.

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

16 years agoAlter lwfree_* to deep-free memory. Add variants of *_release to support shallow...
Paul Ramsey [Thu, 8 Jan 2009 17:04:00 +0000 (17:04 +0000)]
Alter lwfree_* to deep-free memory. Add variants of *_release to support shallow-free. Go through lwgeom/ and replace any lwfree_* instances with *_release where appropriate. (Surprisingly few.)

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

16 years agodocumentatioin out of synch with reality since garden test failing. Change spelling...
Regina Obe [Thu, 8 Jan 2009 16:06:48 +0000 (16:06 +0000)]
documentatioin out of synch with reality since garden test failing.  Change spelling ST_CrossingDirection to new name ST_LineCrossingDirection

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

16 years agoput in valid name space (giving error with my xsltproc otherwise)
Regina Obe [Thu, 8 Jan 2009 15:50:16 +0000 (15:50 +0000)]
put in valid name space (giving error with my xsltproc otherwise)

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

16 years agoFinish off adding multi garden geometries
Regina Obe [Wed, 7 Jan 2009 19:40:16 +0000 (19:40 +0000)]
Finish off adding multi garden geometries

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

16 years agoupdated documention on addgeometrycolumn, clarifying the errors thrown.
Kevin Neufeld [Wed, 7 Jan 2009 18:25:55 +0000 (18:25 +0000)]
updated documention on addgeometrycolumn, clarifying the errors thrown.

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

16 years agoBump some LWDEBUG(F) from level 1 up to levels 3-4 (level 1 is reserved)
Mark Cave-Ayland [Wed, 7 Jan 2009 12:11:15 +0000 (12:11 +0000)]
Bump some LWDEBUG(F) from level 1 up to levels 3-4 (level 1 is reserved)

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

16 years agoRemove memory leak in standard loader.
Paul Ramsey [Wed, 7 Jan 2009 01:16:40 +0000 (01:16 +0000)]
Remove memory leak in standard loader.

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

16 years agoAllow CPPFLAGS/LDFLAGS parameters from the command line to be passed into the CUnit...
Mark Cave-Ayland [Mon, 5 Jan 2009 20:54:12 +0000 (20:54 +0000)]
Allow CPPFLAGS/LDFLAGS parameters from the command line to be passed into the CUnit Makefile, since CUnit is the only dependency that cannot determine its own flags using a --with-X parameter. This allows CUnit to be installed in a non-standard location if required.

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

16 years agoPut circular back in mix. Doesn't crash now that MCA changed distance to throw error.
Regina Obe [Mon, 5 Jan 2009 14:44:41 +0000 (14:44 +0000)]
Put circular back in mix.  Doesn't crash now that MCA changed distance to throw error.

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

16 years agoRework the CUnit detection infrastructure as you can't locate include files based...
Mark Cave-Ayland [Mon, 5 Jan 2009 00:08:26 +0000 (00:08 +0000)]
Rework the CUnit detection infrastructure as you can't locate include files based on an absolute path. This is because autoconf and the compiler have differing ideas of the current paths (this totally breaks the Win32 build since you have the extra mapping between UNIX-type MingW paths and Windows-type paths). Hopefully this should not affect existing users at all - if so, please post a report on -devel. I'll try running this on MingW at a later date.

I've also enforced "make check" to run the unit tests, rather than "make test". This is a fallout from the early days when strk committed the regression test suite to run using "make test" by accident which appears to have stuck :(
.

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

16 years agoFix comment in lwgeom_from_ewkt() and also add a quick error check to lwgeom_from_ewk...
Mark Cave-Ayland [Sun, 4 Jan 2009 20:39:11 +0000 (20:39 +0000)]
Fix comment in lwgeom_from_ewkt() and also add a quick error check to lwgeom_from_ewkt() and lwgeom_from_ewkb() - otherwise upon parse failure we could pass a half-baked geometry back to the caller which would not be good :(

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

16 years agoUpdate the cunit tests to use the proper parser flag PARSER_CHECK_NONE rather than...
Mark Cave-Ayland [Sun, 4 Jan 2009 20:11:03 +0000 (20:11 +0000)]
Update the cunit tests to use the proper parser flag PARSER_CHECK_NONE rather than the hard-coded zero.

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

16 years agoAdd -lm to the cu_tester link line - we must always add this to the link line for...
Mark Cave-Ayland [Sun, 4 Jan 2009 19:54:47 +0000 (19:54 +0000)]
Add -lm to the cu_tester link line - we must always add this to the link line for anything that links agains liblwgeom.a (at least on my Linux system here)

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

16 years agoCommit quick fix for GBT#85: ST_Distance crashes on Circular String. Rather than...
Mark Cave-Ayland [Sun, 4 Jan 2009 19:24:22 +0000 (19:24 +0000)]
Commit quick fix for GBT#85: ST_Distance crashes on Circular String. Rather than devise and implement a set of distance functions for CIRCULARSTRINGs, I've simply added code to detect the condition and throw an "Unsupported geometry type" error, similar to as already exists within the codebase.

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

16 years agominor update
Regina Obe [Fri, 2 Jan 2009 13:25:31 +0000 (13:25 +0000)]
minor update

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

16 years agoAdd ST_DumpPoints. Not sure how simple it is.
Regina Obe [Fri, 2 Jan 2009 13:23:02 +0000 (13:23 +0000)]
Add ST_DumpPoints.  Not sure how simple it is.

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

16 years agoPut time stamp placeholder on (I think)
Regina Obe [Thu, 1 Jan 2009 21:36:07 +0000 (21:36 +0000)]
Put time stamp placeholder on (I think)

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

16 years agoFix typo
Regina Obe [Thu, 1 Jan 2009 21:26:22 +0000 (21:26 +0000)]
Fix typo

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

16 years agoFix based on test case from MAC.
Paul Ramsey [Thu, 1 Jan 2009 00:31:47 +0000 (00:31 +0000)]
Fix based on test case from MAC.

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

16 years agoAdd support for multilinestring to st_locatebetweenelevations
Paul Ramsey [Sat, 27 Dec 2008 22:58:08 +0000 (22:58 +0000)]
Add support for multilinestring to st_locatebetweenelevations

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

16 years agoAdd heat map case.
Paul Ramsey [Sat, 27 Dec 2008 08:08:57 +0000 (08:08 +0000)]
Add heat map case.

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

16 years agoAdd mline version of clipper.
Paul Ramsey [Wed, 24 Dec 2008 20:15:51 +0000 (20:15 +0000)]
Add mline version of clipper.

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

16 years agoAdd lwfree_geom to generically deep-free lwgeometries.
Paul Ramsey [Wed, 24 Dec 2008 17:37:53 +0000 (17:37 +0000)]
Add lwfree_geom to generically deep-free lwgeometries.

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

16 years agoAdd lwgeom_from_ewkt and change larger cunit tests to create candidate geometries...
Paul Ramsey [Wed, 24 Dec 2008 17:09:18 +0000 (17:09 +0000)]
Add lwgeom_from_ewkt and change larger cunit tests to create candidate geometries from text instead of by hand.

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

16 years agoTry and commit a pre-generated output from flex that works for the build-bot.
Mark Cave-Ayland [Wed, 24 Dec 2008 00:32:46 +0000 (00:32 +0000)]
Try and commit a pre-generated output from flex that works for the build-bot.

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

16 years agoRevert accidental commit of lex.yy.c
Paul Ramsey [Tue, 23 Dec 2008 22:11:12 +0000 (22:11 +0000)]
Revert accidental commit of lex.yy.c

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

16 years agoRename new functions to ST_LineCrossingDirection and ST_LocateBetweenElevations for...
Paul Ramsey [Tue, 23 Dec 2008 20:20:48 +0000 (20:20 +0000)]
Rename new functions to ST_LineCrossingDirection and ST_LocateBetweenElevations for more explicitness and closer correspondance to SQL/MM, respectively. Add a new geometry counter for collections.

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

16 years agoBreak out multi as separate geometry types and start putting in. Remove unary/aggrega...
Regina Obe [Tue, 23 Dec 2008 13:24:16 +0000 (13:24 +0000)]
Break out multi as separate geometry types and start putting in. Remove unary/aggregate geom since now exactly the same as section that takes only 1 geometry.

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

16 years agoAdd CUnit to main 'make test' build and check for existance of CUnit.h as part of...
Paul Ramsey [Mon, 22 Dec 2008 23:37:58 +0000 (23:37 +0000)]
Add CUnit to main 'make test' build and check for existance of CUnit.h as part of ./configure

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

16 years agoFix typo in the backticks when extracting linker/include flags from pg_config. Resolv...
Mark Cave-Ayland [Mon, 22 Dec 2008 21:49:00 +0000 (21:49 +0000)]
Fix typo in the backticks when extracting linker/include flags from pg_config. Resolving this allows SVN trunk to compile on MingW! :)

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

16 years agoMore typos
Regina Obe [Mon, 22 Dec 2008 17:49:41 +0000 (17:49 +0000)]
More typos

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

16 years agoMore typos
Regina Obe [Mon, 22 Dec 2008 17:48:45 +0000 (17:48 +0000)]
More typos

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

16 years agotypo
Regina Obe [Mon, 22 Dec 2008 17:47:13 +0000 (17:47 +0000)]
typo

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

16 years agoMissed a constant
Regina Obe [Mon, 22 Dec 2008 16:54:53 +0000 (16:54 +0000)]
Missed a constant

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

16 years agoFirst draft of ST_CrossingDirection -- needs more work
Regina Obe [Mon, 22 Dec 2008 16:53:00 +0000 (16:53 +0000)]
First draft of ST_CrossingDirection -- needs more work

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

16 years agoMore conditional corrections. Also take circular back out of test since still crashe...
Regina Obe [Mon, 22 Dec 2008 15:22:25 +0000 (15:22 +0000)]
More conditional corrections.  Also take circular back out of test since still crashes under 1.4 with ST_Distance.

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

16 years agoRevision - change to not test geoms against other geoms if function only takes one...
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

16 years agoRemove the few C++-style comments that have crept into the codebase, and add a note...
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

16 years agoRemove the WKB_CONVERSION hack which was invented to try and make the JTS connector...
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

16 years agoErrr.... unsigned *what* exactly??! If you'd have asked me yesterday if I thought...
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

16 years agoSome code tidy-ups: remove Windows CR/LFs from the file, change the free()s into...
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

16 years agorevert part of last change
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

16 years agocorrection to last edit
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

16 years agoAdd ST_LineClipZ(geometry, from, to) SQL and C functions.
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

16 years agoComplete c-level line clipping routines, and unit tests.
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

16 years agoAdd in lwfree_* deep memory clean-up routines for multi-objects.
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

16 years agoUpgraded section in using_postgis.xml that talks about OGC Simplicity / Validity.
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

16 years agoRemove camelCase example from style guideline against camelCase (! :)
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

16 years agoRemove the PostGIS LWGEOM type constants from pgsql2shp - they are no longer needed...
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

16 years agoComplete the pfree_ to lwfree_ renaming.
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

16 years agoMove curve back down below curve struct. Hm.
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

16 years agoComplete the pfree_* to lwfree_* renaming.
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

16 years agoRename pfree_* memory management function lwfree_*
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

16 years agoPartial work commit for safety
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

16 years agoIgnore generated Makefile
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

16 years agoRevise to cross every geometry with every other to better test the functions that...
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

16 years agoGet rid of redundant variable declares
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

16 years agoGet rid of 2 geom relation section. Its redundant now that the last condition sectio...
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

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