]> granicus.if.org Git - postgis/log
postgis
6 years agospgist 2d and 3d support for PG 11+
Regina Obe [Sun, 1 Jul 2018 15:34:22 +0000 (15:34 +0000)]
spgist 2d and 3d support for PG 11+
references #1847
Credits: Arthur Lesuisse, Esteban Zimanyi from Université Libre de Bruxelles (ULB)  and Darafei Praliaskouski
also added logic to exclude PG < 11 from including this functionality
Closes https://github.com/postgis/postgis/pull/258

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

6 years agoMake test sort order deterministic by using lateral.
Regina Obe [Sat, 30 Jun 2018 21:59:42 +0000 (21:59 +0000)]
Make test sort order deterministic by using lateral.
Closes #4111
(Note they are going to fix the issue upstream that made this fail on stable 10, but I wanted to change this test anyway)

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

6 years agoAdd spaces in documentation
Daniel Baston [Tue, 26 Jun 2018 14:55:00 +0000 (14:55 +0000)]
Add spaces in documentation

Patch from hannes
Closes https://gitlab.com/postgis/postgis/merge_requests/10

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

6 years agofix spacing
Regina Obe [Mon, 18 Jun 2018 21:47:12 +0000 (21:47 +0000)]
fix spacing

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

6 years agoFix availability note of ST_OrientedEnvelope so it shows in new functions section
Regina Obe [Mon, 18 Jun 2018 21:46:30 +0000 (21:46 +0000)]
Fix availability note of ST_OrientedEnvelope so it shows in new functions section

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

6 years agoLink to ST_OrientedEnvelope from ST_Envelope
Regina Obe [Sun, 17 Jun 2018 09:33:12 +0000 (09:33 +0000)]
Link to ST_OrientedEnvelope from ST_Envelope

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

6 years agoAdd graphical examples for ST_Envelope and ST_OrientedEnvelope
Regina Obe [Sun, 17 Jun 2018 08:41:15 +0000 (08:41 +0000)]
Add graphical examples for ST_Envelope and ST_OrientedEnvelope

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

6 years agoFix infinite loop in linearization of a big radius small arc
Sandro Santilli [Fri, 15 Jun 2018 22:16:06 +0000 (22:16 +0000)]
Fix infinite loop in linearization of a big radius small arc

Ref #4058 for trunk (2.5.0dev)
Includes unit test

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

6 years agoMVT tests: Remove ST_Normalize calls
Raúl Marín Rodríguez [Wed, 13 Jun 2018 14:19:49 +0000 (14:19 +0000)]
MVT tests: Remove ST_Normalize calls

References #4106

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

6 years agoTravis: Install all required dependencies for MVT tests
Raúl Marín Rodríguez [Wed, 13 Jun 2018 14:16:16 +0000 (14:16 +0000)]
Travis: Install all required dependencies for MVT tests

References #4106

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

6 years agoFix flags in case where a boxless geom comes in with a "has box" set of flags.
Paul Ramsey [Tue, 12 Jun 2018 01:38:11 +0000 (01:38 +0000)]
Fix flags in case where a boxless geom comes in with a "has box" set of flags.
References #4707

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

6 years agoRemove erroneous commutator definitions for over(left/right/above/below)
Paul Ramsey [Wed, 6 Jun 2018 18:01:15 +0000 (18:01 +0000)]
Remove erroneous commutator definitions for over(left/right/above/below)
operators. Closes #4088

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

6 years agoDebbie / Postgres 9.4 calls function twice.
Darafei Praliaskouski [Wed, 6 Jun 2018 09:29:33 +0000 (09:29 +0000)]
Debbie / Postgres 9.4 calls function twice.

References #4103

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

6 years agoST_PointOnSurface handling of invalid.
Darafei Praliaskouski [Tue, 5 Jun 2018 17:11:34 +0000 (17:11 +0000)]
ST_PointOnSurface handling of invalid.

Prints a loud notice and passes input through MakeValid.

Closes #4103
Closes https://github.com/postgis/postgis/pull/257

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

6 years agoUnify geometry centroid functions
Darafei Praliaskouski [Tue, 5 Jun 2018 14:40:45 +0000 (14:40 +0000)]
Unify geometry centroid functions

Make ST_Centroid call lwgeom_centroid.

Closes #3960
Closes https://github.com/postgis/postgis/pull/256

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

6 years agoRemove mentions of GEOS <= 3.5.0.
Darafei Praliaskouski [Tue, 5 Jun 2018 12:28:44 +0000 (12:28 +0000)]
Remove mentions of GEOS <= 3.5.0.

PostGIS requires 3.5.0 already.

Closes https://github.com/postgis/postgis/pull/255

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

6 years agoST_ClusterKMeans: handle effective K=0 when all the inputs are EMPTY
Darafei Praliaskouski [Sun, 3 Jun 2018 09:11:32 +0000 (09:11 +0000)]
ST_ClusterKMeans: handle effective K=0 when all the inputs are EMPTY

Closes #4101
Closes https://github.com/postgis/postgis/pull/254

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

6 years agoLet KMeans init even if there are only duplicates in input
Darafei Praliaskouski [Sat, 2 Jun 2018 12:09:35 +0000 (12:09 +0000)]
Let KMeans init even if there are only duplicates in input

Added reporting of duplicates noticed on init pass.

Closes #4100
Closes https://github.com/postgis/postgis/pull/253

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

6 years agochange to version 2.5.0 and have table generated be 25
Regina Obe [Sat, 2 Jun 2018 05:39:23 +0000 (05:39 +0000)]
change to version 2.5.0 and have table generated be 25

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

6 years ago[doc] fix invalid xml
Darafei Praliaskouski [Fri, 1 Jun 2018 13:38:40 +0000 (13:38 +0000)]
[doc] fix invalid xml

make check skips it for me locally for some reason.

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

6 years ago[doc] Update index usage troubleshooting section
Darafei Praliaskouski [Fri, 1 Jun 2018 13:29:57 +0000 (13:29 +0000)]
[doc] Update index usage troubleshooting section

Contains typo fixes reported by Yaroslav Schekin in https://t.me/pgsql

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

6 years ago[doc] fix xml structure
Darafei Praliaskouski [Fri, 1 Jun 2018 11:20:23 +0000 (11:20 +0000)]
[doc] fix xml structure

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

6 years ago[doc] dbmanagement manual pass
Darafei Praliaskouski [Fri, 1 Jun 2018 11:00:24 +0000 (11:00 +0000)]
[doc] dbmanagement manual pass

Removed some dust, references to PostGIS 1 and Postgres 7.

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

6 years agoAdd entry about upgrade script symlinks
Sandro Santilli [Thu, 31 May 2018 10:20:24 +0000 (10:20 +0000)]
Add entry about upgrade script symlinks

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

6 years agoFix typo in drawPoint() in doc images generator.
Darafei Praliaskouski [Wed, 30 May 2018 18:32:08 +0000 (18:32 +0000)]
Fix typo in drawPoint() in doc images generator.

Issue introduced in r16296

Closes #4098
Closes https://github.com/postgis/postgis/pull/252

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

6 years agoFix function comment for lw_arc_center
Sandro Santilli [Tue, 29 May 2018 08:06:15 +0000 (08:06 +0000)]
Fix function comment for lw_arc_center

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

6 years agoFlip to 2.5.0beta1dev
Regina Obe [Mon, 28 May 2018 23:45:38 +0000 (23:45 +0000)]
Flip to 2.5.0beta1dev

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

6 years agoAdd in Enhancements and Fixes section for PostGIS 2.5.0alpha
Regina Obe [Mon, 28 May 2018 23:21:38 +0000 (23:21 +0000)]
Add in Enhancements and Fixes section for PostGIS 2.5.0alpha

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

6 years agoIn prep for PostGIS 2.5.0alpha release
Regina Obe [Mon, 28 May 2018 23:02:46 +0000 (23:02 +0000)]
In prep for PostGIS 2.5.0alpha release

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

6 years agoput back pgis_abs_in and pgis_abs_out as stubs to maintain lib compatibility with...
Regina Obe [Mon, 28 May 2018 22:49:35 +0000 (22:49 +0000)]
put back pgis_abs_in and pgis_abs_out as stubs to maintain lib compatibility with PostGIS 2.4 and below
References #4097

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

6 years agoRemove trailing blank
Raúl Marín Rodríguez [Wed, 23 May 2018 09:33:47 +0000 (09:33 +0000)]
Remove trailing blank

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

6 years agoInconsistent results from qsort callback (references #4093)
Paul Ramsey [Tue, 22 May 2018 19:35:21 +0000 (19:35 +0000)]
Inconsistent results from qsort callback (references #4093)

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

6 years agort_pg: Fix build issue with LVM jit
Raúl Marín Rodríguez [Tue, 22 May 2018 16:21:51 +0000 (16:21 +0000)]
rt_pg: Fix build issue with LVM jit

Patch by Laurenz Albe (modified to include CFLAGS too)

Closes #4094
Related to #4060

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

6 years agoAddress compiler warnings and add -Wextra to travis
Raúl Marín Rodríguez [Mon, 21 May 2018 15:22:38 +0000 (15:22 +0000)]
Address compiler warnings and add -Wextra to travis

Closes #4091
Closes https://github.com/postgis/postgis/pull/246

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

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

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

6 years agoWrong code-comment regarding front/back of BOX3D
Darafei Praliaskouski [Thu, 10 May 2018 08:07:13 +0000 (08:07 +0000)]
Wrong code-comment regarding front/back of BOX3D

Patch by Matthias Bay

Closes #4084
Closes https://github.com/postgis/postgis/pull/241

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

6 years agoSupport for PostgreSQL 9.5 use Int64GetDatum instead of UInt64GetDatum for < 9.6
Regina Obe [Wed, 9 May 2018 10:21:03 +0000 (10:21 +0000)]
Support for PostgreSQL 9.5 use Int64GetDatum instead of UInt64GetDatum for < 9.6
Revise tests to disable outdb first so that error test consitently fails even if default state is to have out db allowed
Closes #4083 for PostGIS 2.5.0
Closes https://github.com/postgis/postgis/pull/240

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

6 years agoUpdated docs and NEWS for various changes
Bborie Park [Wed, 9 May 2018 00:15:57 +0000 (00:15 +0000)]
Updated docs and NEWS for various changes

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

6 years agoAdd ST_BandFileSize and ST_BandFileTimestamp,
Regina Obe [Tue, 8 May 2018 22:37:41 +0000 (22:37 +0000)]
Add ST_BandFileSize and ST_BandFileTimestamp,
           extend ST_BandMetadata (Even Rouault)
Closes #4083 for PostGIS 2.5.0
Closes https://github.com/postgis/postgis/pull/240

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

6 years agoPatch from Even Rouault - remove useless cd, that prevent Travis-CI to work from...
Regina Obe [Tue, 8 May 2018 21:09:54 +0000 (21:09 +0000)]
Patch from Even Rouault - remove useless cd, that prevent Travis-CI to work from developer accounts
Was part of https://github.com/postgis/postgis/pull/240

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

6 years agoDelay freeing input until processing complete. From lucasvr.
Paul Ramsey [Mon, 7 May 2018 18:58:50 +0000 (18:58 +0000)]
Delay freeing input until processing complete. From lucasvr.
References #3980

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

6 years agoEmit a cancellation error code on GEOS interruptedExceptions, for consistency
Paul Ramsey [Mon, 7 May 2018 18:46:44 +0000 (18:46 +0000)]
Emit a cancellation error code on GEOS interruptedExceptions, for consistency
with internal interruptions.
References #4070

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

6 years agoAdd enhancement line to reference
Paul Ramsey [Mon, 7 May 2018 18:19:21 +0000 (18:19 +0000)]
Add enhancement line to reference

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

6 years ago#4079, ensure that polygons are CW coming out of the ASMVTGEOM process
Paul Ramsey [Mon, 7 May 2018 17:59:57 +0000 (17:59 +0000)]
#4079, ensure that polygons are CW coming out of the ASMVTGEOM process

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

6 years agoFollow up to fix review comment
Björn Harrtell [Sun, 6 May 2018 17:22:27 +0000 (17:22 +0000)]
Follow up to fix review comment
References #4076

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

6 years agoReplace GEOSPreparedContains with internal winding number algorithm
Björn Harrtell [Sun, 6 May 2018 16:34:55 +0000 (16:34 +0000)]
Replace GEOSPreparedContains with internal winding number algorithm

References #4076

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

6 years ago[doc] reword ST_QuantizeCoordinates doc
Darafei Praliaskouski [Tue, 24 Apr 2018 14:39:39 +0000 (14:39 +0000)]
[doc] reword ST_QuantizeCoordinates doc

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

6 years agoSurvive to big max deviation values passed to ST_CurveToLine
Sandro Santilli [Tue, 24 Apr 2018 13:26:49 +0000 (13:26 +0000)]
Survive to big max deviation values passed to ST_CurveToLine

When using "max-deviation" tolerance type, passing a tolerance
bigger than twice the radius of any arc resulted in entering
an infinite loop, only limited by availability of RAM.

This commit fixes the bug by being careful in what's fed to
acos()...

Includes a unit test.
References #4031 for trunk (2.5.0dev) - to be backported

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

6 years agoGEOS ClipByBox2D stub notice now includes ticket link
Darafei Praliaskouski [Tue, 24 Apr 2018 11:52:20 +0000 (11:52 +0000)]
GEOS ClipByBox2D stub notice now includes ticket link

Closes #4039
Closes https://github.com/postgis/postgis/pull/239

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

6 years agoST_ClusterKMeans k=2 is now faster and converges better.
Darafei Praliaskouski [Sat, 21 Apr 2018 12:36:51 +0000 (12:36 +0000)]
ST_ClusterKMeans k=2 is now faster and converges better.

This discovered and fixes issue in NULL handling.

Closes #4071
Closes https://github.com/postgis/postgis/pull/238

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

6 years agoRemove PG 9.3 from Drone matrix
Raúl Marín Rodríguez [Tue, 17 Apr 2018 10:20:22 +0000 (10:20 +0000)]
Remove PG 9.3 from Drone matrix

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

6 years agoFix dronie build
Raúl Marín Rodríguez [Tue, 17 Apr 2018 10:05:54 +0000 (10:05 +0000)]
Fix dronie build

References #4060

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

6 years agoFix travis build (C90 compatibility)
Raúl Marín Rodríguez [Tue, 17 Apr 2018 09:07:21 +0000 (09:07 +0000)]
Fix travis build (C90 compatibility)

References #4060
Closes https://github.com/postgis/postgis/pull/236

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

6 years agoPostgis module: Pass CFLAGS to PGXS
Raúl Marín Rodríguez [Tue, 17 Apr 2018 09:02:22 +0000 (09:02 +0000)]
Postgis module: Pass CFLAGS to PGXS

References #4060

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

6 years agoGuard against lookup failure, to avoid segfault in internally called case (references...
Paul Ramsey [Mon, 16 Apr 2018 17:26:57 +0000 (17:26 +0000)]
Guard against lookup failure, to avoid segfault in internally called case (references #4067)

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

6 years agoput back brin check. Brin doesn't work for < 9.5
Regina Obe [Mon, 16 Apr 2018 10:35:25 +0000 (10:35 +0000)]
put back brin check.  Brin doesn't work for < 9.5

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

6 years agoAdd doc notes, NEWS, and regress tests for json/jsonb (also add missing credits to...
Regina Obe [Mon, 16 Apr 2018 08:20:29 +0000 (08:20 +0000)]
Add doc notes, NEWS, and regress tests for json/jsonb (also add missing credits to NEWS)
Closes #4006 for 2.5.0

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

6 years agoDrop support in configure for PostgreSQL < 9.4 and GEOS < 3.5
Regina Obe [Mon, 16 Apr 2018 07:54:21 +0000 (07:54 +0000)]
Drop support in configure for PostgreSQL < 9.4 and GEOS < 3.5
References #4096

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

6 years agorevise to handle use of SOURCE_FOLDER if passed in as an arg
Regina Obe [Wed, 11 Apr 2018 21:02:41 +0000 (21:02 +0000)]
revise to handle use of SOURCE_FOLDER if passed in as an arg

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

6 years agoDisable sfcgal in make dist and regress testing until sfcgal compile issue
Regina Obe [Tue, 10 Apr 2018 04:06:01 +0000 (04:06 +0000)]
Disable sfcgal in make dist and regress testing until sfcgal compile issue
 for CGAL 4.11 / SFCGAL 1.3.3 against PostGIS is fixed
References #4068 for PostGIS 2.5

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

6 years ago#4063, optional false origin point for use in ST_Scale
Paul Ramsey [Fri, 6 Apr 2018 18:52:17 +0000 (18:52 +0000)]
#4063, optional false origin point for use in ST_Scale

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

6 years agoDo not try testing downgrades
Sandro Santilli [Fri, 6 Apr 2018 10:28:00 +0000 (10:28 +0000)]
Do not try testing downgrades

Closes #4064

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

6 years agoAdd upgrade paths for newly released stable versions
Regina Obe [Fri, 6 Apr 2018 07:13:13 +0000 (07:13 +0000)]
Add upgrade paths for newly released stable versions

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

6 years agoGEOSNode is not robust, avoid it in MakeValid.
Darafei Praliaskouski [Fri, 30 Mar 2018 19:05:56 +0000 (19:05 +0000)]
GEOSNode is not robust, avoid it in MakeValid.

Thread: https://lists.osgeo.org/pipermail/postgis-devel/2018-March/027078.html

Closes #4601
Closes https://github.com/postgis/postgis/pull/235

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

6 years agoAvoid incompatible automatic variable length array
Sandro Santilli [Wed, 28 Mar 2018 15:01:18 +0000 (15:01 +0000)]
Avoid incompatible automatic variable length array

Patch by vmo
Closes #4059

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

6 years agoAllow running topology perf test with run_test.pl
Sandro Santilli [Wed, 28 Mar 2018 15:01:12 +0000 (15:01 +0000)]
Allow running topology perf test with run_test.pl

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

6 years agoFix crasher in raster when fed an empty raster (note was tempted to change the def...
Regina Obe [Wed, 28 Mar 2018 08:37:30 +0000 (08:37 +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.5 (trunk),
also minor doc fix references #2925 for PostGIS 2.5 (trunk)

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

6 years agoST_CPAWithin precision fix
Darafei Praliaskouski [Tue, 27 Mar 2018 17:31:51 +0000 (17:31 +0000)]
ST_CPAWithin precision fix

Closes #4032
Closes https://github.com/postgis/postgis/pull/234
References #4025

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

6 years agoRevise postgis extension helper functions to support PostgreSQL 11+ (proisagg replac...
Regina Obe [Sat, 24 Mar 2018 04:58:08 +0000 (04:58 +0000)]
Revise postgis extension helper functions to support PostgreSQL 11+ (proisagg  replaced with prokind)
References #4044 for PostGIS 2.5 (trunk)

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

6 years agonote in docs about soft upgrade that legacy.sql must be rerun for each minor.
Regina Obe [Sat, 24 Mar 2018 02:12:46 +0000 (02:12 +0000)]
note in docs about soft upgrade that legacy.sql must be rerun for each minor.
References #2960 for PostGIS 2.5.0 (trunk)

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

6 years agoAvoid dropping SRID in ST_ClusterIntersecting
Daniel Baston [Fri, 23 Mar 2018 20:40:20 +0000 (20:40 +0000)]
Avoid dropping SRID in ST_ClusterIntersecting

There was not actually a problem with ST_ClusterWithin, and the previous
commit did not resolve the problem with ST_ClusterIntersecting.

References #4055

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

6 years agoAvoid dropping SRID in ST_ClusterWithin
Daniel Baston [Fri, 23 Mar 2018 19:47:53 +0000 (19:47 +0000)]
Avoid dropping SRID in ST_ClusterWithin

Resolves #4055

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

6 years agoFix error message in ST_ChaikinSmoothing per request
Nicklas Avén [Fri, 23 Mar 2018 14:57:29 +0000 (14:57 +0000)]
Fix error message in ST_ChaikinSmoothing per request

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

6 years agoFix file header cu_chaikin.c
Nicklas Avén [Fri, 23 Mar 2018 14:56:46 +0000 (14:56 +0000)]
Fix file header cu_chaikin.c

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

6 years agoAdd function ST_FilterByM #4056
Nicklas Avén [Fri, 23 Mar 2018 14:11:53 +0000 (14:11 +0000)]
Add function ST_FilterByM #4056

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

6 years agoFix memory leak in lwline_chaikin
Raúl Marín Rodríguez [Fri, 23 Mar 2018 09:24:00 +0000 (09:24 +0000)]
Fix memory leak in lwline_chaikin

Closes https://github.com/postgis/postgis/pull/233
Closes #4053

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

6 years agoschema qualify geography functions (including ST_Buffer)
Regina Obe [Fri, 23 Mar 2018 02:43:26 +0000 (02:43 +0000)]
schema qualify geography functions (including ST_Buffer)
Closes #4052 for PostGIS 2.5 (trunk)

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

6 years agofix space indention to tab
Nicklas Avén [Tue, 20 Mar 2018 14:11:54 +0000 (14:11 +0000)]
fix space indention to tab

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

6 years agoAdd ChaikinSmoothing #4050
Nicklas Avén [Tue, 20 Mar 2018 13:11:17 +0000 (13:11 +0000)]
Add ChaikinSmoothing #4050

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

6 years agofixes #4049
Nicklas Avén [Tue, 20 Mar 2018 09:37:03 +0000 (09:37 +0000)]
fixes #4049

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

6 years agoSeems sometimes the postgis_svn_revision.h gets wiped out, so end up with no svn...
Regina Obe [Sun, 18 Mar 2018 22:42:35 +0000 (22:42 +0000)]
Seems sometimes the postgis_svn_revision.h gets wiped out, so end up with no svn number.
Explicitly call svn_repo_revision.pl to ensure we have an svn number to read
References #4047 for PostGIS 2.5 (trunk)

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

6 years agothis for sure will fix revision # this time I tested beforehand
Regina Obe [Sun, 18 Mar 2018 09:11:41 +0000 (09:11 +0000)]
this for sure will fix revision # this time I tested beforehand
References #4047 for PostGIS 2.5 (trunk)

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

6 years agoone more try to get the SVN number in there
Regina Obe [Sun, 18 Mar 2018 05:32:45 +0000 (05:32 +0000)]
one more try to get the SVN number in there

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

6 years agovariable typo
Regina Obe [Sun, 18 Mar 2018 05:16:18 +0000 (05:16 +0000)]
variable typo

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

6 years agobah so close I remarked out an fi by mistake
Regina Obe [Sun, 18 Mar 2018 05:07:55 +0000 (05:07 +0000)]
bah so close I remarked out an fi by mistake
References #4047

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

6 years agoFix sed replace that injects UTC date and SVN revision number
Regina Obe [Sun, 18 Mar 2018 04:59:30 +0000 (04:59 +0000)]
Fix sed replace that injects UTC date and SVN revision number
Change to just build BR and DE for now
References #4047

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

6 years agoFix sed replace call echo out svn number
Regina Obe [Sun, 18 Mar 2018 02:50:10 +0000 (02:50 +0000)]
Fix sed replace call echo out svn number
References #4047

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

6 years agoupdate-po and put back the timestamp, put ? for now for svn rev
Regina Obe [Sun, 18 Mar 2018 02:36:47 +0000 (02:36 +0000)]
update-po and put back the timestamp, put ? for now for svn rev
References #4047

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

6 years agoTake out attempt to add svn number to revision or change the title at all
Regina Obe [Sun, 18 Mar 2018 02:31:23 +0000 (02:31 +0000)]
Take out attempt to add svn number to revision or change the title at all
References #4047

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

6 years agoTurn of translation building for now until debug issue with it
Regina Obe [Sat, 17 Mar 2018 18:25:14 +0000 (18:25 +0000)]
Turn of translation building for now until debug issue with it
References #4047

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

6 years agoST_LocateBetween: document offset parameter, link See Also
Darafei Praliaskouski [Fri, 16 Mar 2018 11:34:33 +0000 (11:34 +0000)]
ST_LocateBetween: document offset parameter, link See Also

https://lists.osgeo.org/pipermail/postgis-devel/2018-February/026966.html

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

6 years agoReplace Style01-Style06 with Style1-Style6 -- we don't have styles called Style0x...
Regina Obe [Fri, 16 Mar 2018 05:01:48 +0000 (05:01 +0000)]
Replace Style01-Style06 with Style1-Style6 -- we don't have styles called Style0x so was breaking the build.
References #4047

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

6 years agowrong path in last commit
Regina Obe [Thu, 15 Mar 2018 18:21:29 +0000 (18:21 +0000)]
wrong path in last commit

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

6 years agoRevise doc building to include the SVN revision number if we are doing dev release
Regina Obe [Thu, 15 Mar 2018 18:18:23 +0000 (18:18 +0000)]
Revise doc building to include the SVN revision number if we are doing dev release

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

6 years agoPut in missing availability notes for ST_Union and ST_Clip and also put in missed...
Regina Obe [Tue, 13 Mar 2018 22:48:09 +0000 (22:48 +0000)]
Put in missing availability notes for ST_Union and ST_Clip and also put in missed schema qualifications on ST_Clip, _ST_Clip functions

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

6 years agoFix fuzzer building since lwgeom uses GEOSNode()
Darafei Praliaskouski [Tue, 13 Mar 2018 17:39:15 +0000 (17:39 +0000)]
Fix fuzzer building since lwgeom uses GEOSNode()

Patch by Even Rouault

Closes https://github.com/postgis/postgis/pull/232

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

6 years agoST_Subdivide: update documentation and examples.
Darafei Praliaskouski [Mon, 12 Mar 2018 11:29:45 +0000 (11:29 +0000)]
ST_Subdivide: update documentation and examples.

Closes #4041

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

6 years agoFix prototype name
Daniel Baston [Mon, 12 Mar 2018 02:47:13 +0000 (02:47 +0000)]
Fix prototype name

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

6 years agoAdd ST_QuantizeCoordinates
Daniel Baston [Mon, 12 Mar 2018 02:41:56 +0000 (02:41 +0000)]
Add ST_QuantizeCoordinates

Closes #4029
Closes https://github.com/postgis/postgis/pull/225

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

6 years agoLiblwgeom: Fix memory leaks
Raúl Marín Rodríguez [Fri, 9 Mar 2018 17:43:12 +0000 (17:43 +0000)]
Liblwgeom: Fix memory leaks

Closes #4043
Closes #https://github.com/postgis/postgis/pull/230

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