]> granicus.if.org Git - postgis/log
postgis
6 years ago[drone] Add drone-1.0 config
Sandro Santilli [Thu, 6 Jun 2019 10:24:48 +0000 (10:24 +0000)]
[drone] Add drone-1.0 config

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

6 years agoTypos..
Sandro Santilli [Thu, 6 Jun 2019 06:57:23 +0000 (06:57 +0000)]
Typos..

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

6 years agoRemove extraneous UTF8 characters
Sandro Santilli [Thu, 6 Jun 2019 06:51:11 +0000 (06:51 +0000)]
Remove extraneous UTF8 characters

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

6 years agoCircular string distances have some failure modes, and test
Paul Ramsey [Fri, 12 Apr 2019 22:21:18 +0000 (22:21 +0000)]
Circular string distances have some failure modes, and test
suite should test everything bi-directionally.
References #4326

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

6 years agoFix postgis_type_name with (GEOMETRYM,3)
Raúl Marín Rodríguez [Fri, 29 Mar 2019 14:30:38 +0000 (14:30 +0000)]
Fix postgis_type_name with (GEOMETRYM,3)

Patch by Matt Bretl

References #4361

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

6 years agoFlip to 2.3.10dev, also flip winnie to use latest stable GEOS
Regina Obe [Mon, 11 Mar 2019 20:05:00 +0000 (20:05 +0000)]
Flip to 2.3.10dev, also flip winnie to use latest stable GEOS

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

6 years agoFix typos in doc release and update change log
Regina Obe [Mon, 11 Mar 2019 19:39:51 +0000 (19:39 +0000)]
Fix typos in doc release and update change log

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

6 years agoPrep for 2.3.9 release
Regina Obe [Mon, 11 Mar 2019 18:38:39 +0000 (18:38 +0000)]
Prep for 2.3.9 release

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

6 years agoSchema qualify all geometry casts in raster code, otherwise materialized views do...
Regina Obe [Mon, 11 Mar 2019 18:21:25 +0000 (18:21 +0000)]
Schema qualify all geometry casts in raster code, otherwise materialized views do not resture
Closes #4291 for PostGIS 2.3.9

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

6 years agoUpdate test running instructions
Paul Ramsey [Fri, 15 Feb 2019 19:00:50 +0000 (19:00 +0000)]
Update test running instructions

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

6 years agoUpdate OGC certification scripts to match SFSQL 1.2 signatures
Paul Ramsey [Fri, 15 Feb 2019 18:54:06 +0000 (18:54 +0000)]
Update OGC certification scripts to match SFSQL 1.2 signatures

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

6 years agoAdd generated file
Paul Ramsey [Mon, 11 Feb 2019 17:34:55 +0000 (17:34 +0000)]
Add generated file

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

6 years agoAdd initialization to lexer
Paul Ramsey [Mon, 11 Feb 2019 17:34:48 +0000 (17:34 +0000)]
Add initialization to lexer
References #4017

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

6 years agoRevert r17178
Raúl Marín Rodríguez [Tue, 22 Jan 2019 09:02:30 +0000 (09:02 +0000)]
Revert r17178

It changes the behaviour of _postgis_pgsql_version

References #4303

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

6 years agoUn space
Paul Ramsey [Fri, 18 Jan 2019 21:56:55 +0000 (21:56 +0000)]
Un space

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

6 years agoGeodetic tolerance issue in 32-bit
Paul Ramsey [Fri, 18 Jan 2019 18:05:36 +0000 (18:05 +0000)]
Geodetic tolerance issue in 32-bit
References #4298

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

6 years agoUse `server_version_num` instead of parsing `version()`
Raúl Marín Rodríguez [Fri, 18 Jan 2019 17:24:12 +0000 (17:24 +0000)]
Use `server_version_num` instead of parsing `version()`

References #4296

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

6 years agoAvoid passing a NULL pointer to GEOSisEmpty
Raúl Marín Rodríguez [Fri, 18 Jan 2019 16:07:59 +0000 (16:07 +0000)]
Avoid passing a NULL pointer to GEOSisEmpty

Closes #4275
Closes https://github.com/postgis/postgis/pull/362

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

6 years agoMore robust geography distance
Paul Ramsey [Fri, 11 Jan 2019 21:45:25 +0000 (21:45 +0000)]
More robust geography distance
References #4290

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

6 years agoFix so custom --with-projdir= configure switch works again.
Regina Obe [Wed, 26 Dec 2018 04:12:21 +0000 (04:12 +0000)]
Fix so custom --with-projdir= configure switch works again.
Closes #4279 for PostGIS 2.3

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

6 years agoSupport Proj 6. Support is via legacy API.
Darafei Praliaskouski [Mon, 17 Dec 2018 10:39:54 +0000 (10:39 +0000)]
Support Proj 6. Support is via legacy API.

Closes #4254
Closes https://github.com/postgis/postgis/pull/354

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

6 years agoChange test conditions to explicit empty test
Paul Ramsey [Tue, 27 Nov 2018 00:16:20 +0000 (00:16 +0000)]
Change test conditions to explicit empty test
References #4245

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

6 years agoStabilize GiST ND indexes for mixed dimensions
Darafei Praliaskouski [Sun, 25 Nov 2018 19:36:07 +0000 (19:36 +0000)]
Stabilize GiST ND indexes for mixed dimensions

Patch by Darafei Praliaskouski

Thanks to
 Arthur Lesuisse for synthesizing test case,
 Andrew Gierth for finding runaway memcpy,
 Raúl Marín for pointing to memory problem in index construction.

Closes #4139

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

6 years agoFlip to 2.3.9dev
Regina Obe [Sat, 24 Nov 2018 05:08:36 +0000 (05:08 +0000)]
Flip to 2.3.9dev

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

6 years agoPreparing for 2.3.8 release
Regina Obe [Sat, 24 Nov 2018 05:02:47 +0000 (05:02 +0000)]
Preparing for 2.3.8 release

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

6 years agoAvoid unaligned memory access in BOX2D_out
Raúl Marín Rodríguez [Thu, 22 Nov 2018 16:14:23 +0000 (16:14 +0000)]
Avoid unaligned memory access in BOX2D_out

References #4244

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

6 years agoFix undefined behaviour in ST_3DDistance
Raúl Marín Rodríguez [Thu, 22 Nov 2018 13:40:38 +0000 (13:40 +0000)]
Fix undefined behaviour in ST_3DDistance

References #4246

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

6 years agoFix undefined behaviour in raster intersection
Raúl Marín Rodríguez [Wed, 21 Nov 2018 14:10:31 +0000 (14:10 +0000)]
Fix undefined behaviour in raster intersection

References #4249

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

6 years agoAvoid undefined behaviour in next_float functions (Raúl Marín)
Raúl Marín Rodríguez [Wed, 21 Nov 2018 11:43:09 +0000 (11:43 +0000)]
Avoid undefined behaviour in next_float functions (Raúl Marín)

References #4247

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

6 years agoAllocate enough memory in gidx_to_string
Raúl Marín Rodríguez [Thu, 15 Nov 2018 09:05:32 +0000 (09:05 +0000)]
Allocate enough memory in gidx_to_string

References #4236

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

6 years agoAdd 4223 news line
Paul Ramsey [Wed, 7 Nov 2018 17:17:16 +0000 (17:17 +0000)]
Add 4223 news line

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

6 years agoPatch over bad behaviour for near-parallel boxes and distancetree.
Paul Ramsey [Wed, 7 Nov 2018 17:15:58 +0000 (17:15 +0000)]
Patch over bad behaviour for near-parallel boxes and distancetree.

Unfortunately, this "fix" is probably breakable, just put the boxes closer and closer together until we get "close enough to be the same" results from the edge normal comparison again. Only way around this is to do dot product and comparisons in higher-than-double space
References #4223

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

6 years ago[raster] Fix envelope Contains shortcut in ST_Clip
Darafei Praliaskouski [Tue, 23 Oct 2018 13:07:29 +0000 (13:07 +0000)]
[raster] Fix envelope Contains shortcut in ST_Clip

Patch by Sai-bot

Closes #3457

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

6 years agoFix support for PostgreSQL-12 ("getrelid" macro removed)
Sandro Santilli [Wed, 17 Oct 2018 14:28:02 +0000 (14:28 +0000)]
Fix support for PostgreSQL-12 ("getrelid" macro removed)

The call is replaced with its expansion which should work
as back as PostgreSQL-9.1 which is before the oldest version
PostGIS-2.2 (our oldest maintained branch) supports.

This is then safe to backport to all branches till 2.2.

Patch by Laurenz Albe

References #4206 in 2.3 branch

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

6 years agoOnly drop function IF EXISTS ...
Sandro Santilli [Mon, 15 Oct 2018 11:47:36 +0000 (11:47 +0000)]
Only drop function IF EXISTS ...

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

6 years agoUse portable code to write extension-protection line
Sandro Santilli [Mon, 15 Oct 2018 11:31:38 +0000 (11:31 +0000)]
Use portable code to write extension-protection line

References #4203 in 2.3 branch

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

6 years ago[topology] properly drop removed internal functions on upgrade
Sandro Santilli [Mon, 15 Oct 2018 10:41:25 +0000 (10:41 +0000)]
[topology] properly drop removed internal functions on upgrade

References #4202 in 2.3 branch

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

6 years agoFix undefined behaviour in ptarray_clone_deep
Raúl Marín Rodríguez [Tue, 2 Oct 2018 11:40:07 +0000 (11:40 +0000)]
Fix undefined behaviour in ptarray_clone_deep

References #4191

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

6 years agoFix undefined behaviour in SADFWrite
Raúl Marín Rodríguez [Tue, 2 Oct 2018 09:45:39 +0000 (09:45 +0000)]
Fix undefined behaviour in SADFWrite

References #4189

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

6 years agoUse qualified names in topology extension install
Raúl Marín Rodríguez [Fri, 14 Sep 2018 15:30:57 +0000 (15:30 +0000)]
Use qualified names in topology extension install

References #4160

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

6 years agoAvoid array overflow in ANALYZE (References #2985)
Paul Ramsey [Thu, 13 Sep 2018 19:24:48 +0000 (19:24 +0000)]
Avoid array overflow in ANALYZE (References #2985)

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

7 years agoFix flags in case where a boxless geom comes in with a "has box" set of flags.
Paul Ramsey [Tue, 12 Jun 2018 12:56:10 +0000 (12:56 +0000)]
Fix flags in case where a boxless geom comes in with a "has box" set of flags.
Closes #4707

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

7 years agoAvoid segfault in median test (32bits)
Raúl Marín Rodríguez [Wed, 23 May 2018 09:27:31 +0000 (09:27 +0000)]
Avoid segfault in median test (32bits)

References #4095

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

7 years agoInconsistent results from qsort callback (yugr)
Paul Ramsey [Tue, 22 May 2018 19:37:27 +0000 (19:37 +0000)]
Inconsistent results from qsort callback (yugr)
References #4093

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

7 years agoFix bug in lwgeom_median and avoid division by zero
Raúl Marín Rodríguez [Mon, 21 May 2018 11:03:01 +0000 (11:03 +0000)]
Fix bug in lwgeom_median and avoid division by zero

References #3997
Closes https://github.com/postgis/postgis/pull/245

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

7 years agoFixes bounding box handling in twkb_input #4089
Nicklas Avén [Wed, 16 May 2018 21:39:00 +0000 (21:39 +0000)]
Fixes bounding box handling in twkb_input #4089

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

7 years agocomment out sfcgal tests for now until we resolve cgal/sfcgal dependency issue on...
Regina Obe [Sat, 12 May 2018 20:31:49 +0000 (20:31 +0000)]
comment out sfcgal tests for now until we resolve cgal/sfcgal dependency issue on debian (hopefully got syntax right this time)
References #4068

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

7 years agocomment out sfcgal tests for now until we resolve cgal/sfcgal dependency issue on...
Regina Obe [Wed, 9 May 2018 07:30:42 +0000 (07:30 +0000)]
comment out sfcgal tests for now until we resolve cgal/sfcgal dependency issue on debian
References #4068

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

7 years agoDisable interrupt tests by default, now requires --with-interrupt-tests to turn on.
Regina Obe [Tue, 24 Apr 2018 09:28:02 +0000 (09:28 +0000)]
Disable interrupt tests by default, now requires --with-interrupt-tests to turn on.
This is to quiet false alarms which often happen on a busy box
Closes #4074

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

7 years agoST_ClusterKMeans crash on NULL and EMPTY
Darafei Praliaskouski [Sat, 21 Apr 2018 13:17:14 +0000 (13:17 +0000)]
ST_ClusterKMeans crash on NULL and EMPTY

Closes #4071

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

7 years agoFlip version to 2.3.8dev
Regina Obe [Fri, 6 Apr 2018 04:58:54 +0000 (04:58 +0000)]
Flip version to 2.3.8dev

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

7 years agoFix winnie's packaging versions for GEOS and GDAL
Regina Obe [Mon, 2 Apr 2018 07:04:37 +0000 (07:04 +0000)]
Fix winnie's packaging versions for GEOS and GDAL

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

7 years agoUpdate postgis_release_docs recipe for 2.2 (to be same as 2.4, so debbie can build)
Regina Obe [Mon, 2 Apr 2018 03:58:29 +0000 (03:58 +0000)]
Update postgis_release_docs recipe for 2.2 (to be same as 2.4, so debbie can build)

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

7 years agoUpdate to 2.3.7 and get everything ready in prep for official tagging on Friday ...
Regina Obe [Mon, 2 Apr 2018 03:01:59 +0000 (03:01 +0000)]
Update to 2.3.7 and get everything ready in prep for official tagging on Friday (2018-04-06)

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

7 years agoFix crasher in raster when fed an empty raster (note was tempted to change the def...
Regina Obe [Wed, 28 Mar 2018 09:02:04 +0000 (09:02 +0000)]
Fix crasher in raster when fed an empty raster (note was tempted to change the def of empty raster to include raster with no bands but not sure where else that is used, so just revised the clip check to not try to clip if no bands).
References #3055 for PostGIS 2.3.7,
also minor doc fix references #2925 for PostGIS 2.3.7
reorder NEWS tickets numerically

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

7 years agoST_CPAWithin precision fix
Darafei Praliaskouski [Tue, 27 Mar 2018 17:38:18 +0000 (17:38 +0000)]
ST_CPAWithin precision fix

Closes #4032

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

7 years agoAvoid dropping SRID in ST_ClusterIntersecting
Daniel Baston [Sat, 24 Mar 2018 00:01:14 +0000 (00:01 +0000)]
Avoid dropping SRID in ST_ClusterIntersecting

References #4055

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

7 years agoschema qualify geography functions (including ST_Buffer)
Regina Obe [Thu, 22 Mar 2018 15:45:31 +0000 (15:45 +0000)]
schema qualify geography functions (including ST_Buffer)
References #4052 for PostGIS 2.3.7

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

7 years agoAdd generated lexer (for 2.3)
Paul Ramsey [Mon, 26 Feb 2018 20:14:56 +0000 (20:14 +0000)]
Add generated lexer (for 2.3)

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

7 years agoFix memory corruption in case where lexer is interrupted mid-process
Paul Ramsey [Mon, 26 Feb 2018 20:14:36 +0000 (20:14 +0000)]
Fix memory corruption in case where lexer is interrupted mid-process
References #4017
For 2.3

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

7 years agoUse more precise bounds when testing overlap of temporal ranges.
Paul Ramsey [Mon, 26 Feb 2018 18:27:03 +0000 (18:27 +0000)]
Use more precise bounds when testing overlap of temporal ranges.
For 2.3, references #4025

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

7 years agoAdd Raúl Marín Rodríguez to svn and git authors lists
Regina Obe [Fri, 23 Feb 2018 19:54:14 +0000 (19:54 +0000)]
Add Raúl Marín Rodríguez  to svn and git authors lists

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

7 years agoBackport ci changes to 2.3
Regina Obe [Thu, 22 Feb 2018 22:22:10 +0000 (22:22 +0000)]
Backport ci changes to 2.3

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

7 years ago[gitlab-ci] Switch to PostgreSQL 9.6 and libjson-c-dev
Sandro Santilli [Thu, 22 Feb 2018 13:42:00 +0000 (13:42 +0000)]
[gitlab-ci] Switch to PostgreSQL 9.6 and libjson-c-dev

Fixes gitlab-ci build for 2.3, references #4023

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

7 years agoFix cast from box3d to geometry
Darafei Praliaskouski [Thu, 22 Feb 2018 11:16:37 +0000 (11:16 +0000)]
Fix cast from box3d to geometry

Patch by Matthias Bay

Closes https://github.com/postgis/postgis/pull/214
Closes #4020

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

7 years agolwpoly_construct_circle: Avoid division by zero (Raúl Marín Rodríguez)
Paul Ramsey [Fri, 26 Jan 2018 14:56:52 +0000 (14:56 +0000)]
lwpoly_construct_circle: Avoid division by zero (Raúl Marín Rodríguez)
References #4003

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

7 years agoSet availability of support function for KNN index
Sandro Santilli [Mon, 22 Jan 2018 14:13:28 +0000 (14:13 +0000)]
Set availability of support function for KNN index

Fixes upgrade from 2.1 to 2.2+
References #3978 in 2.3 branch (2.3.7)

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

7 years ago[drone] Use trisquel2 image, test all pgsql versions and upgrades
Sandro Santilli [Mon, 22 Jan 2018 12:37:27 +0000 (12:37 +0000)]
[drone] Use trisquel2 image, test all pgsql versions and upgrades

The new docker image also uses newer GEOS (3.6.2).
References #3813 for 2.3 branch
NOTE: -Werror is not used in this branch

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

7 years agoBackport run_test.pl fixes from trunk
Sandro Santilli [Mon, 22 Jan 2018 11:31:37 +0000 (11:31 +0000)]
Backport run_test.pl fixes from trunk

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

7 years agoflip version to 2.3.7dev, add in 2.3.6 to upgrade path
Regina Obe [Tue, 16 Jan 2018 06:33:20 +0000 (06:33 +0000)]
flip version to 2.3.7dev, add in 2.3.6 to upgrade path
backport changes to stamp timestamp
References #3991 for PostGIS 2.3.7dev

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

7 years agoGet rid of sed fiddling with SVN revision
Regina Obe [Mon, 15 Jan 2018 21:01:41 +0000 (21:01 +0000)]
Get rid of sed fiddling with SVN revision

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

7 years agomore clearifying notes on HOWTO_RELEASE
Regina Obe [Mon, 15 Jan 2018 20:58:06 +0000 (20:58 +0000)]
more clearifying notes on HOWTO_RELEASE
change version to 2.3.6 in prep for tagging tomorrow or Wednesday.

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

7 years agoupdate change log, echo branch reference, minor correction to HOWTO_RELEASE
Regina Obe [Mon, 15 Jan 2018 02:19:08 +0000 (02:19 +0000)]
update change log, echo branch reference, minor correction to HOWTO_RELEASE

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

7 years agominor edits to HOWTO_RELEASE
Regina Obe [Sun, 14 Jan 2018 16:05:45 +0000 (16:05 +0000)]
minor edits to HOWTO_RELEASE
Add 2.3.5, 2.3.6dev to upgradeable_versions.mk
Update release_notes.xml to reflect impending release
Flip version to 2.3.6rc1 (in prep for rc1 tagging)

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

7 years agoBackport changes to standardize debbie's packaging and ensure
Regina Obe [Sun, 14 Jan 2018 15:34:35 +0000 (15:34 +0000)]
Backport changes to standardize debbie's packaging and ensure
she builds tagged versions as well without manual intervention
Update HOWTO_RELEASE to reflect change
References #3985 for PostGIS 2.3

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

7 years ago2.3 fix, st_transform does not qualify query to spatial_ref_sys (references #3975)
Paul Ramsey [Fri, 12 Jan 2018 13:55:02 +0000 (13:55 +0000)]
2.3 fix, st_transform does not qualify query to spatial_ref_sys (references #3975)

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

7 years agoAdd check for PostgreSQL version compatibility in postgis_full_version
Sandro Santilli [Fri, 12 Jan 2018 09:38:17 +0000 (09:38 +0000)]
Add check for PostgreSQL version compatibility in postgis_full_version

Adds _postgis_scripts_pgsql_version() and _postgis_pgsql_version()
internal functions, each returning an encoded version number,
and has postgis_full_version() compare running vs. build-time used

Always show PGSQL version scripts were built against

References #3822 for 2.3 branch

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

7 years agoEncoded Polyline of EMPTY
Darafei Praliaskouski [Fri, 12 Jan 2018 08:55:42 +0000 (08:55 +0000)]
Encoded Polyline of EMPTY
Pull in from trunk

Closes #3982

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

7 years agoUse template1 for connecting
Sandro Santilli [Tue, 9 Jan 2018 20:52:25 +0000 (20:52 +0000)]
Use template1 for connecting

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

7 years agoWait for database to be up before proceeding
Sandro Santilli [Tue, 9 Jan 2018 20:29:32 +0000 (20:29 +0000)]
Wait for database to be up before proceeding

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

7 years agoSimplify syntax for brin opclasses so upgrade script recognizes it
Sandro Santilli [Tue, 9 Jan 2018 18:41:55 +0000 (18:41 +0000)]
Simplify syntax for brin opclasses so upgrade script recognizes it

Fixes #3956 in 2.3 branch

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

7 years agoDo not assume CREATE OPERATOR CLASS needs to end with ');'
Sandro Santilli [Tue, 9 Jan 2018 18:41:25 +0000 (18:41 +0000)]
Do not assume CREATE OPERATOR CLASS needs to end with ');'

A single ending semicolon is enough to terminate the statement

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

7 years agoUpgrade SFCGAL too when requested
Sandro Santilli [Tue, 9 Jan 2018 18:40:52 +0000 (18:40 +0000)]
Upgrade SFCGAL too when requested

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

7 years agoFix KMeans initialization issue that lost clusters sometimes.
Darafei Praliaskouski [Tue, 2 Jan 2018 14:09:50 +0000 (14:09 +0000)]
Fix KMeans initialization issue that lost clusters sometimes.

Closes #3965
Closes https://github.com/postgis/postgis/pull/179

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

7 years agoDrag in authors mapping from trunk.
Darafei Praliaskouski [Tue, 2 Jan 2018 13:45:38 +0000 (13:45 +0000)]
Drag in authors mapping from trunk.

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

7 years agoadd in verbose and logic to drop test database if it exists. Switch to using BRANCH...
Regina Obe [Tue, 12 Dec 2017 18:10:09 +0000 (18:10 +0000)]
add in verbose and logic to drop test database if it exists.  Switch to using BRANCH instead of TAG

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

7 years agouse new osgeo project logo
Regina Obe [Sun, 10 Dec 2017 01:55:00 +0000 (01:55 +0000)]
use new osgeo project logo

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

7 years agoSupport google line encodings that include a backslash character (References #3713)
Paul Ramsey [Thu, 30 Nov 2017 21:41:38 +0000 (21:41 +0000)]
Support google line encodings that include a backslash character (References #3713)

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

7 years agoAdd to bessie step to install and test extension install
Regina Obe [Wed, 29 Nov 2017 02:37:54 +0000 (02:37 +0000)]
Add to bessie step to install and test extension install

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

7 years agoExplicitly specify $(PERL) to call create_unpackaged.pl otherwise at least on freebsd...
Regina Obe [Wed, 29 Nov 2017 01:12:37 +0000 (01:12 +0000)]
Explicitly specify $(PERL) to call create_unpackaged.pl otherwise at least on freebsd it fails (and backport other minor changes like remove of 9.1 which support was dropped in 2.2)
Closes #3938 for PostGIS 2.3.6
Also add the Bessie sisters to battery testing

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

7 years agoPush versions for next release
Paul Ramsey [Wed, 15 Nov 2017 18:04:29 +0000 (18:04 +0000)]
Push versions for next release

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

7 years agoPrepare for release
Paul Ramsey [Wed, 15 Nov 2017 17:54:39 +0000 (17:54 +0000)]
Prepare for release

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

7 years agoAdd missing 2.2.6 upgrade path
Regina Obe [Thu, 9 Nov 2017 09:01:28 +0000 (09:01 +0000)]
Add missing 2.2.6 upgrade path
References #3926 for PostGIS 2.3.5

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

7 years agoAdd missing release notes for ST_Segmentize geography fix.
Regina Obe [Thu, 9 Nov 2017 08:55:04 +0000 (08:55 +0000)]
Add missing release notes for ST_Segmentize geography fix.
References #3667 for PostGIS 2.3.5

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

7 years agoReplace project-and-entend logic with
Paul Ramsey [Tue, 7 Nov 2017 18:31:37 +0000 (18:31 +0000)]
Replace project-and-entend logic with
bisect-and-recurse in geography segmentization.
Preserves "mostly equal" segment lengths, and
should be more numerically stable.
Backport to 2.3.
References #3667

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

7 years agoMake sure target directories are created before copying files to them
Sandro Santilli [Tue, 31 Oct 2017 15:33:31 +0000 (15:33 +0000)]
Make sure target directories are created before copying files to them

References #3912 for 2.3 branch
References #3916 for 2.3 branch

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

7 years agoPut build AUX files under build-aux
Sandro Santilli [Sat, 21 Oct 2017 09:04:58 +0000 (09:04 +0000)]
Put build AUX files under build-aux

Cleans and ignore build aux files from new location,
and remove spurious install-sh from repository.

References #3912 for 2.3 branch

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

7 years agoPush versions to dev
Paul Ramsey [Wed, 18 Oct 2017 18:19:58 +0000 (18:19 +0000)]
Push versions to dev

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

7 years agoPrepare for 2.3.4 release
Paul Ramsey [Wed, 18 Oct 2017 18:09:59 +0000 (18:09 +0000)]
Prepare for 2.3.4 release

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

7 years agoAllocate enough space for all possible GBOX string outputs (Raúl Marín Rodríguez)
Paul Ramsey [Tue, 17 Oct 2017 16:54:52 +0000 (16:54 +0000)]
Allocate enough space for all possible GBOX string outputs (Raúl Marín Rodríguez)
Closes #3907

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