]> granicus.if.org Git - postgis/log
postgis
5 years agoAllow passing GEOMETRYCOLLECTION to GEOS relate functions.
Darafei Praliaskouski [Sun, 7 Apr 2019 06:40:18 +0000 (06:40 +0000)]
Allow passing GEOMETRYCOLLECTION to GEOS relate functions.

Patch by Esteban Zimányi.

Closes #4295
Closes https://github.com/postgis/postgis/pull/386

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

5 years agoTurn off logbt for now. Can't get the setup thing to work
Regina Obe [Tue, 2 Apr 2019 16:17:06 +0000 (16:17 +0000)]
Turn off logbt for now.  Can't get the setup thing to work

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

5 years agoRevert back to old libs got some crashers when trying to flip to 8.1 and newer librar...
Regina Obe [Sun, 31 Mar 2019 22:13:55 +0000 (22:13 +0000)]
Revert back to old libs got some crashers when trying to flip to 8.1 and newer libraries have to sort out first

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

5 years agoIgnore artifact
Paul Ramsey [Fri, 29 Mar 2019 21:19:09 +0000 (21:19 +0000)]
Ignore artifact

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

5 years agoFormatting :/
Paul Ramsey [Fri, 29 Mar 2019 21:18:25 +0000 (21:18 +0000)]
Formatting :/

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

5 years agoFix various misspellings of "geometry"
Raúl Marín Rodríguez [Fri, 29 Mar 2019 15:56:43 +0000 (15:56 +0000)]
Fix various misspellings of "geometry"

Patch by François Bonzon

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

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

5 years agoTopology documentation improvements
Raúl Marín Rodríguez [Fri, 29 Mar 2019 15:46:38 +0000 (15:46 +0000)]
Topology documentation improvements

Patch by François Bonzon

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

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

5 years agoUpdate NEWS from previous commit
Raúl Marín Rodríguez [Fri, 29 Mar 2019 14:25:45 +0000 (14:25 +0000)]
Update NEWS from previous commit

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

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

Patch by Matt Bretl

Closes https://github.com/postgis/postgis/pull/387
References #4361

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

5 years agoDrop deprecated ST_Distance(geography,geography) signature
Sandro Santilli [Fri, 29 Mar 2019 14:10:23 +0000 (14:10 +0000)]
Drop deprecated ST_Distance(geography,geography) signature

Fixes #4359

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

5 years agoAdd -s switch to check_all_upgrades to stop on first failure
Sandro Santilli [Thu, 28 Mar 2019 16:51:58 +0000 (16:51 +0000)]
Add -s switch to check_all_upgrades to stop on first failure

Also have Dronie use that switch.
Closes #4360

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

5 years agoChange winnie to stop looking for rtpostgis...dll and start looking for new name...
Regina Obe [Thu, 28 Mar 2019 16:36:53 +0000 (16:36 +0000)]
Change winnie to stop looking for rtpostgis...dll and start looking for new name postgis_raster...dll
Poor thing was trying to strip a non-existent file and getting frustrated

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

5 years agoImprove Doc Reference section
Darafei Praliaskouski [Wed, 27 Mar 2019 21:35:38 +0000 (21:35 +0000)]
Improve Doc Reference section

Patch by Martin Davis

Reorganize functions into new sections:

Spatial Reference System Functions
Affine Transformations
Spatial Relationships
Measurement Functions
Clustering Functions

Also various wording improvements.

References #4332
Closes https://github.com/postgis/postgis/pull/385

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

5 years agoDrop renamed function
Raúl Marín Rodríguez [Wed, 27 Mar 2019 15:16:40 +0000 (15:16 +0000)]
Drop renamed function

References #4345

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

5 years agoOnly drop old functions if they exists
Raúl Marín Rodríguez [Tue, 26 Mar 2019 14:00:13 +0000 (14:00 +0000)]
Only drop old functions if they exists

References #4345

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

5 years agoCatch un-defaulted final parameter
Paul Ramsey [Mon, 25 Mar 2019 18:20:10 +0000 (18:20 +0000)]
Catch un-defaulted final parameter
References #4353

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

5 years agoPre-emptively drop functions w/ changed signatures
Paul Ramsey [Mon, 25 Mar 2019 17:39:09 +0000 (17:39 +0000)]
Pre-emptively drop functions w/ changed signatures
References #4345

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

5 years agoMove uthash.h to deps/ folder
Raúl Marín Rodríguez [Fri, 22 Mar 2019 17:04:56 +0000 (17:04 +0000)]
Move uthash.h to deps/ folder

Closes https://trac.osgeo.org/postgis/ticket/4357
Closes https://github.com/postgis/postgis/pull/384

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

5 years agoMVT Geos: Avoid dereferencing a NULL pointer after validation
Raúl Marín Rodríguez [Fri, 22 Mar 2019 11:23:43 +0000 (11:23 +0000)]
MVT Geos: Avoid dereferencing a NULL pointer after validation

References #4348

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

5 years agoRename raster library to postgis_raster-X
Sandro Santilli [Thu, 21 Mar 2019 16:45:18 +0000 (16:45 +0000)]
Rename raster library to postgis_raster-X

Should fix #4355

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

5 years agoST_AsMVTGeom (GEOS): Enforce validation at all times
Raúl Marín Rodríguez [Thu, 21 Mar 2019 12:05:38 +0000 (12:05 +0000)]
ST_AsMVTGeom (GEOS): Enforce validation at all times

References #4348
Closes https://github.com/postgis/postgis/pull/382

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

5 years agodon't bother testing non-logbt if logbt is chosen (would be largely redundant? )
Regina Obe [Wed, 20 Mar 2019 20:07:59 +0000 (20:07 +0000)]
don't bother testing non-logbt if logbt is chosen (would be largely redundant? )
References #4354

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

5 years agoTry to get debbie to use logbt (already installed 2.0.3 on her)
Regina Obe [Wed, 20 Mar 2019 20:03:29 +0000 (20:03 +0000)]
Try to get debbie to use logbt (already installed 2.0.3 on her)
So can troubleshoot #4354

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

5 years agoRaster is not required anymore for extension support (hurra!)
Sandro Santilli [Wed, 20 Mar 2019 16:03:00 +0000 (16:03 +0000)]
Raster is not required anymore for extension support (hurra!)

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

5 years agoDrop unneeded/unused target
Sandro Santilli [Wed, 20 Mar 2019 16:00:28 +0000 (16:00 +0000)]
Drop unneeded/unused target

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

5 years agoImprove Doc Reference section
Darafei Praliaskouski [Tue, 19 Mar 2019 05:29:28 +0000 (05:29 +0000)]
Improve Doc Reference section

Patch by Martin Davis

Improve trajectory function section
Improve Long Transaction reference section
Add doc Reference Bounding Box functions section
Move doc Reference SFCGAL section
Move doc Reference Misc function Find_SRID
Move doc Ref ST_PointInsideCircle function
Move doc Ref ST_MemSize function
Move doc Ref function ST_Accum to Processing functions
Disable doc Ref Misc Functions section

References #4332
Closes https://github.com/postgis/postgis/pull/383

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

5 years agoAvoid installing unneeded raster scripts in contrib dir
Sandro Santilli [Mon, 18 Mar 2019 19:45:51 +0000 (19:45 +0000)]
Avoid installing unneeded raster scripts in contrib dir

Also stop building extension in non-extension things

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

5 years agoStop installing unneeded postgis files in contrib dir
Sandro Santilli [Mon, 18 Mar 2019 19:35:43 +0000 (19:35 +0000)]
Stop installing unneeded postgis files in contrib dir

Also don't build extension-related things in non-extension
related folder

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

5 years agoGive more info about SKIPs
Sandro Santilli [Thu, 14 Mar 2019 18:49:42 +0000 (18:49 +0000)]
Give more info about SKIPs

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

5 years agoDo not be fooled by shell operators on upgrade
Sandro Santilli [Thu, 14 Mar 2019 18:49:29 +0000 (18:49 +0000)]
Do not be fooled by shell operators on upgrade

Fixes #4345 which was introduced with r17297

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

5 years agoRefuse to load PostGIS in an untargeted PostgreSQL version
Sandro Santilli [Wed, 13 Mar 2019 15:10:40 +0000 (15:10 +0000)]
Refuse to load PostGIS in an untargeted PostgreSQL version

Helps user finding out what problems they have when this happens

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

5 years agoEnsure "make check" uses configured PostgreSQL target bins under regress too
Sandro Santilli [Wed, 13 Mar 2019 15:10:30 +0000 (15:10 +0000)]
Ensure "make check" uses configured PostgreSQL target bins under regress too

References #4349

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

5 years agoEnsure "make check" uses configured PostgreSQL target bins
Sandro Santilli [Wed, 13 Mar 2019 07:56:33 +0000 (07:56 +0000)]
Ensure "make check" uses configured PostgreSQL target bins

Closes #4349
Patch by Bruce Rindahl

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

5 years agoDoc layout improvements.
Darafei Praliaskouski [Mon, 11 Mar 2019 19:24:16 +0000 (19:24 +0000)]
Doc layout improvements.

Patch by Martin Davis.

References #4332
Closes https://github.com/postgis/postgis/pull/380

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

5 years agoUse CallerFInfoFunctionCallN infrastructure
Paul Ramsey [Mon, 11 Mar 2019 17:58:07 +0000 (17:58 +0000)]
Use CallerFInfoFunctionCallN infrastructure
Closes #4347

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

5 years agoForce early flushing of postgis_restore.pl output
Sandro Santilli [Sun, 10 Mar 2019 18:51:21 +0000 (18:51 +0000)]
Force early flushing of postgis_restore.pl output

Reduces memory usage when piping output to further processing filter.

Patch by Hugh Ranalli

Closes #4330

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

5 years agoDrop support for stdout in extensions_unpackage.sh
Sandro Santilli [Sun, 10 Mar 2019 18:51:13 +0000 (18:51 +0000)]
Drop support for stdout in extensions_unpackage.sh

There wasn't much point in it, as we need a database name to
produce the script anyway.

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

5 years agoFix syntax and indentation
Sandro Santilli [Sun, 10 Mar 2019 18:51:04 +0000 (18:51 +0000)]
Fix syntax and indentation

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

5 years agoSchema qualify all geometry casts in raster code, otherwise materialized views do...
Regina Obe [Sat, 9 Mar 2019 18:37:56 +0000 (18:37 +0000)]
Schema qualify all geometry casts in raster code, otherwise materialized views do not resture
References #4291 for PostGIS 3.0.0

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

5 years agoChange de_DE to de. de is the one that is active
Regina Obe [Sat, 9 Mar 2019 06:32:08 +0000 (06:32 +0000)]
Change de_DE to de.  de is the one that is active
Closes #3848 for PostGIS 3.0.0

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

5 years agoCost a few more opreators
Paul Ramsey [Fri, 8 Mar 2019 23:35:12 +0000 (23:35 +0000)]
Cost a few more opreators

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

5 years agoDrop pre-existing db when running without any special mode flags on database handling
Paul Ramsey [Fri, 8 Mar 2019 23:18:45 +0000 (23:18 +0000)]
Drop pre-existing db when running without any special mode flags on database handling

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

5 years agoBack out dropdb, doesn't really work in that location
Paul Ramsey [Fri, 8 Mar 2019 21:51:47 +0000 (21:51 +0000)]
Back out dropdb, doesn't really work in that location

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

5 years agoAdd costs to functions in the form of macros:
Paul Ramsey [Fri, 8 Mar 2019 21:48:08 +0000 (21:48 +0000)]
Add costs to functions in the form of macros:
_COST_LOW, _COST_MEDIUM, _COST_HIGH
Macros are set in sqldefines.h.in and are switched
on PgSQL version. Prior to PG12, costs should be
small or nonexistent, to avoid SQL inlining issues.
After Pg12, costs can be higher to hopefully
force more parallelism in plans.
Closes #4344

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

5 years agoAdd CSS file to ignores
Paul Ramsey [Fri, 8 Mar 2019 19:45:16 +0000 (19:45 +0000)]
Add CSS file to ignores

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

5 years agoRemove 'tidy' step for adding mobile header to HTML
Paul Ramsey [Fri, 8 Mar 2019 19:38:24 +0000 (19:38 +0000)]
Remove 'tidy' step for adding mobile header to HTML

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

5 years agoTry to drop the database before creating a new one, using a conditional drop in dropd...
Paul Ramsey [Fri, 8 Mar 2019 18:05:43 +0000 (18:05 +0000)]
Try to drop the database before creating a new one, using a conditional drop in dropdb --if-exists

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

5 years agoMove datum declaration closer to use
Paul Ramsey [Fri, 8 Mar 2019 16:35:05 +0000 (16:35 +0000)]
Move datum declaration closer to use

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

5 years agoFix missing function in Pg < 12 cases
Paul Ramsey [Fri, 8 Mar 2019 16:32:35 +0000 (16:32 +0000)]
Fix missing function in Pg < 12 cases

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

5 years agoExperimental make target that adds a mobile header to html outpu
Paul Ramsey [Thu, 7 Mar 2019 23:30:19 +0000 (23:30 +0000)]
Experimental make target that adds a mobile header to html outpu

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

5 years agoMove deprecated functions into legacy.sql.
Paul Ramsey [Thu, 7 Mar 2019 22:08:24 +0000 (22:08 +0000)]
Move deprecated functions into legacy.sql.
Reduce the number of multi-signature functions.
Use native C calls more often in place of SQL wrappers.
Remove "versioned" form of ST_AsGeoJSON and ST_AsKML.
Harmonize documentation and tests.

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

5 years agoOops, add file to svn
Paul Ramsey [Wed, 6 Mar 2019 19:36:12 +0000 (19:36 +0000)]
Oops, add file to svn
References #4341

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

5 years agoUse "support function" API in PgSQL 12+ to provide index support for ST_Intersects...
Paul Ramsey [Wed, 6 Mar 2019 17:27:24 +0000 (17:27 +0000)]
Use "support function" API in PgSQL 12+ to provide index support for ST_Intersects and company, in place of old SQL inlining method.
Closes #4341

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

5 years agoUpon upgrade, create operators when missing (no matter version)
Sandro Santilli [Wed, 6 Mar 2019 15:50:34 +0000 (15:50 +0000)]
Upon upgrade, create operators when missing (no matter version)

Fixes #4339

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

5 years agoFix default makefile rule for raster pg lib
Sandro Santilli [Wed, 6 Mar 2019 15:24:50 +0000 (15:24 +0000)]
Fix default makefile rule for raster pg lib

Might fix a long-standing issue with raster showing to require
procs upgrade when it is not really true...

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

5 years agoRename opt_out.sh to extensions_unpackage.sh, drop make_unpackaged.sql
Sandro Santilli [Wed, 6 Mar 2019 15:14:40 +0000 (15:14 +0000)]
Rename opt_out.sh to extensions_unpackage.sh, drop make_unpackaged.sql

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

5 years agoSimplify opt_out.sh code, allow writing to stdout
Sandro Santilli [Wed, 6 Mar 2019 15:03:02 +0000 (15:03 +0000)]
Simplify opt_out.sh code, allow writing to stdout

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

5 years agoInclude raster and sfcgal extensions in opt_out.sh
Sandro Santilli [Wed, 6 Mar 2019 14:57:42 +0000 (14:57 +0000)]
Include raster and sfcgal extensions in opt_out.sh

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

5 years agoFurther tweak C function deprecation error
Sandro Santilli [Wed, 6 Mar 2019 14:10:17 +0000 (14:10 +0000)]
Further tweak C function deprecation error

This time even with detail and hint !

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

5 years agoSpecify it is the C function being deprecated (not SQL one)
Sandro Santilli [Wed, 6 Mar 2019 10:14:00 +0000 (10:14 +0000)]
Specify it is the C function being deprecated (not SQL one)

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

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