]> granicus.if.org Git - postgis/log
postgis
16 years agoST_NumGeometries
Regina Obe [Thu, 16 Oct 2008 18:36:00 +0000 (18:36 +0000)]
ST_NumGeometries

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

16 years agoadd ST_ExteriorRing, ST_NumInteriorRings, ST_NumInteriorRing
Regina Obe [Thu, 16 Oct 2008 18:17:32 +0000 (18:17 +0000)]
add ST_ExteriorRing, ST_NumInteriorRings, ST_NumInteriorRing

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

16 years agoupdate st_azimuth - it should be called vector instead of line
Regina Obe [Thu, 16 Oct 2008 07:21:25 +0000 (07:21 +0000)]
update st_azimuth - it should be called vector instead of line

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

16 years agost_azimuth
Regina Obe [Thu, 16 Oct 2008 07:17:42 +0000 (07:17 +0000)]
st_azimuth

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

16 years agoadd st_boundary
Regina Obe [Thu, 16 Oct 2008 06:35:27 +0000 (06:35 +0000)]
add st_boundary

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

16 years agost_segmentize and st_linemerge
Regina Obe [Wed, 15 Oct 2008 13:39:46 +0000 (13:39 +0000)]
st_segmentize and st_linemerge

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

16 years agoFix warnings caused by incorrect header prototypes for GEOSPreparedGeom_destroy ...
Mark Cave-Ayland [Tue, 14 Oct 2008 20:45:30 +0000 (20:45 +0000)]
Fix warnings caused by incorrect header prototypes for GEOSPreparedGeom_destroy (now fixed with this patch and the patch in GEOS SVN)

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

16 years agoifdef pgsql 7.2 back to original behavior, since sliced detoasting
Paul Ramsey [Tue, 14 Oct 2008 18:59:05 +0000 (18:59 +0000)]
ifdef pgsql 7.2 back to original behavior, since sliced detoasting
is not supported.

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

16 years agoadd st_simplify notes
Regina Obe [Tue, 14 Oct 2008 18:15:25 +0000 (18:15 +0000)]
add st_simplify notes

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

16 years agoadd new function summaries for management functions
Regina Obe [Tue, 14 Oct 2008 11:44:18 +0000 (11:44 +0000)]
add new function summaries for management functions

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

16 years agoupdate help to include installing postgis_comments.sql, minor changes to postgis_comm...
Regina Obe [Tue, 14 Oct 2008 03:56:02 +0000 (03:56 +0000)]
update help to include installing postgis_comments.sql, minor changes to postgis_comments.sql

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

16 years agopostgis function definitions
Regina Obe [Mon, 13 Oct 2008 15:28:52 +0000 (15:28 +0000)]
postgis function definitions

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

16 years agoPeformance patch for gist consistent.
Paul Ramsey [Sun, 12 Oct 2008 17:55:38 +0000 (17:55 +0000)]
Peformance patch for gist consistent.

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

16 years agoMove prepared geometry into the standard function API (no special signature) and...
Paul Ramsey [Fri, 10 Oct 2008 18:17:42 +0000 (18:17 +0000)]
Move prepared geometry into the standard function API (no special signature) and add regression tests to match.

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

16 years agoRebuilt the box3d generation for circular strings to account for a special large...
Mark Leslie [Wed, 8 Oct 2008 09:05:24 +0000 (09:05 +0000)]
Rebuilt the box3d generation for circular strings to account for a special large-arc case.  Fix for issue 58, includes regression test for the case.

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

16 years agoFixed invalid references hidden within PGIS_DEBUG ifdefs.
Mark Leslie [Wed, 8 Oct 2008 08:59:29 +0000 (08:59 +0000)]
Fixed invalid references hidden within PGIS_DEBUG ifdefs.

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

16 years agoFix slight error in box shortcut logic in prepared intersects.
Paul Ramsey [Mon, 6 Oct 2008 19:51:44 +0000 (19:51 +0000)]
Fix slight error in box shortcut logic in prepared intersects.

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

16 years agoBackport prepared geometry handling code for GEOS 3.1+
Paul Ramsey [Sun, 5 Oct 2008 05:36:31 +0000 (05:36 +0000)]
Backport prepared geometry handling code for GEOS 3.1+

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

16 years agoFixed unescaped quotes in the error raising for the srid validity check of AddGeometr...
Mark Leslie [Fri, 3 Oct 2008 01:50:38 +0000 (01:50 +0000)]
Fixed unescaped quotes in the error raising for the srid validity check of AddGeometryColumn.

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

16 years agoAdd check for invalid SRID to addgeometrycolumn
Paul Ramsey [Thu, 2 Oct 2008 17:36:08 +0000 (17:36 +0000)]
Add check for invalid SRID to addgeometrycolumn

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

16 years agoDuh, boneheaded syntax error. Compile your code much, Paul?
Paul Ramsey [Thu, 2 Oct 2008 17:20:21 +0000 (17:20 +0000)]
Duh, boneheaded syntax error. Compile your code much, Paul?

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

16 years agoEnsure relate(g,g,p) is case insensitive. (#44)
Paul Ramsey [Thu, 2 Oct 2008 16:43:53 +0000 (16:43 +0000)]
Ensure relate(g,g,p) is case insensitive. (#44)

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

16 years agopass commandline options into commands (#45)
Paul Ramsey [Thu, 2 Oct 2008 15:59:41 +0000 (15:59 +0000)]
pass commandline options into commands (#45)

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

16 years agoBackport fixes for GBT#21 (locate_along_measure returning invalid values) and regress...
Mark Cave-Ayland [Tue, 30 Sep 2008 13:36:50 +0000 (13:36 +0000)]
Backport fixes for GBT#21 (locate_along_measure returning invalid values) and regression test enhancements to the 1.3 branch.

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

16 years agoFix regression issues with geojson and add news to ChangeLog
Paul Ramsey [Mon, 29 Sep 2008 22:56:51 +0000 (22:56 +0000)]
Fix regression issues with geojson and add news to ChangeLog

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

16 years agoBackport memory improvements and multi-polygon support for p-i-p
Paul Ramsey [Mon, 29 Sep 2008 18:25:00 +0000 (18:25 +0000)]
Backport memory improvements and multi-polygon support for p-i-p
shortcuts from trunk.

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

16 years agoFix commit 3000 by changing the module definition to be 1.3 branch style (@MODULE_FIL...
Mark Cave-Ayland [Thu, 25 Sep 2008 10:04:54 +0000 (10:04 +0000)]
Fix commit 3000 by changing the module definition to be 1.3 branch style (@MODULE_FILENAME@ instead of MODULE_PATHNAME used by pgxs)

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

16 years agoPut svn back in micro version
Regina Obe [Wed, 24 Sep 2008 14:06:34 +0000 (14:06 +0000)]
Put svn back in micro version

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

16 years agotypo
Regina Obe [Wed, 24 Sep 2008 14:01:29 +0000 (14:01 +0000)]
typo

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

16 years agoAdded ST_MakePointM and remove redundant redefinition of MakePointM
Regina Obe [Wed, 24 Sep 2008 13:59:18 +0000 (13:59 +0000)]
Added ST_MakePointM and remove redundant redefinition of MakePointM

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

16 years agoreduce memory leak in P-i-P shortcut
Paul Ramsey [Tue, 23 Sep 2008 19:09:31 +0000 (19:09 +0000)]
reduce memory leak in P-i-P shortcut

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

16 years agoExpand list of contributors
Regina Obe [Tue, 16 Sep 2008 01:51:54 +0000 (01:51 +0000)]
Expand list of contributors

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

16 years agoupdated intro - credits (very complacent folk, nobody voiced an objection), more...
Regina Obe [Tue, 16 Sep 2008 01:30:31 +0000 (01:30 +0000)]
updated intro - credits (very complacent folk, nobody voiced an objection), more info links

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

16 years agofixed broken download url of source tarball in section 2.2.
Kevin Neufeld [Fri, 12 Sep 2008 19:45:19 +0000 (19:45 +0000)]
fixed broken download url of source tarball in section 2.2.

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

16 years agotypo correction ST_Envelope change vald to valid
Regina Obe [Sat, 30 Aug 2008 16:36:43 +0000 (16:36 +0000)]
typo correction ST_Envelope change vald to valid

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

16 years agoChange to mapserver 5 syntax
Paul Ramsey [Tue, 12 Aug 2008 16:46:35 +0000 (16:46 +0000)]
Change to mapserver 5 syntax

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

16 years agoCopy the JDBC documentation changes from SVN trunk to the 1.3 branch related to ant...
Mark Cave-Ayland [Sat, 2 Aug 2008 08:40:23 +0000 (08:40 +0000)]
Copy the JDBC documentation changes from SVN trunk to the 1.3 branch related to ant, since ant has been the preferred build system for a while but the documentation was never updated to reflect this.

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

16 years agoPut in Availability 1.3.4 for ST_AsGeoJSON
Regina Obe [Thu, 31 Jul 2008 06:35:10 +0000 (06:35 +0000)]
Put in Availability 1.3.4 for ST_AsGeoJSON

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

16 years agodeprecate ST_Area2D and update docs accordingly
Regina Obe [Mon, 21 Jul 2008 13:41:31 +0000 (13:41 +0000)]
deprecate ST_Area2D and update docs accordingly

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

16 years agoFix for segfault in ANALYZE due to incorrect use of legacy BOX type within compute_ge...
Mark Cave-Ayland [Wed, 16 Jul 2008 08:44:09 +0000 (08:44 +0000)]
Fix for segfault in ANALYZE due to incorrect use of legacy BOX type within compute_geometry_stats() (Fixes GBT#43). Thanks to Landon Fuller for the bug report and fix.

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

16 years agoUpdated CSS from Dane Springmeyer
Paul Ramsey [Mon, 14 Jul 2008 21:52:20 +0000 (21:52 +0000)]
Updated CSS from Dane Springmeyer

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

16 years agoApply GeoJSON patch from Olivier Courtin.
Paul Ramsey [Sun, 13 Jul 2008 23:49:54 +0000 (23:49 +0000)]
Apply GeoJSON patch from Olivier Courtin.

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

16 years agoAdd version information to <title>
Paul Ramsey [Thu, 3 Jul 2008 17:36:21 +0000 (17:36 +0000)]
Add version information to <title>

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

16 years agoRemove SVN from micro version
Paul Ramsey [Thu, 3 Jul 2008 17:14:33 +0000 (17:14 +0000)]
Remove SVN from micro version

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

16 years agoSame changes as in trunk
Regina Obe [Mon, 30 Jun 2008 15:34:38 +0000 (15:34 +0000)]
Same changes as in trunk

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

16 years agosame changes as made to trunk
Regina Obe [Fri, 27 Jun 2008 16:42:37 +0000 (16:42 +0000)]
same changes as made to trunk

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

17 years agoEnhanced speed _ST_DWithin(g,g,d) that returns as soon as g and g are within d of...
Paul Ramsey [Wed, 28 May 2008 22:58:35 +0000 (22:58 +0000)]
Enhanced speed _ST_DWithin(g,g,d) that returns as soon as g and g are within d of each other, rather than using distance naively. Change ST_DWithin to use enhanced op. (Issue 20)

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

17 years agoFix towgs84 for 31300 and 31370 (issue 23)
Paul Ramsey [Wed, 28 May 2008 21:58:32 +0000 (21:58 +0000)]
Fix towgs84 for 31300 and 31370 (issue 23)

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

17 years agoGeomunion name change note, issue 26.
Paul Ramsey [Wed, 28 May 2008 21:47:06 +0000 (21:47 +0000)]
Geomunion name change note, issue 26.

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

17 years agoBug reporting documentation (issue 27)
Paul Ramsey [Wed, 28 May 2008 21:45:09 +0000 (21:45 +0000)]
Bug reporting documentation (issue 27)

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

17 years agoFix for issue 30, ST_Buffer doco mistake
Paul Ramsey [Wed, 28 May 2008 21:35:53 +0000 (21:35 +0000)]
Fix for issue 30, ST_Buffer doco mistake

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

17 years agoPull trunk changes back into 1.3 branch.
Paul Ramsey [Tue, 27 May 2008 17:14:43 +0000 (17:14 +0000)]
Pull trunk changes back into 1.3 branch.

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

17 years agoFix for DBF files with deleted records. (#29)
Paul Ramsey [Tue, 27 May 2008 02:59:06 +0000 (02:59 +0000)]
Fix for DBF files with deleted records. (#29)

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

17 years agoBranch 1.3.x release series.
Mark Cave-Ayland [Wed, 14 May 2008 16:43:12 +0000 (16:43 +0000)]
Branch 1.3.x release series.

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

17 years agoST_AsGeoJSon patch from Olivier Courtin <olivier.courtin@camptocamp.com>.
Paul Ramsey [Thu, 24 Apr 2008 01:04:52 +0000 (01:04 +0000)]
ST_AsGeoJSon patch from Olivier Courtin <olivier.courtin@camptocamp.com>.

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

17 years agoenvelope doco fix
Paul Ramsey [Tue, 22 Apr 2008 14:54:07 +0000 (14:54 +0000)]
envelope doco fix

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

17 years agoBump trunk up to 1.3.4SVN
Paul Ramsey [Sat, 12 Apr 2008 18:39:39 +0000 (18:39 +0000)]
Bump trunk up to 1.3.4SVN

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

17 years agoVersions and news for the 1.3.3 release.
Paul Ramsey [Sat, 12 Apr 2008 18:32:14 +0000 (18:32 +0000)]
Versions and news for the 1.3.3 release.

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

17 years agoUpdate re dbf patch
Paul Ramsey [Sat, 12 Apr 2008 16:46:13 +0000 (16:46 +0000)]
Update re dbf patch

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

17 years agoNew -n switch to support DBF-only loading of attributes without shapes.
Paul Ramsey [Sat, 12 Apr 2008 16:44:55 +0000 (16:44 +0000)]
New -n switch to support DBF-only loading of attributes without shapes.
Submitted by Regina Obe.

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

17 years agoRemove svn:eol-style from regress_ogc_expected; MingW requires unix line endings...
Mark Cave-Ayland [Sat, 12 Apr 2008 10:16:21 +0000 (10:16 +0000)]
Remove svn:eol-style from regress_ogc_expected; MingW requires unix line endings in order for the diff to work as expected.

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

17 years agoReduce FTDate field size to 8 bytes from 10. Matches other calls in the file
Paul Ramsey [Thu, 10 Apr 2008 14:44:26 +0000 (14:44 +0000)]
Reduce FTDate field size to 8 bytes from 10. Matches other calls in the file
now, no good explanation in code why it was 10 to start with.
http://postgis.refractions.net/pipermail/postgis-users/2008-April/019169.html

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

17 years agoAnother round of PostgreSQL 8.3 fixes, this time related to arrays. Make sure that...
Mark Cave-Ayland [Thu, 10 Apr 2008 06:40:33 +0000 (06:40 +0000)]
Another round of PostgreSQL 8.3 fixes, this time related to arrays. Make sure that we use the supplied ArrayType pointer macros, instead of attempting to access to cast directly to ArrayType. This resolved GBT#13 where a "corrupted histogram" error is thrown when using using ST_EstimatedExtent() under 8.3.

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

17 years agoChange sr_id into an integer, per mca's suggestion.
Paul Ramsey [Wed, 9 Apr 2008 19:52:19 +0000 (19:52 +0000)]
Change sr_id into an integer, per mca's suggestion.

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

17 years agoFix string literal comparison warnings: "comparison with string literal results in
Paul Ramsey [Tue, 8 Apr 2008 21:36:50 +0000 (21:36 +0000)]
Fix string literal comparison warnings: "comparison with string literal results in
unspecified behaviour"

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

17 years agoRename all occurances of getopt to pgis_getopt to work around
Paul Ramsey [Mon, 7 Apr 2008 20:09:48 +0000 (20:09 +0000)]
Rename all occurances of getopt to pgis_getopt to work around
OS/X 10.5 system function name collision.

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

17 years agoFix the ST_AsKML regression tests.
Paul Ramsey [Mon, 7 Apr 2008 19:47:21 +0000 (19:47 +0000)]
Fix the ST_AsKML regression tests.

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

17 years agoAllow conditional regression tests based on GEOS_VERNUM and move the
Paul Ramsey [Mon, 7 Apr 2008 19:47:05 +0000 (19:47 +0000)]
Allow conditional regression tests based on GEOS_VERNUM and move the
cover/prepared tests into the appropriate buckets. Fix the AT_AsKML
regression tests.

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

17 years agoremove unloved header file
Paul Ramsey [Sat, 5 Apr 2008 14:49:11 +0000 (14:49 +0000)]
remove unloved header file

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

17 years agoRemove the code that adds share/contrib/nad to the PROJ.4 search path for PostgreSQL...
Mark Cave-Ayland [Mon, 31 Mar 2008 11:16:54 +0000 (11:16 +0000)]
Remove the code that adds share/contrib/nad to the PROJ.4 search path for PostgreSQL < 8.0 since the mechanism for determining the path has changed from earlier versions, and this was mainly for Win32 users. Also rename nad/ directory to proj/ to keep it inline with an existing PROJ.4 installation.

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

17 years agosmall syntax errors in ST_YMAX, etc functions
Paul Ramsey [Sun, 30 Mar 2008 19:38:42 +0000 (19:38 +0000)]
small syntax errors in ST_YMAX, etc functions

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

17 years agoconfirm st_*min st_*max
Paul Ramsey [Sun, 30 Mar 2008 19:37:09 +0000 (19:37 +0000)]
confirm st_*min st_*max

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

17 years agoSyntax error in sql.in
Paul Ramsey [Fri, 28 Mar 2008 23:24:42 +0000 (23:24 +0000)]
Syntax error in sql.in

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

17 years agoFixed up KML patch from Eduin Carillo.
Paul Ramsey [Fri, 28 Mar 2008 21:31:57 +0000 (21:31 +0000)]
Fixed up KML patch from Eduin Carillo.

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

17 years agoEnable the USE_PROJ and GEOS_VERNUM macros to propogate into lwpostgis.sql.in
Paul Ramsey [Fri, 28 Mar 2008 21:28:21 +0000 (21:28 +0000)]
Enable the USE_PROJ and GEOS_VERNUM macros to propogate into lwpostgis.sql.in

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

17 years agoRevert KML patch, bad puppy!
Paul Ramsey [Fri, 28 Mar 2008 21:10:28 +0000 (21:10 +0000)]
Revert KML patch, bad puppy!

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

17 years agoAdded KML patch from Eduin Carillo.
Paul Ramsey [Fri, 28 Mar 2008 21:04:46 +0000 (21:04 +0000)]
Added KML patch from Eduin Carillo.
http://code.google.com/p/postgis/issues/detail?id=17

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

17 years agoChanged ifeq to ifndef for CXX macro test.
Paul Ramsey [Fri, 28 Mar 2008 20:18:49 +0000 (20:18 +0000)]
Changed ifeq to ifndef for CXX macro test.

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

17 years agoRemoved unloved and un-used geos_version.sh file.
Paul Ramsey [Fri, 28 Mar 2008 20:17:21 +0000 (20:17 +0000)]
Removed unloved and un-used geos_version.sh file.

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

17 years agoAdded SVN support patch from Dr. Marco Hugentobler, as described in http://postgis...
Paul Ramsey [Fri, 28 Mar 2008 20:03:42 +0000 (20:03 +0000)]
Added SVN support patch from Dr. Marco Hugentobler, as described in http://postgis.refractions.net/pipermail/postgis-devel/2008-February/002883.html

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

17 years agoAdded GEOS_VERNUM macro and protected GEOS 3.0/3.1 functionality behind it.
Paul Ramsey [Fri, 28 Mar 2008 19:25:16 +0000 (19:25 +0000)]
Added GEOS_VERNUM macro and protected GEOS 3.0/3.1 functionality behind it.

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

17 years agoFix crash caused by double-free in LWGEOM_same - we were accidentally freeing the...
Mark Cave-Ayland [Fri, 28 Mar 2008 18:55:17 +0000 (18:55 +0000)]
Fix crash caused by double-free in LWGEOM_same - we were accidentally freeing the 1st parameter twice instead of freeing the second parameter. Thanks to Cliff Wright for the bug report.

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

17 years agoRemoved regress_ogc_prep from tests temporarily until a new GEOS is released with...
Paul Ramsey [Fri, 28 Mar 2008 17:05:04 +0000 (17:05 +0000)]
Removed regress_ogc_prep from tests temporarily until a new GEOS is released with support
for new predicates.

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

17 years agoFix bug with |>> and <<| operators - the BOX2D overabove and overbelow functions...
Mark Cave-Ayland [Thu, 27 Mar 2008 21:18:16 +0000 (21:18 +0000)]
Fix bug with |>> and <<| operators - the BOX2D overabove and overbelow functions were actually wrong, causing index scans to return the wrong results. Per bug report from Tomas Karlsson.

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

17 years agoChange link to postgis bug tracker
Paul Ramsey [Wed, 26 Mar 2008 03:40:47 +0000 (03:40 +0000)]
Change link to postgis bug tracker

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

17 years agoResolve GBT bugs #2,#3 and #9 related to crashes when calling aggregate functions...
Mark Cave-Ayland [Fri, 21 Mar 2008 08:17:49 +0000 (08:17 +0000)]
Resolve GBT bugs #2,#3 and #9 related to crashes when calling aggregate functions under PostgreSQL 8.3 (all earlier versions would not see the error). This was due to missing more VARSIZE macros in the PostgreSQL 8.3 conversion. The complete list of affected functions under PostgreSQL 8.3 is: ST_force_2d(), ST_force_3dz(), ST_force_3dm(), ST_force_4d(), ST_Collect(), ST_MakeLine(), ST_Polygonize(), ST_Union()/ST_GeomUnion(), ST_MakePolygon()/ST_Polygon().

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

17 years agoDocument ST_SimplifyPreserveTopology(geometry,float)
Paul Ramsey [Tue, 12 Feb 2008 15:05:23 +0000 (15:05 +0000)]
Document ST_SimplifyPreserveTopology(geometry,float)

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

17 years agoAdded hook to GEOSTopologyPreserveSimplify
Paul Ramsey [Tue, 12 Feb 2008 15:03:25 +0000 (15:03 +0000)]
Added hook to GEOSTopologyPreserveSimplify

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

17 years agoChanged the interface for the GEOS prepared predicates.
Ben Jubb [Tue, 29 Jan 2008 01:24:34 +0000 (01:24 +0000)]
Changed the interface for the GEOS prepared predicates.
ST_contains, ST_containsProperly, ST_covers, and ST_intersects are now overloaded.
The new arguments style is ( geometry, geometry, integer).  The third argument is used to determine when the first argument changes.  The assumption is that when the third argument changes, the first argument is assumed to have changed too.  This side-steps the issue of determining when the identity of the first geometry changes.

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

17 years agoAmmended to include prepared geometry cache code in scope of PREPARED_GEOM symbol.
Ben Jubb [Tue, 22 Jan 2008 19:44:25 +0000 (19:44 +0000)]
Ammended to include prepared geometry cache code in scope of PREPARED_GEOM symbol.

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

17 years agoModified to check version of GEOS and stub out prepared predicates if GEOS is prior...
Ben Jubb [Tue, 22 Jan 2008 00:24:42 +0000 (00:24 +0000)]
Modified to check version of GEOS and stub out prepared predicates if GEOS is prior to 3.1.0

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

17 years agoMade some minor changes suggested by Mark Cave-Ayland.
Ben Jubb [Fri, 18 Jan 2008 18:57:25 +0000 (18:57 +0000)]
Made some minor changes suggested by Mark Cave-Ayland.

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

17 years agoAdded new function wrappers to expose prepared geometry predicates:
Ben Jubb [Fri, 18 Jan 2008 01:05:30 +0000 (01:05 +0000)]
Added new function wrappers to expose prepared geometry predicates:
ST_ContainsPrepared( geometry, geometry )
ST_ContainsProperlyPrepared( geometry, geometry )
ST_CoversPrepared( geometry, geometry )
ST_IntersectsPrepared( geometry, geometry )

as well, this function was added, for orthogonality:
ST_ContainsProperly( geometry, geometry )

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

17 years agoAdded new functions to lwgeom_geos_c.c to support prepared geometry predicates.
Ben Jubb [Fri, 18 Jan 2008 01:04:18 +0000 (01:04 +0000)]
Added new functions to lwgeom_geos_c.c to support prepared geometry predicates.
bool containsPrepared( geom, geom)
bool containsProperlyPrepared( geom, geom)
bool coversPrepared( geom, geom)
bool intersectsPrepared( geom, geom)

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

17 years agoTests for the prepared geometry predicates.
Ben Jubb [Fri, 18 Jan 2008 00:59:13 +0000 (00:59 +0000)]
Tests for the prepared geometry predicates.
The tests were copied from regress_ogc, and modified.
Most of the tests use a pattern where the same function is invoked three times with the same argument.
This tests the prepared geometry caching mechanism.
This testfile haven't been added to regress/Makefile yet, as it fails for one case.  This
probably due to a bug in GEOS.

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

17 years agoBump version number to 1.3.3SVN for next development cycle.
Mark Cave-Ayland [Fri, 11 Jan 2008 15:05:26 +0000 (15:05 +0000)]
Bump version number to 1.3.3SVN for next development cycle.

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

17 years agoRewrite the pgsql2shp connection string code so that it uses a connection string...
Mark Cave-Ayland [Fri, 11 Jan 2008 15:04:05 +0000 (15:04 +0000)]
Rewrite the pgsql2shp connection string code so that it uses a connection string, rather than setting environment variables. MingW-compiled and MSVC-compiled apps seem to have great problems passing the variables to each other, causing regression to fail. With this fix (and a Makefile tweak), it is now possible to run a MingW-compiled PostGIS against an MSVC compiled PostgreSQL and pass all regression tests.

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

17 years agoFix up bad entities and screwed up programlistings from some previous pretty-printing
Paul Ramsey [Mon, 3 Dec 2007 23:10:50 +0000 (23:10 +0000)]
Fix up bad entities and screwed up programlistings from some previous pretty-printing
run on the XML.

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

17 years agoCommit updated versions of the ChangeLog and README.postgis (also change some referen...
Mark Cave-Ayland [Sun, 2 Dec 2007 20:37:13 +0000 (20:37 +0000)]
Commit updated versions of the ChangeLog and README.postgis (also change some references in README.postgis from "run as root" to "run as postgres", and correct the --with-pgsql and --with-geos documentation)

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

17 years agoAdded release notes.
Paul Ramsey [Fri, 30 Nov 2007 18:19:38 +0000 (18:19 +0000)]
Added release notes.

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