]> granicus.if.org Git - postgis/log
postgis
5 years agoDo not run postgis_full_version() at the end of extensions upgrade
Sandro Santilli [Wed, 6 Mar 2019 10:13:03 +0000 (10:13 +0000)]
Do not run postgis_full_version() at the end of extensions upgrade

.. it won't have all the new information as transaction is not
completed by that time ..

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

5 years agoTweak C signature deprecation error
Sandro Santilli [Wed, 6 Mar 2019 10:08:49 +0000 (10:08 +0000)]
Tweak C signature deprecation error

Drop assumptions about installation being based on extension

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

5 years agoAdd in check-long target with slow tests
Paul Ramsey [Mon, 4 Mar 2019 22:09:29 +0000 (22:09 +0000)]
Add in check-long target with slow tests

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

5 years agoComment out really tedious lng-running tests
Paul Ramsey [Mon, 4 Mar 2019 17:00:08 +0000 (17:00 +0000)]
Comment out really tedious lng-running tests

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

5 years agoCatch Proj null returns in lwerror
Paul Ramsey [Wed, 27 Feb 2019 17:25:48 +0000 (17:25 +0000)]
Catch Proj null returns in lwerror

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

5 years agoHm, every proj call really needs a NULL guard :/
Paul Ramsey [Wed, 27 Feb 2019 16:03:59 +0000 (16:03 +0000)]
Hm, every proj call really needs a NULL guard :/

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

5 years agoAdd intersects to postgis_legacy.c
Raúl Marín Rodríguez [Wed, 27 Feb 2019 12:49:49 +0000 (12:49 +0000)]
Add intersects to postgis_legacy.c

Closes https://github.com/postgis/postgis/pull/377
Closes #4333

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

5 years agoProj 6 news entry
Paul Ramsey [Tue, 26 Feb 2019 17:14:04 +0000 (17:14 +0000)]
Proj 6 news entry
References #4322

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

5 years agooops didn't notice was LWPOINT and not LWGEOMGet rid of assert causing ST_3DMakeBox...
Regina Obe [Tue, 26 Feb 2019 14:30:13 +0000 (14:30 +0000)]
oops didn't notice was LWPOINT and not LWGEOMGet rid of assert causing ST_3DMakeBox to crash
References #4331 for PostGIS 3.0

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

5 years agoGet rid of assert causing ST_3DMakeBox to crash
Regina Obe [Mon, 25 Feb 2019 22:41:36 +0000 (22:41 +0000)]
Get rid of assert causing ST_3DMakeBox to crash
Change ST_3DMakeBox to throw an error when fed empty points instead of returning a philosophical answer to a stupid question
Change ST_MakeBox2D to return a more meaningful error instead waiting to fail when asking what is x of an empty point?
Closes #4331 for PostGIS 3.0

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

5 years agoTravis global badge tracking release branches only
Paul Ramsey [Mon, 25 Feb 2019 19:13:36 +0000 (19:13 +0000)]
Travis global badge tracking release branches only

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

5 years agoFor CTEs to materialize by putting in OFFSET 0 on raster CTE queries
Regina Obe [Sun, 24 Feb 2019 22:41:07 +0000 (22:41 +0000)]
For CTEs to materialize by putting in OFFSET 0 on raster CTE queries
So PostgreSQL CTE call behaves like older versions that always materialized
references #4329 for PostGIS 3.0

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

5 years agoRemove unused code
Paul Ramsey [Fri, 22 Feb 2019 23:44:39 +0000 (23:44 +0000)]
Remove unused code

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

5 years agoFix cut/paste error in NULL guard
Paul Ramsey [Fri, 22 Feb 2019 23:42:41 +0000 (23:42 +0000)]
Fix cut/paste error in NULL guard

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

5 years agoGuard against null return and avoid leaking PJ object
Paul Ramsey [Fri, 22 Feb 2019 23:40:42 +0000 (23:40 +0000)]
Guard against null return and avoid leaking PJ object

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

5 years agoChange varianble name, per Even
Paul Ramsey [Fri, 22 Feb 2019 23:05:32 +0000 (23:05 +0000)]
Change varianble name, per Even

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

5 years agoSupport new Proj6 API
Paul Ramsey [Fri, 22 Feb 2019 21:36:27 +0000 (21:36 +0000)]
Support new Proj6 API
Closes #4322

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

5 years agoComment out old pointonsurface test, as newer versions
Paul Ramsey [Fri, 22 Feb 2019 18:10:46 +0000 (18:10 +0000)]
Comment out old pointonsurface test, as newer versions
of GEOS will no longer throw the expected exception.
History marches on.
References #4103

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

5 years agoInclude for text_to_cstring
Paul Ramsey [Fri, 22 Feb 2019 17:26:46 +0000 (17:26 +0000)]
Include for text_to_cstring

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

5 years agoReplace VARSIZE(foo)-VARHDRSZ pattern with VARSIZE_ANY_EXHDR(foo)
Paul Ramsey [Fri, 22 Feb 2019 16:51:34 +0000 (16:51 +0000)]
Replace VARSIZE(foo)-VARHDRSZ pattern with VARSIZE_ANY_EXHDR(foo)
macro from standard Pg.

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

5 years agoAdd extra_float_digits for pg12
Paul Ramsey [Thu, 21 Feb 2019 20:44:07 +0000 (20:44 +0000)]
Add extra_float_digits for pg12

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

5 years agoMissed some spots in last commit
Regina Obe [Thu, 21 Feb 2019 18:26:47 +0000 (18:26 +0000)]
Missed some spots in last commit
Change from using CTE to use subquery so results are the same across all platforms
reason necessary in PostgreSQL 12, CTE changed from being always materialized to being often inlined.
This means PG12, no longer behaves like old CTE and behaves more like subquery.
As a result 12 CTE is outputting 4 warnings instead of 1 like older versions.
Changing to just subquery should force all to output 4 warnings.
references #4329 for PostGIS 3.0

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

5 years agoChange from using CTE to use subquery so results are the same across all platforms
Regina Obe [Thu, 21 Feb 2019 14:53:21 +0000 (14:53 +0000)]
Change from using CTE to use subquery so results are the same across all platforms
reason necessary in PostgreSQL 12, CTE changed from being always materialized to being often inlined.
This means PG12, no longer behaves like old CTE and behaves more like subquery.
As a result 12 CTE is outputting 4 warnings instead of 1 like older versions.
Changing to just subquery should force all to output 4 warnings.
references #4329 for PostGIS 3.0

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

5 years agoBack out %ld patch, apparently the 32-bit implementations just blow chunks on build...
Paul Ramsey [Wed, 20 Feb 2019 23:50:32 +0000 (23:50 +0000)]
Back out %ld patch, apparently the 32-bit implementations just blow chunks on build instead of warning. Yuck.

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

5 years agoQuiet debug build warnings about uint64 into %d
Paul Ramsey [Wed, 20 Feb 2019 23:25:52 +0000 (23:25 +0000)]
Quiet debug build warnings about uint64 into %d

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

5 years agoAdd lost rounding for PG12
Darafei Praliaskouski [Wed, 20 Feb 2019 07:28:14 +0000 (07:28 +0000)]
Add lost rounding for PG12

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

5 years agoRemove postgis.backend switch and SFCGAL versions of functions that have both versions.
Darafei Praliaskouski [Wed, 20 Feb 2019 06:55:15 +0000 (06:55 +0000)]
Remove postgis.backend switch and SFCGAL versions of functions that have both versions.

Causes #4328

References #4258
Closes https://github.com/postgis/postgis/pull/374

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

5 years agoPut in rounding to fix regression as result of changes in PostgreSQL 12
Regina Obe [Wed, 20 Feb 2019 01:17:20 +0000 (01:17 +0000)]
Put in rounding to fix regression as result of changes in PostgreSQL 12
References #4329 for PostGIS 3.0

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

5 years agoschema qualify tiger tables
Regina Obe [Tue, 19 Feb 2019 03:46:45 +0000 (03:46 +0000)]
schema qualify tiger tables

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

5 years agoMake lwgeom_mindist3d solid aware. Add TIN support.
Darafei Praliaskouski [Sat, 16 Feb 2019 01:05:39 +0000 (01:05 +0000)]
Make lwgeom_mindist3d solid aware. Add TIN support.

Thanks Hugo Mercier for suggesting test cases.

Closes #4278
Closes https://github.com/postgis/postgis/pull/373

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

5 years agoUpdate test running instructions
Paul Ramsey [Fri, 15 Feb 2019 19:01:06 +0000 (19:01 +0000)]
Update test running instructions

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

5 years agoUpdate OGC certification scripts to match new function signatures
Paul Ramsey [Fri, 15 Feb 2019 18:52:38 +0000 (18:52 +0000)]
Update OGC certification scripts to match new function signatures

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

5 years agoFix upgrades.
Darafei Praliaskouski [Wed, 13 Feb 2019 22:23:14 +0000 (22:23 +0000)]
Fix upgrades.

References #4304

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

5 years agoWagyu build improvements
Raúl Marín Rodríguez [Tue, 12 Feb 2019 11:34:13 +0000 (11:34 +0000)]
Wagyu build improvements

Use same compiler as postgresql (adds extra -x cxx)
Pass the C++ standard library to postgres when linking wagyu

Closes #4321
Closes https://github.com/postgis/postgis/pull/371

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

5 years agoTrailing whitespace
Raúl Marín Rodríguez [Tue, 12 Feb 2019 10:46:57 +0000 (10:46 +0000)]
Trailing whitespace

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

5 years agoAdd seed parameter for ST_GeneratePoints.
Darafei Praliaskouski [Tue, 12 Feb 2019 10:32:15 +0000 (10:32 +0000)]
Add seed parameter for ST_GeneratePoints.

Patch by Mike Taves.

Closes #4299
Closes #4304
Closes https://github.com/postgis/postgis/pull/365

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

5 years ago[format] Tidy up measures3d.
Darafei Praliaskouski [Mon, 11 Feb 2019 21:03:37 +0000 (21:03 +0000)]
[format] Tidy up measures3d.

References #4278

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

5 years agoOnly use configure variables to pass ldflags
Raúl Marín Rodríguez [Mon, 11 Feb 2019 18:42:30 +0000 (18:42 +0000)]
Only use configure variables to pass ldflags

Closes #4318

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

5 years agoConfigure: libpcre is optional
Raúl Marín Rodríguez [Mon, 11 Feb 2019 18:04:19 +0000 (18:04 +0000)]
Configure: libpcre is optional

Build shouldn't stop if libpcre isn't present

References #4324

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

5 years agoConfigure: Accept missing proj pg-config script
Raúl Marín Rodríguez [Mon, 11 Feb 2019 17:54:28 +0000 (17:54 +0000)]
Configure: Accept missing proj pg-config script

It was introduced in PROJ 4.8 and wasn't included under some
distributions until 4.9

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

5 years agoAdd generated lexer
Paul Ramsey [Mon, 11 Feb 2019 17:17:16 +0000 (17:17 +0000)]
Add generated lexer

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

5 years agoAdd lex initialization
Paul Ramsey [Mon, 11 Feb 2019 17:17:03 +0000 (17:17 +0000)]
Add lex initialization
References #4017

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

5 years agoUse pkg-config to improve dependency detection
Raúl Marín Rodríguez [Mon, 11 Feb 2019 16:41:35 +0000 (16:41 +0000)]
Use pkg-config to improve dependency detection

Closes #4324
Closes https://github.com/postgis/postgis/pull/372

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

5 years agoAdd ignores for Makefiles
Paul Ramsey [Wed, 6 Feb 2019 22:38:52 +0000 (22:38 +0000)]
Add ignores for Makefiles

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

5 years agoIntegrate wagyu to validate MVT polygons
Raúl Marín Rodríguez [Tue, 5 Feb 2019 15:27:53 +0000 (15:27 +0000)]
Integrate wagyu to validate MVT polygons

Closes https://github.com/postgis/postgis/pull/356
Closes #4311

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

5 years agoupdate dronie build badge to point specifically at trunk
Regina Obe [Mon, 4 Feb 2019 23:02:43 +0000 (23:02 +0000)]
update dronie build badge to point specifically at trunk
Revise winnie's build to include path to SFCGAL for some reason building static never had dependency on sfcgal, now we do :(

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

5 years agoTry to fix winnie's complaints by getting rid of static link patch
Regina Obe [Sat, 2 Feb 2019 17:32:00 +0000 (17:32 +0000)]
Try to fix winnie's complaints by getting rid of static link patch
References #4308

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

5 years agoFlip winnie back to 3.8.0dev geos testing. After https://git.osgeo.org/gitea/geos...
Regina Obe [Sat, 2 Feb 2019 06:13:01 +0000 (06:13 +0000)]
Flip winnie back to 3.8.0dev geos testing.  After https://git.osgeo.org/gitea/geos/geos/commit/b88d4614aaf3c5e73fd275a88253f62f34c25bb9 she doesn't hang on geos 64-bit tests anymore and that should fix this as well.

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

5 years agoPostgreSQL 12 compatibility
Raúl Marín Rodríguez [Thu, 31 Jan 2019 15:47:33 +0000 (15:47 +0000)]
PostgreSQL 12 compatibility

Initial patch by Laurenz Albe
References #4313

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

5 years agoCoverage: Download script when needed
Raúl Marín Rodríguez [Wed, 30 Jan 2019 19:36:30 +0000 (19:36 +0000)]
Coverage: Download script when needed

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

5 years agoST_ClipByBox2D: Do not throw when the geometry is invalid
Raúl Marín Rodríguez [Wed, 30 Jan 2019 19:13:47 +0000 (19:13 +0000)]
ST_ClipByBox2D: Do not throw when the geometry is invalid

References #4314
Closes https://github.com/postgis/postgis/pull/369

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

5 years agoST_AsMVTGeom: Fix bug that oversimplified vertical or horizontal lines
Raúl Marín Rodríguez [Wed, 30 Jan 2019 13:35:17 +0000 (13:35 +0000)]
ST_AsMVTGeom: Fix bug that oversimplified vertical or horizontal lines

References #4294
Closes https://github.com/postgis/postgis/pull/367

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

5 years agoFlip to 30 table suffix
Regina Obe [Sat, 26 Jan 2019 23:22:52 +0000 (23:22 +0000)]
Flip to 30 table suffix

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

5 years agoTake back out the postgis docker - giving libtoolize: error: Failed to create 'build...
Regina Obe [Sat, 26 Jan 2019 18:40:44 +0000 (18:40 +0000)]
Take back out the postgis docker - giving libtoolize: error: Failed to create 'build-aux'  need to investigate further

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

5 years agoPut back docker hub postgis 11 test, remove drone pre 1.0 config (we are standardizin...
Regina Obe [Sat, 26 Jan 2019 18:00:53 +0000 (18:00 +0000)]
Put back docker hub postgis 11 test, remove drone pre 1.0 config (we are standardizing on 1.0 now)

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

5 years agoPG12 compat: Remove unnecessary header include (tqual.h)
Raúl Marín Rodríguez [Thu, 24 Jan 2019 16:19:14 +0000 (16:19 +0000)]
PG12 compat: Remove unnecessary header include (tqual.h)

Everything works in Travis (9.5, 9.6, 10, 11) without including this
header; and I can't see any function from this file being used

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

5 years ago[gitlab-ci] Use Debian buster (10) for building/testing PostGIS
Sandro Santilli [Thu, 24 Jan 2019 16:13:41 +0000 (16:13 +0000)]
[gitlab-ci] Use Debian buster (10) for building/testing PostGIS

Closes #4280

Gives us:

 PostgreSQL 11.1
 GDAL 2.4.0
 GEOS 3.7.1
 PROJ 5.2.0

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

5 years agoUse quiet psql on regress
Sandro Santilli [Wed, 23 Jan 2019 17:21:13 +0000 (17:21 +0000)]
Use quiet psql on regress

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

5 years agoOnly build static liblwgeom
Raúl Marín Rodríguez [Tue, 22 Jan 2019 15:04:04 +0000 (15:04 +0000)]
Only build static liblwgeom

References #4260
Closes https://github.com/postgis/postgis/pull/366

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

5 years agoSpeedup concave_hull_hard test
Raúl Marín Rodríguez [Tue, 22 Jan 2019 12:29:06 +0000 (12:29 +0000)]
Speedup concave_hull_hard test

Closes #4306

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

5 years agoBuild raster loader with static liblwgeom too
Raúl Marín Rodríguez [Tue, 22 Jan 2019 11:50:59 +0000 (11:50 +0000)]
Build raster loader with static liblwgeom too

References #4260

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

5 years agoLoader: Use static instead of static-libtool
Raúl Marín Rodríguez [Tue, 22 Jan 2019 11:38:09 +0000 (11:38 +0000)]
Loader: Use static instead of static-libtool

We should only care about uninstalled libraries (liblwgeom)

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

5 years agoPartially revert r17181
Raúl Marín Rodríguez [Tue, 22 Jan 2019 09:10:21 +0000 (09:10 +0000)]
Partially revert r17181

It changed the behaviour of _postgis_pgsql_version
Now uses the appropiate 5-6 digit version from server_version_num
References #4296
References #4303

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

5 years agoremove docker hub image (geos seems broken at moment)
Regina Obe [Mon, 21 Jan 2019 23:18:14 +0000 (23:18 +0000)]
remove docker hub image (geos seems broken at moment)

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

5 years agoStatically link shp2pgsql and other loader utilities to
Paul Ramsey [Mon, 21 Jan 2019 22:25:00 +0000 (22:25 +0000)]
Statically link shp2pgsql and other loader utilities to
liblwgeom
References #4260

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

5 years agoIgnore generated file
Paul Ramsey [Mon, 21 Jan 2019 19:55:10 +0000 (19:55 +0000)]
Ignore generated file

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

5 years agoSync generated parser files with parser using recent bison
Paul Ramsey [Mon, 21 Jan 2019 19:53:03 +0000 (19:53 +0000)]
Sync generated parser files with parser using recent bison

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

5 years agoCommit generated code to match parser file
Paul Ramsey [Mon, 21 Jan 2019 19:24:56 +0000 (19:24 +0000)]
Commit generated code to match parser file

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

5 years agoActually put fix for #4273 in the right place
Paul Ramsey [Mon, 21 Jan 2019 19:22:03 +0000 (19:22 +0000)]
Actually put fix for #4273 in the right place
so it isn't blown away when parser.y is evaluated.
References #4273

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

5 years agoReformat slightly
Paul Ramsey [Mon, 21 Jan 2019 19:06:41 +0000 (19:06 +0000)]
Reformat slightly

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

5 years agoImprove notice message when unable to compute stats
Raúl Marín Rodríguez [Mon, 21 Jan 2019 16:44:29 +0000 (16:44 +0000)]
Improve notice message when unable to compute stats

Closes #4272
Closes https://github.com/postgis/postgis/pull/364

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

5 years agoUn space
Paul Ramsey [Fri, 18 Jan 2019 21:57:54 +0000 (21:57 +0000)]
Un space

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

5 years agoAvoid final point duplicates for circle stroking
Paul Ramsey [Fri, 18 Jan 2019 20:41:13 +0000 (20:41 +0000)]
Avoid final point duplicates for circle stroking
References #4283

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

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

Closes #4296
Closes https://github.com/postgis/postgis/pull/363

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

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

References #4275

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

5 years agoST_AsMVTGeom: Transform coordinates space before clipping
Raúl Marín Rodríguez [Fri, 18 Jan 2019 11:58:46 +0000 (11:58 +0000)]
ST_AsMVTGeom: Transform coordinates space before clipping

Closes #4289
Closes https://github.com/postgis/postgis/pull/360

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

5 years agoUse AccessShareLock in spatial_index_read_extent
Paul Ramsey [Thu, 17 Jan 2019 23:17:19 +0000 (23:17 +0000)]
Use AccessShareLock in spatial_index_read_extent
References #4261

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

5 years agoAttempt to catch point-on-edge case before more subtle tests
Paul Ramsey [Thu, 17 Jan 2019 21:49:22 +0000 (21:49 +0000)]
Attempt to catch point-on-edge case before more subtle tests
References #4298

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

5 years agoIgnore build/test artifacts
Paul Ramsey [Thu, 17 Jan 2019 21:09:36 +0000 (21:09 +0000)]
Ignore build/test artifacts

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

5 years agoST_Subdivide endless loop on coordinates near coincident to bounds
Darafei Praliaskouski [Thu, 17 Jan 2019 11:30:03 +0000 (11:30 +0000)]
ST_Subdivide endless loop on coordinates near coincident to bounds

Closes #4301
Closes https://github.com/postgis/postgis/pull/361

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

5 years agoTypo in drone pipeline name
Sandro Santilli [Wed, 16 Jan 2019 16:55:01 +0000 (16:55 +0000)]
Typo in drone pipeline name

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

5 years agoST_AsMVTGeom: Always return the simplest geometry
Raúl Marín Rodríguez [Wed, 16 Jan 2019 10:48:55 +0000 (10:48 +0000)]
ST_AsMVTGeom: Always return the simplest geometry

References #4300

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

5 years agotake sudo out, doesn't exist on this particular image
Regina Obe [Tue, 15 Jan 2019 22:19:11 +0000 (22:19 +0000)]
take sudo out, doesn't exist on this particular image

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

5 years agoLatest gave 9.5, no so latest, try switching to the pg11 geomaster image
Regina Obe [Tue, 15 Jan 2019 22:04:41 +0000 (22:04 +0000)]
Latest gave 9.5, no so latest, try switching to the pg11 geomaster image

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

5 years agotry to flip to a super user interface to see if fixes can't create build-aux director...
Regina Obe [Tue, 15 Jan 2019 21:57:05 +0000 (21:57 +0000)]
try to flip to a super user interface to see if fixes can't create build-aux directory issue

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

5 years agotry to fix up the run step for using docker hub postgis image
Regina Obe [Tue, 15 Jan 2019 21:45:01 +0000 (21:45 +0000)]
try to fix up the run step for using docker hub postgis image

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

5 years agoAttempt to add postgis docker hub image as an additional pipeline. Change badge...
Regina Obe [Tue, 15 Jan 2019 21:31:12 +0000 (21:31 +0000)]
Attempt to add postgis docker hub image as an additional pipeline.  Change badge to use new drone 1.0 https://dronie.osgeo.org

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

5 years agoGet rid clone step see if it fixes default error issue
Regina Obe [Tue, 15 Jan 2019 20:52:02 +0000 (20:52 +0000)]
Get rid clone step see if it fixes default error issue

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

5 years agoTests: Remove warning when building with 32bit arch
Raúl Marín Rodríguez [Tue, 15 Jan 2019 16:32:52 +0000 (16:32 +0000)]
Tests: Remove warning when building with 32bit arch

It appeared when investigating #4298

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

5 years agoConfigure: Improve format when printing extension information
Raúl Marín Rodríguez [Tue, 15 Jan 2019 11:17:54 +0000 (11:17 +0000)]
Configure: Improve format when printing extension information

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

5 years agopostgis_full_version: Reduce raster notices to debug
Raúl Marín Rodríguez [Tue, 15 Jan 2019 10:23:51 +0000 (10:23 +0000)]
postgis_full_version: Reduce raster notices to debug

Closes #4297

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

5 years agoST_AsMVTGeom: Do resolution check before deserializing
Raúl Marín Rodríguez [Mon, 14 Jan 2019 18:02:29 +0000 (18:02 +0000)]
ST_AsMVTGeom: Do resolution check before deserializing

Closes #4294
Closes https://github.com/postgis/postgis/pull/358

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

5 years agoForce liblwgeom recompilation when lwinline.h changes
Raúl Marín Rodríguez [Mon, 14 Jan 2019 16:53:22 +0000 (16:53 +0000)]
Force liblwgeom recompilation when lwinline.h changes

Closes https://github.com/postgis/postgis/pull/359
Closes #4288

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

5 years agotry to fix yaml: no default pipeline
Regina Obe [Sun, 13 Jan 2019 21:19:11 +0000 (21:19 +0000)]
try to fix yaml: no default pipeline

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

5 years agotry to fix yaml: unknown anchor 'test-image' referenced
Regina Obe [Sun, 13 Jan 2019 21:00:54 +0000 (21:00 +0000)]
try to fix yaml: unknown anchor 'test-image' referenced

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

5 years agotry to fix yaml: unknown anchor 'test-image' referenced
Regina Obe [Sun, 13 Jan 2019 20:58:48 +0000 (20:58 +0000)]
try to fix yaml: unknown anchor 'test-image' referenced

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

5 years agotry to fix yaml: line 4: mapping values are not allowed in this context by putting...
Regina Obe [Sun, 13 Jan 2019 20:56:18 +0000 (20:56 +0000)]
try to fix yaml: line 4: mapping values are not allowed in this context  by putting name indent on same level with other step parts

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

5 years agoDrone 1.0 config (the 1.0 has major breaking changes from 0.5/0.8 so can't use existi...
Regina Obe [Sun, 13 Jan 2019 20:46:50 +0000 (20:46 +0000)]
Drone 1.0 config (the 1.0 has major breaking changes from 0.5/0.8 so can't use existing .drone.yml
Currently two drone 1.0 agens - debbie and dronie.sogeo.org
dronie.osgeo.org (residing on osgeo7 server) is also the 1.0 drone server -- https://dronie.osgeo.org

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

5 years agoRemove debugging lines
Paul Ramsey [Fri, 11 Jan 2019 21:26:01 +0000 (21:26 +0000)]
Remove debugging lines

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

5 years agoHarmonize circ_tree_contains_point to new signature
Paul Ramsey [Fri, 11 Jan 2019 21:17:01 +0000 (21:17 +0000)]
Harmonize circ_tree_contains_point to new signature

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