]> granicus.if.org Git - postgis/log
postgis
7 years agoChange to SPI_execute so we can run SRS query in 'read_only' mode and avoid transacti...
Paul Ramsey [Wed, 10 Jan 2018 14:01:25 +0000 (14:01 +0000)]
Change to SPI_execute so we can run SRS query in 'read_only' mode and avoid transaction issues that break parallel mode

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

7 years agoGeneralize upgrade paths extension installs
Sandro Santilli [Wed, 10 Jan 2018 11:35:22 +0000 (11:35 +0000)]
Generalize upgrade paths extension installs

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

7 years agoRemove duplicated diff output
Sandro Santilli [Tue, 9 Jan 2018 18:15:20 +0000 (18:15 +0000)]
Remove duplicated diff output

This was accidentally included with r16153 by Komzpa

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

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

Might help with https://debbie.postgis.net/job/PostGIS_Regress/8247/console

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

7 years agoAlso test unexpected probin in sfcgal
Sandro Santilli [Tue, 9 Jan 2018 17:51:22 +0000 (17:51 +0000)]
Also test unexpected probin in sfcgal

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

7 years agoReally fix syntax this time (I hope)
Sandro Santilli [Tue, 9 Jan 2018 17:17:28 +0000 (17:17 +0000)]
Really fix syntax this time (I hope)

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

7 years agoFix OPERATOR CLASS syntax
Sandro Santilli [Tue, 9 Jan 2018 17:03:16 +0000 (17:03 +0000)]
Fix OPERATOR CLASS syntax

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

7 years agoDrop FAMILY specifier from operator class of brin
Sandro Santilli [Tue, 9 Jan 2018 15:56:33 +0000 (15:56 +0000)]
Drop FAMILY specifier from operator class of brin

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

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

Fixes #3956 for me

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

7 years agoDo not assume CREATE OPERATOR CLASS needs to end with ');'
Sandro Santilli [Tue, 9 Jan 2018 15:04:03 +0000 (15:04 +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/trunk@16231 b70326c6-7e19-0410-871a-916f4a2858ee

7 years agoNEWS entry for KMeans init change.
Darafei Praliaskouski [Tue, 9 Jan 2018 14:06:31 +0000 (14:06 +0000)]
NEWS entry for KMeans init change.

Closes #3971

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

7 years agoHandle error from make garden too
Sandro Santilli [Tue, 9 Jan 2018 14:04:50 +0000 (14:04 +0000)]
Handle error from make garden too

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

7 years agoChange KMeans init algorithm to one with less skew.
Darafei Praliaskouski [Tue, 9 Jan 2018 14:01:58 +0000 (14:01 +0000)]
Change KMeans init algorithm to one with less skew.

Closes #3971
Closes https://github.com/postgis/postgis/pull/181

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

7 years agoFix check_all_upgrades call for Debbie
Sandro Santilli [Tue, 9 Jan 2018 13:49:40 +0000 (13:49 +0000)]
Fix check_all_upgrades call for Debbie

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

7 years agoHave Debbie test available upgrades
Sandro Santilli [Tue, 9 Jan 2018 11:03:01 +0000 (11:03 +0000)]
Have Debbie test available upgrades

See https://trac.osgeo.org/postgis/ticket/3956#comment:11

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

7 years agoAdd a test for probin correctness
Sandro Santilli [Tue, 9 Jan 2018 10:32:22 +0000 (10:32 +0000)]
Add a test for probin correctness

Hopefully helps catching the bug reported as #3956
(geog_brin_inclusion_add_value not upgraded)

NOTE: only an upgrade test would catch this

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

7 years agoRewrite to use stringbuffer instead of the mess of sprintfs
Regina Obe [Mon, 8 Jan 2018 17:09:09 +0000 (17:09 +0000)]
Rewrite to use stringbuffer instead of the mess of sprintfs
Closes #3974

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

7 years agoDisable asserts in non-debug builds
Darafei Praliaskouski [Fri, 5 Jan 2018 23:43:58 +0000 (23:43 +0000)]
Disable asserts in non-debug builds

Enable both debug and non-debug builds on travis.

Closes #3972
Closes https://github.com/postgis/postgis/pull/185

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

7 years agoDisable negative values in weighted geometric median.
Darafei Praliaskouski [Fri, 5 Jan 2018 15:22:57 +0000 (15:22 +0000)]
Disable negative values in weighted geometric median.

Reviewed by Dan Baston

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

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

7 years agoFix ST_RemoveRepeatedPoints dropping one extra point in certain ptarrays
Darafei Praliaskouski [Fri, 5 Jan 2018 13:16:12 +0000 (13:16 +0000)]
Fix ST_RemoveRepeatedPoints dropping one extra point in certain ptarrays

Patch by Raúl Marín Rodríguez.

Closes #3969
Closes https://github.com/postgis/postgis/pull/182

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

7 years agoreplace lazy sleep 5 with Darafei's more robust sleep suggestion
Regina Obe [Thu, 4 Jan 2018 21:47:10 +0000 (21:47 +0000)]
replace lazy sleep 5 with Darafei's more robust sleep suggestion

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

7 years ago[travis] enable logbt.
Darafei Praliaskouski [Thu, 4 Jan 2018 18:13:04 +0000 (18:13 +0000)]
[travis] enable logbt.

logbt prints a stacktrace each time something it runs segfaults.

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

7 years ago[travis] pull proj4.9 package from ubuntu artful
Darafei Praliaskouski [Wed, 3 Jan 2018 12:11:54 +0000 (12:11 +0000)]
[travis] pull proj4.9 package from ubuntu artful

Fix incomplete chown of postgres.
Allow no trailing blanks on select build, so a stray space still can be regressed but will fail.
Add -g to CFLAGS, so that decompiled files when needed are annotated with source code.

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

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

7 years ago[travis] gcc4.8 does not support -fstack-protector-strong, relax it to -fstack-protector
Darafei Praliaskouski [Tue, 2 Jan 2018 19:11:05 +0000 (19:11 +0000)]
[travis] gcc4.8 does not support -fstack-protector-strong, relax it to -fstack-protector

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

7 years ago[travis] Travis lies about cpu type which causes -march builds to fail.
Darafei Praliaskouski [Tue, 2 Jan 2018 18:38:27 +0000 (18:38 +0000)]
[travis] Travis lies about cpu type which causes -march builds to fail.

Change the build matrix.

References #3967

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

7 years agoISO C90 forbids mixed declarations and code, fix corresponding warning
Sandro Santilli [Tue, 2 Jan 2018 15:11:08 +0000 (15:11 +0000)]
ISO C90 forbids mixed declarations and code, fix corresponding warning

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

7 years agoFix KMeans initialization issue that lost clusters sometimes.
Darafei Praliaskouski [Tue, 2 Jan 2018 13:59:19 +0000 (13:59 +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/trunk@16212 b70326c6-7e19-0410-871a-916f4a2858ee

7 years agoFix email addresses to use `@` instead of ` at ` for better display on github.
Darafei Praliaskouski [Tue, 2 Jan 2018 13:23:08 +0000 (13:23 +0000)]
Fix email addresses to use `@` instead of ` at ` for better display on github.
Sort authors.

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

7 years agodocs
Bborie Park [Tue, 2 Jan 2018 01:02:34 +0000 (01:02 +0000)]
docs

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

7 years agocode and tests for ST_Grayscale
Bborie Park [Tue, 2 Jan 2018 01:02:27 +0000 (01:02 +0000)]
code and tests for ST_Grayscale

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

7 years agostubs
Bborie Park [Tue, 2 Jan 2018 01:02:23 +0000 (01:02 +0000)]
stubs

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

7 years agoswitch to have version of libs used be defined in script rather than the jenkins job
Regina Obe [Mon, 1 Jan 2018 19:42:51 +0000 (19:42 +0000)]
switch to have version of libs used be defined in script rather than the jenkins job

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

7 years agotry to fix issue with if condition
Regina Obe [Mon, 1 Jan 2018 19:13:31 +0000 (19:13 +0000)]
try to fix issue with if condition

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

7 years agodebug issue with winnie's build failing and make sure configure is same as regression one
Regina Obe [Sat, 30 Dec 2017 12:41:37 +0000 (12:41 +0000)]
debug issue with winnie's build failing and make sure configure is same as regression one

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

7 years ago[travis] enable SQL tests in coverage
Darafei Praliaskouski [Fri, 29 Dec 2017 22:06:52 +0000 (22:06 +0000)]
[travis] enable SQL tests in coverage

Postgres runs postgis built with --coverage as another user, so traces aren't properly written.
Change process to run as travis user.

Closes #3966

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

7 years agohide variable declaration
Bborie Park [Fri, 29 Dec 2017 17:20:23 +0000 (17:20 +0000)]
hide variable declaration

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

7 years agoadd documentation about max open files
Bborie Park [Thu, 28 Dec 2017 21:26:40 +0000 (21:26 +0000)]
add documentation about max open files

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

7 years agouse GDALOpenShared
Bborie Park [Thu, 28 Dec 2017 21:26:34 +0000 (21:26 +0000)]
use GDALOpenShared

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

7 years agodocs: link ST_Centroid and ST_GeometricMedian
Darafei Praliaskouski [Thu, 28 Dec 2017 18:00:36 +0000 (18:00 +0000)]
docs: link ST_Centroid and ST_GeometricMedian

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

7 years agoupdate docs
Bborie Park [Thu, 28 Dec 2017 16:43:21 +0000 (16:43 +0000)]
update docs

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

7 years agomake sure to drop function for upgrade
Bborie Park [Thu, 28 Dec 2017 16:43:18 +0000 (16:43 +0000)]
make sure to drop function for upgrade

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

7 years agoadd two columns for Read/Write flags for ST_GDALDrivers()
Bborie Park [Thu, 28 Dec 2017 16:43:15 +0000 (16:43 +0000)]
add two columns for Read/Write flags for ST_GDALDrivers()

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

7 years agofix export url for trunk
Regina Obe [Thu, 28 Dec 2017 08:05:54 +0000 (08:05 +0000)]
fix export url for trunk

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

7 years agoFix some typos
Regina Obe [Thu, 28 Dec 2017 04:12:31 +0000 (04:12 +0000)]
Fix some typos

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

7 years agoAdd 5 seconds sleep before attempt to drop regress database, to give pg time to start...
Regina Obe [Wed, 27 Dec 2017 18:37:48 +0000 (18:37 +0000)]
Add 5 seconds sleep before attempt to drop regress database, to give pg time to start up in case not fully started.
Closes #3962

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

7 years agoChange new cache behavior to require > 9.6 instead of > 9.5, the AllocSetContextCreat...
Regina Obe [Wed, 27 Dec 2017 15:23:29 +0000 (15:23 +0000)]
Change new cache behavior to require > 9.6 instead of > 9.5, the AllocSetContextCreate structure in 9.5 doesn't support ALLOCSET_SMALL_SIZES macro so would otherwise require more ugly ifdefing.
Closes #3950

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

7 years agoWeight-aware ST_GeometricMedian
Darafei Praliaskouski [Tue, 26 Dec 2017 14:07:49 +0000 (14:07 +0000)]
Weight-aware ST_GeometricMedian

Weight is to be supplied as M ordinate of individual points in MultiPoint.

Bring lwgeom_median.c cunit test coverage to 100%.

ST_GeometricMedian(fail_if_not_converged=false, max_iter=0)
might give you weighted centroid, but that's not a promise.

Closes #3954
Closes https://github.com/postgis/postgis/pull/176

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

7 years agoDrop box2d.c.
Darafei Praliaskouski [Mon, 25 Dec 2017 22:05:39 +0000 (22:05 +0000)]
Drop box2d.c.

Closes #3955
Closes https://github.com/postgis/postgis/pull/178

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

7 years agofix raster build dependencies to get travis happy
Darafei Praliaskouski [Mon, 25 Dec 2017 04:07:52 +0000 (04:07 +0000)]
fix raster build dependencies to get travis happy

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

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

7 years agocopy over 2.4.1 and 2.4.2 release notes
Regina Obe [Sun, 24 Dec 2017 19:01:49 +0000 (19:01 +0000)]
copy over 2.4.1 and 2.4.2 release notes

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

7 years ago[travis] enable coverage reports and caching
Darafei Praliaskouski [Sun, 24 Dec 2017 17:24:08 +0000 (17:24 +0000)]
[travis] enable coverage reports and caching

Closes https://github.com/postgis/postgis/pull/158
Closes #3953

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

7 years agoPut assert_empty_diagram in a geos >=35 if def. It's only used for geos 3.5+.
Regina Obe [Sat, 23 Dec 2017 08:25:12 +0000 (08:25 +0000)]
Put assert_empty_diagram in a geos >=35 if def.  It's only used for geos 3.5+.
Change should quiet dronie

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

7 years agoAdd 2.5 new / enhanced /changed functions section to docs
Regina Obe [Sat, 23 Dec 2017 07:53:16 +0000 (07:53 +0000)]
Add 2.5 new / enhanced /changed functions section to docs

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

7 years agoRemove un-used function
Paul Ramsey [Thu, 21 Dec 2017 17:59:41 +0000 (17:59 +0000)]
Remove un-used function

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

7 years agoRevert warnings as errors checks. Winnie can't deal with that too many warnings.
Regina Obe [Thu, 21 Dec 2017 16:43:35 +0000 (16:43 +0000)]
Revert warnings as errors checks.  Winnie can't deal with that too many warnings.

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

7 years agoAdd missing availability info for ST_Normalize
Sandro Santilli [Thu, 21 Dec 2017 09:25:36 +0000 (09:25 +0000)]
Add missing availability info for ST_Normalize

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

7 years agohave winnie trigger fail undefined variables
Regina Obe [Thu, 21 Dec 2017 04:42:27 +0000 (04:42 +0000)]
have winnie trigger fail undefined variables

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

7 years agoChange syscache stats lookup to use STATRELATTINH key and three parameters in all...
Paul Ramsey [Wed, 20 Dec 2017 22:57:42 +0000 (22:57 +0000)]
Change syscache stats lookup to use STATRELATTINH key and three parameters in all cases. References #3904

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

7 years agoGet rid of no longer used variables in geography measurenment
Regina Obe [Wed, 20 Dec 2017 20:50:58 +0000 (20:50 +0000)]
Get rid of no longer used variables in geography measurenment
Closes #3947 for PostGIS 2.5 (trunk)

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

7 years agoFix warning when building against GEOS < 3.5
Sandro Santilli [Wed, 20 Dec 2017 19:34:43 +0000 (19:34 +0000)]
Fix warning when building against GEOS < 3.5

See https://gitlab.com/postgis/postgis/-/jobs/45372613

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

7 years agoSimplify support for PgSQL11 and other versions w/ memorycontext deleteion callbacks...
Paul Ramsey [Wed, 20 Dec 2017 19:28:16 +0000 (19:28 +0000)]
Simplify support for PgSQL11 and other versions w/ memorycontext deleteion callbacks. References #3946.

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

7 years agoPass -fno-omit-frame-pointer -Werror to gitlab-ci compile failed
Sandro Santilli [Wed, 20 Dec 2017 16:44:52 +0000 (16:44 +0000)]
Pass -fno-omit-frame-pointer -Werror to gitlab-ci compile failed

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

7 years agoHave drone build fail on error
Sandro Santilli [Wed, 20 Dec 2017 16:42:34 +0000 (16:42 +0000)]
Have drone build fail on error

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

7 years agocleanup uninitialized use of context to appease travis
Regina Obe [Wed, 20 Dec 2017 16:32:41 +0000 (16:32 +0000)]
cleanup uninitialized use of context to appease travis
References #3946

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

7 years agoif def out GetPJHashEntry for >-96 when we are using PostgreSQL built-in context...
Regina Obe [Wed, 20 Dec 2017 16:18:57 +0000 (16:18 +0000)]
if def out GetPJHashEntry for >-96  when we are using PostgreSQL built-in context.  We don't use it cause it returns projection, not the HashEntry grrh.
Take it out to quiet travis whining about how we define a function we are not using.
References #3946

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

7 years agoMake PostgreSQL 11 compile against PostGIS 2.5 (trunk) and change PostgreSQL 9.6...
Regina Obe [Wed, 20 Dec 2017 15:20:22 +0000 (15:20 +0000)]
Make PostgreSQL 11 compile against  PostGIS 2.5 (trunk) and change PostgreSQL 9.6+ to use built-in PostgreSQL memory context (CacheMemoryContext for now) instead of our own custom one which is too prone to version change breaks.
(still need to patch address standardizer)
References #3946

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

7 years agoApply the epsilon fix to bounding circle (references #3930)
Paul Ramsey [Wed, 20 Dec 2017 14:28:56 +0000 (14:28 +0000)]
Apply the epsilon fix to bounding circle (references #3930)

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

7 years agoTest case on minimum bounding circle (references #3930)
Paul Ramsey [Wed, 20 Dec 2017 14:21:36 +0000 (14:21 +0000)]
Test case on minimum bounding circle (references #3930)

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

7 years agoRemove old comment line
Paul Ramsey [Mon, 18 Dec 2017 23:49:55 +0000 (23:49 +0000)]
Remove old comment line

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

7 years agoUse original vertex values where available in contructing new pointarray (closes...
Paul Ramsey [Mon, 18 Dec 2017 23:16:36 +0000 (23:16 +0000)]
Use original vertex values where available in contructing new pointarray (closes #3941)

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

7 years agoForce drop of regression database if it exists in debbie too
Sandro Santilli [Mon, 18 Dec 2017 16:52:50 +0000 (16:52 +0000)]
Force drop of regression database if it exists in debbie too

Or it keeps blaming me for this failure:
https://debbie.postgis.net/job/GDAL_PostGIS_Regress/5373/console

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

7 years agoManual fixes from PostGIS users (not many left now) to EPSG file
Paul Ramsey [Mon, 18 Dec 2017 14:53:27 +0000 (14:53 +0000)]
Manual fixes from PostGIS users (not many left now) to EPSG file
References #3944

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

7 years agoUpdate SRS to EPSG 9.2
Sandro Santilli [Sun, 17 Dec 2017 14:49:29 +0000 (14:49 +0000)]
Update SRS to EPSG 9.2

Patch by Even Rouault
Closes #3944

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

7 years agoDo not include private header for json-c >= 0.13
Darafei Praliaskouski [Sat, 16 Dec 2017 10:40:06 +0000 (10:40 +0000)]
Do not include private header for json-c >= 0.13

Patch by Björn Esser

Closes #3942
Closes https://github.com/postgis/postgis/pull/173

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

7 years agoRemove potentially non-deterministic tests to see if travis runs stabilize (per komzpa)
Paul Ramsey [Fri, 15 Dec 2017 17:44:37 +0000 (17:44 +0000)]
Remove potentially non-deterministic tests to see if travis runs stabilize (per komzpa)

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

7 years agoFix parallel build directory creation in Makefile
Darafei Praliaskouski [Fri, 15 Dec 2017 14:51:34 +0000 (14:51 +0000)]
Fix parallel build directory creation in Makefile

Closes Fix parallel build directory creation in Makefile

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

7 years ago[travis] Run Travis builds with -Werror
Darafei Praliaskouski [Fri, 15 Dec 2017 13:25:38 +0000 (13:25 +0000)]
[travis] Run Travis builds with -Werror

Closes #3943
Closes https://github.com/postgis/postgis/pull/163

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

7 years ago_postgis_index_extent() for extent from index
Paul Ramsey [Wed, 13 Dec 2017 20:51:36 +0000 (20:51 +0000)]
_postgis_index_extent() for extent from index

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

7 years agoReturn pointer? references #3940
Paul Ramsey [Wed, 13 Dec 2017 14:03:52 +0000 (14:03 +0000)]
Return pointer? references #3940

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

7 years agoProof of content for reading table extent from
Paul Ramsey [Tue, 12 Dec 2017 22:53:48 +0000 (22:53 +0000)]
Proof of content for reading table extent from
the top of the index. Can be called with
_postgis_index_extent(tbl regclass, col text)
and returns box2d.

Currently not added to the st_estimatedextent()
code, because it has issues with indexes that
have EMPTY added to them. This is a symptom
of #2487. While it seems impossible to every
allow index-assisted searches for EMPTY
geometry, it will be necessary to create
invalid keys for them (NaN, NaN, NaN, Nan)
and then handle those keys so they don't
pollute the index with strange bounds.

References #2256

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

7 years agoMove input_srid == output_srid check after input_srid is initialized
Regina Obe [Tue, 12 Dec 2017 22:16:55 +0000 (22:16 +0000)]
Move input_srid == output_srid check after input_srid is initialized
Closes #3940

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

7 years agoAdd verbose flags to testflags
Regina Obe [Tue, 12 Dec 2017 04:05:55 +0000 (04:05 +0000)]
Add verbose flags to testflags

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

7 years agoforce drop of postgis_reg database if it exists.
Regina Obe [Mon, 11 Dec 2017 21:14:31 +0000 (21:14 +0000)]
force drop of postgis_reg database if it exists.

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

7 years agoAdd lwgeom_refresh_bbox to replace drop/add twostep
Paul Ramsey [Mon, 11 Dec 2017 15:04:01 +0000 (15:04 +0000)]
Add lwgeom_refresh_bbox to replace drop/add twostep

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

7 years agoMake sure max* slots are filled in when deserializing (closes #3923)
Paul Ramsey [Mon, 11 Dec 2017 14:27:54 +0000 (14:27 +0000)]
Make sure max* slots are filled in when deserializing (closes #3923)

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

7 years agoRemove warning under gcc (closes #3935)
Paul Ramsey [Mon, 11 Dec 2017 14:14:06 +0000 (14:14 +0000)]
Remove warning under gcc (closes #3935)

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

7 years agoresize to same width as postgis log. Otherwise gets cut off in pdf file.
Regina Obe [Sat, 9 Dec 2017 05:34:08 +0000 (05:34 +0000)]
resize to same width as postgis log.  Otherwise gets cut off in pdf file.

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

7 years agoreplace with new OSGeo logo
Regina Obe [Fri, 8 Dec 2017 21:36:56 +0000 (21:36 +0000)]
replace with new OSGeo logo

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

7 years agoMinor efficiency changes in bytebuffer, stricter function
Paul Ramsey [Thu, 7 Dec 2017 21:46:47 +0000 (21:46 +0000)]
Minor efficiency changes in bytebuffer, stricter function
signature for hexbytes, slight re-order of ops in twkb.

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

7 years agoTurn off interrupt tests by default,
Regina Obe [Wed, 6 Dec 2017 19:34:58 +0000 (19:34 +0000)]
Turn off interrupt tests by default,
but add to configure an Additional Info section that lists if it's on or off and how to turn it on if its disabled
References #3827 for PostGIS 2.5

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

7 years agoStart of X3D refactoring to address #3704, #3705 and other tickets.
Regina Obe [Tue, 5 Dec 2017 22:33:43 +0000 (22:33 +0000)]
Start of X3D refactoring to address #3704, #3705 and other tickets.
Split out header from c file.

git-svn-id: http://svn.osgeo.org/postgis/trunk@16133 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:18 +0000 (21:41 +0000)]
Support google line encodings that include a backslash character (References #3713)

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

7 years agoClarify docs, References #3097
Paul Ramsey [Thu, 30 Nov 2017 21:37:57 +0000 (21:37 +0000)]
Clarify docs, References #3097

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

7 years agoDoco on "enhancement" per robe, closes #3097
Paul Ramsey [Thu, 30 Nov 2017 20:52:56 +0000 (20:52 +0000)]
Doco on "enhancement" per robe, closes #3097

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

7 years agoAllow multi-linestring to be used as blade in line/poly splitting,
Paul Ramsey [Thu, 30 Nov 2017 19:18:03 +0000 (19:18 +0000)]
Allow multi-linestring to be used as blade in line/poly splitting,
References #3097

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

7 years agorevise bessie scripts to make install and then test extension install
Regina Obe [Wed, 29 Nov 2017 22:53:00 +0000 (22:53 +0000)]
revise bessie scripts to make install and then test extension install

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

7 years agocreate script for bessie32 duplicate of bessie for now, but may change in future
Regina Obe [Tue, 28 Nov 2017 22:53:15 +0000 (22:53 +0000)]
create script for bessie32 duplicate of bessie for now, but may change in future

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

7 years agooops forgot to save
Regina Obe [Tue, 28 Nov 2017 22:39:39 +0000 (22:39 +0000)]
oops forgot to save

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

7 years agoAdd a regress script for bessie
Regina Obe [Tue, 28 Nov 2017 22:25:24 +0000 (22:25 +0000)]
Add a regress script for bessie

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

7 years agoExplicitly specify $(PERL) to call create_unpackaged.pl otherwise at least on freebsd...
Regina Obe [Tue, 28 Nov 2017 22:17:51 +0000 (22:17 +0000)]
Explicitly specify $(PERL) to call create_unpackaged.pl otherwise at least on freebsd it fails
References #3938 for PostGIS 2.5

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