]> granicus.if.org Git - postgis/log
postgis
16 years agoRemove protection from ST_GeometryArray() aggregate.
Paul Ramsey [Thu, 22 Jan 2009 05:56:23 +0000 (05:56 +0000)]
Remove protection from ST_GeometryArray() aggregate.

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

16 years agoMore ignore fixes
Paul Ramsey [Thu, 22 Jan 2009 05:37:07 +0000 (05:37 +0000)]
More ignore fixes

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

16 years agoIgnore postgis.sql.*
Paul Ramsey [Thu, 22 Jan 2009 05:35:36 +0000 (05:35 +0000)]
Ignore postgis.sql.*

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

16 years agoAlter pg_proc update to work with older PgSQLs too.
Paul Ramsey [Thu, 22 Jan 2009 05:32:59 +0000 (05:32 +0000)]
Alter pg_proc update to work with older PgSQLs too.

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

16 years agoFirst stab at a back-port of the array_agg from 8.4. Our's isn't generic, and it...
Paul Ramsey [Thu, 22 Jan 2009 01:39:13 +0000 (01:39 +0000)]
First stab at a back-port of the array_agg from 8.4. Our's isn't generic, and it's got it's own name, so it won't collide, ... needs testing on PgSQL < 8.3 still.

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

16 years agomoved over |&> from reference.xml to reference_new.xml in the documentation
Kevin Neufeld [Thu, 22 Jan 2009 01:16:10 +0000 (01:16 +0000)]
moved over |&> from reference.xml to reference_new.xml in the documentation

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

16 years agomoved over &>| from reference.xml to reference_new.xml in the documentation
Kevin Neufeld [Thu, 22 Jan 2009 00:44:07 +0000 (00:44 +0000)]
moved over &>| from reference.xml to reference_new.xml in the documentation

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

16 years agomoved over &> from reference.xml to reference_new.xml in the documentation
Kevin Neufeld [Thu, 22 Jan 2009 00:16:21 +0000 (00:16 +0000)]
moved over &> from reference.xml to reference_new.xml in the documentation

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

16 years agomoved over &&, &<, and = from reference.xml to reference_new.xml in the documentation
Kevin Neufeld [Wed, 21 Jan 2009 23:26:29 +0000 (23:26 +0000)]
moved over &&, &<, and = from reference.xml to reference_new.xml in the documentation

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

16 years agoAdd support for fast unions, with cascaded union. Currently for testing, in the ST_Un...
Paul Ramsey [Wed, 21 Jan 2009 23:19:50 +0000 (23:19 +0000)]
Add support for fast unions, with cascaded union. Currently for testing, in the ST_Union_Fast() agggregate. Requires GEOS SVN r2252 or higher.

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

16 years agoAdd rfc document. First one: alignment ideas.
Paul Ramsey [Wed, 21 Jan 2009 21:55:13 +0000 (21:55 +0000)]
Add rfc document. First one: alignment ideas.

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

16 years agoHeaders split in 8.4?
Paul Ramsey [Wed, 21 Jan 2009 21:50:38 +0000 (21:50 +0000)]
Headers split in 8.4?

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

16 years agoPut translation_stage into descriptive MACRO names
Paul Ramsey [Tue, 20 Jan 2009 18:43:50 +0000 (18:43 +0000)]
Put translation_stage into descriptive MACRO names

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

16 years agoAdd GTK macro.
Paul Ramsey [Tue, 20 Jan 2009 18:28:59 +0000 (18:28 +0000)]
Add GTK macro.

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

16 years agoReplace hand-built pkg-config routine w/ m4 from gtk source.
Paul Ramsey [Tue, 20 Jan 2009 17:48:44 +0000 (17:48 +0000)]
Replace hand-built pkg-config routine w/ m4 from gtk source.

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

16 years agoCompile your work much?
Paul Ramsey [Tue, 20 Jan 2009 07:36:49 +0000 (07:36 +0000)]
Compile your work much?

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

16 years agoProtect the filename setting a little bit more in case it's NULL.
Paul Ramsey [Tue, 20 Jan 2009 07:13:23 +0000 (07:13 +0000)]
Protect the filename setting a little bit more in case it's NULL.

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

16 years agoFixed accidental broken build in docs from Rev3536.
Kevin Neufeld [Tue, 20 Jan 2009 00:50:10 +0000 (00:50 +0000)]
Fixed accidental broken build in docs from Rev3536.

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

16 years agoFirst revision of the GUI. Configure using --with-gui to enable full GUI build. New...
Paul Ramsey [Mon, 19 Jan 2009 21:33:14 +0000 (21:33 +0000)]
First revision of the GUI. Configure using --with-gui to enable full GUI build. New core/cli will build by default. Old utilities remain in place for now.

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

16 years agomove ST_GeomCollFromText
Regina Obe [Fri, 16 Jan 2009 17:58:39 +0000 (17:58 +0000)]
move ST_GeomCollFromText

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

16 years agoMove st_mpolyfromtext
Regina Obe [Fri, 16 Jan 2009 17:41:17 +0000 (17:41 +0000)]
Move st_mpolyfromtext

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

16 years agoLeft some garbage in
Regina Obe [Thu, 15 Jan 2009 21:11:00 +0000 (21:11 +0000)]
Left some garbage in

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

16 years agoPart 1 of GBT#94: Rename folders/files to be more consistent. Embed the MAJOR.MINOR...
Mark Cave-Ayland [Thu, 15 Jan 2009 18:35:06 +0000 (18:35 +0000)]
Part 1 of GBT#94: Rename folders/files to be more consistent. Embed the MAJOR.MINOR version in the PostgreSQL shared library name (to allow different databases to contain different PostGIS versions) and also rename lwpostgis.sql to postgis.sql. Update documentation in various files to reflect the new names at the same time.

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

16 years agoMove ST_MLineFromText
Regina Obe [Thu, 15 Jan 2009 18:24:49 +0000 (18:24 +0000)]
Move ST_MLineFromText

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

16 years agomore stuff
Regina Obe [Thu, 15 Jan 2009 18:17:01 +0000 (18:17 +0000)]
more stuff

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

16 years agoforgot some stuff
Regina Obe [Thu, 15 Jan 2009 18:16:30 +0000 (18:16 +0000)]
forgot some stuff

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

16 years agoMove over MPointFromText
Regina Obe [Thu, 15 Jan 2009 18:14:53 +0000 (18:14 +0000)]
Move over MPointFromText

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

16 years agoFix the output of "SELECT postgis_full_version()" on trunk by ensuring that USE_STATS...
Mark Cave-Ayland [Thu, 15 Jan 2009 15:10:21 +0000 (15:10 +0000)]
Fix the output of "SELECT postgis_full_version()" on trunk by ensuring that USE_STATS is present, and correctly generating the POSTGIS_SCRIPTS_VERSION variable so that installations of trunk don't keep thinking that they need a scripts upgrade.

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

16 years agoRemove missing prototype warning from build.
Paul Ramsey [Wed, 14 Jan 2009 17:46:00 +0000 (17:46 +0000)]
Remove missing prototype warning from build.

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

16 years agoError in logic in gardentest not correctly flagging WKT functions as taking geometry...
Regina Obe [Tue, 13 Jan 2009 15:12:19 +0000 (15:12 +0000)]
Error in logic in gardentest not correctly flagging WKT functions as taking geometry variant

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

16 years agoFix regression tests to account for changes made in r3522 (rename 'Curve' to 'Circula...
Mark Cave-Ayland [Tue, 13 Jan 2009 15:11:19 +0000 (15:11 +0000)]
Fix regression tests to account for changes made in r3522 (rename 'Curve' to 'CircularString')

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

16 years agoMove over ST_PolygonFromText
Regina Obe [Tue, 13 Jan 2009 14:04:57 +0000 (14:04 +0000)]
Move over ST_PolygonFromText

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

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