]> granicus.if.org Git - postgis/log
postgis
6 years agoturn off update-po for now until can figure out what is issue with transifex errors
Regina Obe [Thu, 18 Jan 2018 15:49:38 +0000 (15:49 +0000)]
turn off update-po for now until can figure out what is issue with transifex errors

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

6 years agoTweak a couple string allocation to use the "just right" pgsql call
Paul Ramsey [Thu, 18 Jan 2018 14:21:46 +0000 (14:21 +0000)]
Tweak a couple string allocation to use the "just right" pgsql call

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

6 years agoST_AsText now has second argument to limit decimal digits.
Darafei Praliaskouski [Thu, 18 Jan 2018 12:49:41 +0000 (12:49 +0000)]
ST_AsText now has second argument to limit decimal digits.

Patch by Marc Ducobu, reworked by Darafei Praliaskouski.

Closes #3986
Closes https://github.com/postgis/postgis/pull/194

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

6 years agoFormatting: remove trailing whitespace from .sql files.
Darafei Praliaskouski [Wed, 17 Jan 2018 20:39:03 +0000 (20:39 +0000)]
Formatting: remove trailing whitespace from .sql files.

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

6 years agoUse bigint in regress_lots_of_points* to make 32bit tuple alignment consistent with...
Darafei Praliaskouski [Tue, 16 Jan 2018 22:47:58 +0000 (22:47 +0000)]
Use bigint in regress_lots_of_points* to make 32bit tuple alignment consistent with 64bit.

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

6 years agoUse PKG_PROG_PKG_CONFIG macro from pkg.m4 to detect pkg-config
Sandro Santilli [Tue, 16 Jan 2018 20:47:02 +0000 (20:47 +0000)]
Use PKG_PROG_PKG_CONFIG macro from pkg.m4 to detect pkg-config

Patch by Bas Couwenberg
Closes #3992

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

6 years agointerpolate_point4d: PARANOIA check should be on raw value instead of absolute
Darafei Praliaskouski [Tue, 16 Jan 2018 17:24:00 +0000 (17:24 +0000)]
interpolate_point4d: PARANOIA check should be on raw value instead of absolute

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

6 years ago[travis] Enable -Wall
Darafei Praliaskouski [Tue, 16 Jan 2018 17:03:43 +0000 (17:03 +0000)]
[travis] Enable -Wall

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

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

6 years agoFix warnings.
Darafei Praliaskouski [Tue, 16 Jan 2018 14:21:44 +0000 (14:21 +0000)]
Fix warnings.

Remove unreachable code.
Fix pointer dereference and null check order.
Fix HAS_Z/M and g1/g2 mixup in conditions.
Fix typmod variables to be signed.
Fix & and && in conditions.
Cover ST_AsGML with tests. Check option bitmask for unsupported bits.
Cover typmod_in/typmod_out with tests.
Reorder *free* to happen before *return*.

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

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

6 years agoRemove warning: unsigned is always positive
Paul Ramsey [Tue, 16 Jan 2018 13:48:47 +0000 (13:48 +0000)]
Remove warning: unsigned is always positive

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

6 years agofix typo in condition
Regina Obe [Tue, 16 Jan 2018 08:57:12 +0000 (08:57 +0000)]
fix typo in condition

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

6 years agostrip the microversion in the doc generation of doc-html tar, pdf, epub
Regina Obe [Tue, 16 Jan 2018 08:38:16 +0000 (08:38 +0000)]
strip the microversion in the doc generation of doc-html tar, pdf, epub
if this is a development release

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

6 years agochange to call with bash instead of sh, get rid of re-autogen would have been already...
Regina Obe [Mon, 15 Jan 2018 23:23:17 +0000 (23:23 +0000)]
change to call with bash instead of sh, get rid of re-autogen would have been already done.

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

6 years agogit-svn-id: http://svn.osgeo.org/postgis/trunk@16310 b70326c6-7e19-0410-871a-916f4a2858ee
Regina Obe [Mon, 15 Jan 2018 22:53:35 +0000 (22:53 +0000)]
git-svn-id: http://svn.osgeo.org/postgis/trunk@16310 b70326c6-7e19-0410-871a-916f4a2858ee

6 years agoone more try to get this bash logic right
Regina Obe [Mon, 15 Jan 2018 22:28:08 +0000 (22:28 +0000)]
one more try to get this bash logic right

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

6 years agotry again
Regina Obe [Mon, 15 Jan 2018 22:17:44 +0000 (22:17 +0000)]
try again

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

6 years agofix typo
Regina Obe [Mon, 15 Jan 2018 22:13:42 +0000 (22:13 +0000)]
fix typo

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

6 years agoinject a dev timestamp into the docs only when in development
Regina Obe [Mon, 15 Jan 2018 22:08:09 +0000 (22:08 +0000)]
inject a dev timestamp into the docs only when in development

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

6 years agoadd missing 2.3.5, 2.3.6, 2.4.3 to extensions upgrade,
Regina Obe [Mon, 15 Jan 2018 21:24:32 +0000 (21:24 +0000)]
add missing 2.3.5, 2.3.6, 2.4.3 to extensions upgrade,
revise doc build to not have SVN placeholder (may bring back later)

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

6 years agowith_interrupt_tests using non-standard extension
Regina Obe [Mon, 15 Jan 2018 00:16:46 +0000 (00:16 +0000)]
with_interrupt_tests using non-standard extension
Patch from Greg Troxel
References #3988 for PostGIS 2.5 (trunk)

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

6 years agoSynchronize coordinate output functins.
Darafei Praliaskouski [Sun, 14 Jan 2018 16:56:14 +0000 (16:56 +0000)]
Synchronize coordinate output functins.

Closes #3987
Closes https://github.com/postgis/postgis/pull/190

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

6 years agoremove no longer valid steps from HOWTO_RELEASE
Regina Obe [Sun, 14 Jan 2018 15:37:28 +0000 (15:37 +0000)]
remove no longer valid steps from HOWTO_RELEASE
closes #3985 for PostGIS 2.5 (trunk)

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

6 years agorevise doc build to build html tar ball. Revise how to release to skip make dist...
Regina Obe [Sat, 13 Jan 2018 18:54:39 +0000 (18:54 +0000)]
revise doc build to build html tar ball.  Revise how to release to skip make dist and doc build, and to just have these downloaded from site
References #3985 for PostGIS 2.5 (trunk)

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

6 years agoAdd missing pgpath variable to doc build, get rid of invalid clause in make_dist...
Regina Obe [Sat, 13 Jan 2018 18:22:38 +0000 (18:22 +0000)]
Add missing pgpath variable to doc build, get rid of invalid clause in make_dist (-v)

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

6 years agoAdd step to make the PDF, html and other docs.
Regina Obe [Sat, 13 Jan 2018 18:16:26 +0000 (18:16 +0000)]
Add step to make the PDF, html and other docs.
References #3985 for PostGIS 2.5 (trunk)

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

6 years agorevise make_dist.sh to allow overriding the package name
Regina Obe [Sat, 13 Jan 2018 17:48:28 +0000 (17:48 +0000)]
revise make_dist.sh to allow overriding the package name
References #3985

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

6 years agono need to cd down, already in root
Regina Obe [Sat, 13 Jan 2018 07:05:29 +0000 (07:05 +0000)]
no need to cd down, already in root

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

6 years agoFirst draft
Regina Obe [Sat, 13 Jan 2018 06:59:34 +0000 (06:59 +0000)]
First draft
References #3985

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

6 years agoFix install and clean rules
Sandro Santilli [Fri, 12 Jan 2018 19:17:20 +0000 (19:17 +0000)]
Fix install and clean rules

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

7 years agoUse fixed width integers.
Darafei Praliaskouski [Fri, 12 Jan 2018 13:34:32 +0000 (13:34 +0000)]
Use fixed width integers.

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

Closes #3970
Closes https://github.com/postgis/postgis/pull/183

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

7 years agoGenerate control file from Makefile rather than ./configure
Sandro Santilli [Fri, 12 Jan 2018 12:39:37 +0000 (12:39 +0000)]
Generate control file from Makefile rather than ./configure

Simplifies code to be more localized, fixed distclean and clean
to drop those generated files

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

7 years ago[travis] fix RUNTESTFLAGS to hold --verbose even when there is --dumprestore specified
Darafei Praliaskouski [Fri, 12 Jan 2018 10:29:34 +0000 (10:29 +0000)]
[travis] fix RUNTESTFLAGS to hold --verbose even when there is --dumprestore specified

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

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

7 years agoEncoded Polyline of EMPTY
Darafei Praliaskouski [Fri, 12 Jan 2018 08:18:39 +0000 (08:18 +0000)]
Encoded Polyline of EMPTY

Closes #3982
Closes https://github.com/postgis/postgis/pull/189

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

7 years agoWhen looking up SRID numbers, assume that spatial_ref_sys will
Paul Ramsey [Thu, 11 Jan 2018 22:09:35 +0000 (22:09 +0000)]
When looking up SRID numbers, assume that spatial_ref_sys will
share a schema will the calling function (st_transform, usually)
and look for spatial_ref_sys there. (References #3975)

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

7 years agoDo not try to install sfcgal extension when not available
Sandro Santilli [Thu, 11 Jan 2018 21:36:35 +0000 (21:36 +0000)]
Do not try to install sfcgal extension when not available

When testing upgrade from a version < 2.2.0 and requesting sfcgal
avoid to create it initially and create it directly at upgrade
time.

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

7 years agoFix editorconfig specification for perl scripts
Sandro Santilli [Thu, 11 Jan 2018 21:36:27 +0000 (21:36 +0000)]
Fix editorconfig specification for perl scripts

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

7 years agoAdd lost mention of Shoaib Burq.
Darafei Praliaskouski [Thu, 11 Jan 2018 17:41:42 +0000 (17:41 +0000)]
Add lost mention of Shoaib Burq.

Reformat Encoded Polyline out function to fit 80 columns per strk's request.

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

7 years agoDo not try to test upgrade from-to the same version
Sandro Santilli [Thu, 11 Jan 2018 16:43:53 +0000 (16:43 +0000)]
Do not try to test upgrade from-to the same version

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

7 years agoChange to have MAKE_GARDEN, MAKE_EXTENSION, DUMP_RESTORE be set in script instead...
Regina Obe [Thu, 11 Jan 2018 16:35:51 +0000 (16:35 +0000)]
Change to have MAKE_GARDEN, MAKE_EXTENSION, DUMP_RESTORE be set in script instead of the job.  Already took these out of the job.
That way people don't need to touch jenkins to fiddle with these and these aren't part of matrix (or needed to be known by postgres pre-launch)

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

7 years ago[github] enable probot/stale to take care of old pull requests
Darafei Praliaskouski [Thu, 11 Jan 2018 14:48:50 +0000 (14:48 +0000)]
[github] enable probot/stale to take care of old pull requests

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

7 years agotopology and sfcgal extension control files are created by make now
Sandro Santilli [Thu, 11 Jan 2018 14:13:45 +0000 (14:13 +0000)]
topology and sfcgal extension control files are created by make now

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

7 years agoFormatting only before toucing Encoded Polyline logic.
Darafei Praliaskouski [Thu, 11 Jan 2018 12:46:27 +0000 (12:46 +0000)]
Formatting only before toucing Encoded Polyline logic.

References #3982

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

7 years agoRefactor sfcgal extension script to use generic include
Sandro Santilli [Thu, 11 Jan 2018 05:57:47 +0000 (05:57 +0000)]
Refactor sfcgal extension script to use generic include

This is an attempt to fix upgrade test on Debbie, saying:
ERROR:  extension "postgis_sfcgal" does not exist

ref: https://debbie.postgis.net/job/PostGIS_Regress/8259/console

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

7 years agoFix generation of postgis_topology.control
Sandro Santilli [Thu, 11 Jan 2018 05:57:38 +0000 (05:57 +0000)]
Fix generation of postgis_topology.control

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

7 years agoSimplify KMeans code.
Darafei Praliaskouski [Wed, 10 Jan 2018 19:27:48 +0000 (19:27 +0000)]
Simplify KMeans code.

Remove threaded implementation.
Rewrite generic implementation to be POINT2D specific.

Closes #3977
Closes https://github.com/postgis/postgis/pull/186

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

7 years agoFix topology extension install
Sandro Santilli [Wed, 10 Jan 2018 14:56:22 +0000 (14:56 +0000)]
Fix topology extension install

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

7 years agoBack out SPI_execute change, it causes a crash in my parallel test case
Paul Ramsey [Wed, 10 Jan 2018 14:47:57 +0000 (14:47 +0000)]
Back out SPI_execute change, it causes a crash in my parallel test case

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

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