]> granicus.if.org Git - postgis/log
postgis
5 years agodatumCopy has to happen in agg context or else
Paul Ramsey [Mon, 7 Oct 2019 01:29:38 +0000 (01:29 +0000)]
datumCopy has to happen in agg context or else
objects larger than datum size will be lost.
Shows up in 32 bit because float8 doesn't fit
on a datum.
Closes #4522

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

5 years agoGet rid of reference_temporal. that evidentally was removed
Regina Obe [Mon, 7 Oct 2019 00:46:53 +0000 (00:46 +0000)]
Get rid of reference_temporal.  that evidentally was removed

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

5 years agoUpdate pot files -- references #4525
Regina Obe [Mon, 7 Oct 2019 00:16:38 +0000 (00:16 +0000)]
Update pot files -- references #4525

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

5 years agoChange expected release from 10/5 to 10/8
Regina Obe [Sun, 6 Oct 2019 15:44:35 +0000 (15:44 +0000)]
Change expected release from 10/5 to 10/8

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

5 years agoPrepping for PostGIS 3.0.0rc1 release
Regina Obe [Sat, 5 Oct 2019 18:06:52 +0000 (18:06 +0000)]
Prepping for PostGIS 3.0.0rc1 release

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

5 years agoRestore ST_Union() aggregate signature and re-work
Paul Ramsey [Fri, 4 Oct 2019 18:25:46 +0000 (18:25 +0000)]
Restore ST_Union() aggregate signature and re-work
performance/size enhancement to continue to avoid
using Array type during ST_Union(), hopefully
avoiding Array size limitations.

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

5 years agoautogen.sh: Exit with an error when a tool is missing
Raúl Marín Rodríguez [Thu, 3 Oct 2019 09:49:41 +0000 (09:49 +0000)]
autogen.sh: Exit with an error when a tool is missing

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

5 years agoUse a clean environment when detecting C++ libraries
Raúl Marín Rodríguez [Thu, 3 Oct 2019 09:40:08 +0000 (09:40 +0000)]
Use a clean environment when detecting C++ libraries

Closes #4520
Closes https://github.com/postgis/postgis/pull/488

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

5 years agoUse snprintf in building SRID query string
Paul Ramsey [Wed, 2 Oct 2019 18:22:09 +0000 (18:22 +0000)]
Use snprintf in building SRID query string

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

5 years agogetSRIDbySRS: Fix crash
Raúl Marín Rodríguez [Wed, 2 Oct 2019 13:45:21 +0000 (13:45 +0000)]
getSRIDbySRS: Fix crash

- Prevents stack overflow when the srs is long (query + srs > 256 chars).
- Prevents sql injection.

References #4519
Closes https://github.com/postgis/postgis/pull/487

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

5 years agoGet a little bit ahead on extension upgrade paths, so
Paul Ramsey [Tue, 1 Oct 2019 17:29:34 +0000 (17:29 +0000)]
Get a little bit ahead on extension upgrade paths, so
patch releases of older versions can still upgrade to 3.0 in
near future

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

5 years agoFix scripts-based (not extension) upgrade from 2.4
Paul Ramsey [Tue, 1 Oct 2019 17:28:59 +0000 (17:28 +0000)]
Fix scripts-based (not extension) upgrade from 2.4
Closes #4516

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

5 years agoCreate slot for next release - be confident we'll do another before end of month
Regina Obe [Tue, 1 Oct 2019 14:30:51 +0000 (14:30 +0000)]
Create slot for next release - be confident we'll do another before end of month

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

5 years agoTurn rt_gdalwarp tests back on, removing grid shifts to account
Paul Ramsey [Mon, 30 Sep 2019 21:18:35 +0000 (21:18 +0000)]
Turn rt_gdalwarp tests back on, removing grid shifts to account
for changes in Proj installed grids

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

5 years agoAvoid datum/grid shifts in reproject test, to lower
Paul Ramsey [Mon, 30 Sep 2019 19:49:09 +0000 (19:49 +0000)]
Avoid datum/grid shifts in reproject test, to lower
sensitivity to variance in proj installations wrt
whether or not grid shift files are installed.
References #4500

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

5 years agoAdd CXX and CXXFLAGS from pg_config seems to fix wagyu load issue
Regina Obe [Mon, 30 Sep 2019 18:55:41 +0000 (18:55 +0000)]
Add CXX and CXXFLAGS from pg_config seems to fix wagyu load issue
Closes #4474

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

5 years agoPut back wagyu, but try to force gcc8 as compiler and use CFLAGS from PostgreSQL...
Regina Obe [Mon, 30 Sep 2019 16:38:37 +0000 (16:38 +0000)]
Put back wagyu, but try to force gcc8 as compiler and use CFLAGS from PostgreSQL 11 install
References #4474

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

5 years agoFlip to 3.0.0beta2dev
Regina Obe [Sun, 29 Sep 2019 00:38:30 +0000 (00:38 +0000)]
Flip to 3.0.0beta2dev

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

5 years agooops forgot to commit same note in NEWS
Regina Obe [Sat, 28 Sep 2019 23:55:31 +0000 (23:55 +0000)]
oops forgot to commit same note in NEWS

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

5 years agoAdd note about additional performance enhancements with GEOS 3.8
Regina Obe [Sat, 28 Sep 2019 23:54:32 +0000 (23:54 +0000)]
Add note about additional performance enhancements with GEOS 3.8

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

5 years agoPrepare for PostGIS 3.0.0beta1
Regina Obe [Sat, 28 Sep 2019 23:28:14 +0000 (23:28 +0000)]
Prepare for PostGIS 3.0.0beta1

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

5 years agoTurn off wagyu for now for 32-bit FreeBSD12. For some reason it is deciding to use...
Regina Obe [Sat, 28 Sep 2019 22:37:46 +0000 (22:37 +0000)]
Turn off wagyu for now for 32-bit FreeBSD12.  For some reason it is deciding to use a higher gcc for wagyu building which causes the issue
References #4474

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

5 years agotake out all pathing to see if that fixes the issue, in theory pkg-config should...
Regina Obe [Sat, 28 Sep 2019 22:13:47 +0000 (22:13 +0000)]
take out all pathing to see if that fixes the issue, in theory pkg-config should take care of everything.  Set default GEOS to 3.8.0beta1 for winnie

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

5 years agoUpdate docs in prep for 3.0.0beta1 release
Regina Obe [Sat, 28 Sep 2019 13:09:55 +0000 (13:09 +0000)]
Update docs in prep for 3.0.0beta1 release

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

5 years agoFix issue with loading tabblock
Regina Obe [Sat, 28 Sep 2019 02:52:11 +0000 (02:52 +0000)]
Fix issue with loading tabblock
Update geocoder to load 2019 data
Closes #4509 for PostGIS 3.0
References #4338 for PostGIS 3.0

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

5 years agoMissed some fixes in last commit. this should work on all.
Regina Obe [Sat, 28 Sep 2019 00:41:04 +0000 (00:41 +0000)]
Missed some fixes in last commit.  this should work on all.
References #4514 for PostGIS 3.0

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

5 years agoRevise topology tests so they yield same results in GEOS 3.8 and lower
Regina Obe [Fri, 27 Sep 2019 23:59:30 +0000 (23:59 +0000)]
Revise topology tests so they yield same results in GEOS 3.8 and lower
References #4514 for PostGIS 3.0

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

5 years agoupgrade-paths-rules.mk: Drop the -v flag
Raúl Marín Rodríguez [Wed, 25 Sep 2019 10:31:18 +0000 (10:31 +0000)]
upgrade-paths-rules.mk: Drop the -v flag

It's not available in some UNIX systems as it's not POSIX standard

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

5 years agoSpeed up ST_Simplify
Raúl Marín Rodríguez [Tue, 24 Sep 2019 10:58:30 +0000 (10:58 +0000)]
Speed up ST_Simplify

Closes #4510
Closes https://github.com/postgis/postgis/pull/480

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

5 years agoST_RemoveRepeatedPoints: Optimize multipoints with single point
Raúl Marín Rodríguez [Tue, 24 Sep 2019 10:45:43 +0000 (10:45 +0000)]
ST_RemoveRepeatedPoints: Optimize multipoints with single point

References #4491
Closes https://github.com/postgis/postgis/pull/481

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

5 years agoTravis: Fix clang ubsan build
Raúl Marín Rodríguez [Tue, 24 Sep 2019 10:44:10 +0000 (10:44 +0000)]
Travis: Fix clang ubsan build

The latest build updated clang

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

5 years agoFix several documentation typos
Raúl Marín Rodríguez [Mon, 23 Sep 2019 09:20:32 +0000 (09:20 +0000)]
Fix several documentation typos

Patch by François Bonzon
Closes https://github.com/postgis/postgis/pull/479/

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

5 years agoRemove tolerance in point-in-ring stabline tests
Paul Ramsey [Tue, 17 Sep 2019 20:00:37 +0000 (20:00 +0000)]
Remove tolerance in point-in-ring stabline tests
Closes #4506

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

5 years agoDisable raster failing tests
Raúl Marín Rodríguez [Tue, 17 Sep 2019 14:36:06 +0000 (14:36 +0000)]
Disable raster failing tests

References #4379

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

5 years agoSpeed up ST_RemoveRepeatedPoints
Raúl Marín Rodríguez [Mon, 16 Sep 2019 12:32:05 +0000 (12:32 +0000)]
Speed up ST_RemoveRepeatedPoints

Closes #4491
Closes https://github.com/postgis/postgis/pull/468

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

5 years agoSpeed up conversion of geometries to/from GEOS
Daniel Baston [Sat, 14 Sep 2019 19:09:20 +0000 (19:09 +0000)]
Speed up conversion of geometries to/from GEOS

GEOS 3.8 introduces multi-ordinate getters and setters that can read and write
XY/XYZ in a single function call.

Fixes #4505
Closes https://github.com/postgis/postgis/pull/476

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

5 years agoUse GEOSMakeValid and GEOSBuildArea for GEOS 3.8+
Daniel Baston [Sat, 14 Sep 2019 19:04:46 +0000 (19:04 +0000)]
Use GEOSMakeValid and GEOSBuildArea for GEOS 3.8+

Fixes #4507
Closes https://github.com/postgis/postgis/pull/477

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

5 years agoshp2pgsql -D not working with schema qualified tables
Regina Obe [Fri, 13 Sep 2019 21:14:14 +0000 (21:14 +0000)]
shp2pgsql -D not working with schema qualified tables
Closes #4504

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

5 years agoSpeed up the calculation of cartesian bbox
Raúl Marín Rodríguez [Fri, 13 Sep 2019 15:40:41 +0000 (15:40 +0000)]
Speed up the calculation of cartesian bbox

Closes https://github.com/postgis/postgis/pull/475
Closes https://trac.osgeo.org/postgis/ticket/4503

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

5 years agoReduce sensitivity of ST_OrientedEnvelope test
Daniel Baston [Thu, 12 Sep 2019 17:47:47 +0000 (17:47 +0000)]
Reduce sensitivity of ST_OrientedEnvelope test

GEOS master produces slightly different coordinate values, at least for now.

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

5 years agoMark tiger geocoder as superuser safe since it only has plpgsql/sql and no c lib
Regina Obe [Sat, 7 Sep 2019 18:43:52 +0000 (18:43 +0000)]
Mark tiger geocoder as superuser safe since it only has plpgsql/sql and no c lib
References #4501 for PostGIS 3.0

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

5 years agoMake ST_Simplify(TRIANGLE) collapse if requested
Raúl Marín Rodríguez [Thu, 5 Sep 2019 17:10:57 +0000 (17:10 +0000)]
Make ST_Simplify(TRIANGLE) collapse if requested

References #4496
Closes https://github.com/postgis/postgis/pull/474

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

5 years agoMuck with stats message
Paul Ramsey [Thu, 5 Sep 2019 15:27:36 +0000 (15:27 +0000)]
Muck with stats message

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

5 years agoFix ST_SnapToGrid output having an outdated bbox
Raúl Marín Rodríguez [Mon, 2 Sep 2019 11:55:46 +0000 (11:55 +0000)]
Fix ST_SnapToGrid output having an outdated bbox

References #4495
Closes https://github.com/postgis/postgis/pull/473

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

5 years ago_postgis_drop_function_if_needed: Update ST_GeoJSON args
Raúl Marín Rodríguez [Fri, 30 Aug 2019 14:58:55 +0000 (14:58 +0000)]
_postgis_drop_function_if_needed: Update ST_GeoJSON args

Related to #4483

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

5 years agoFix ST_RemoveRepeatedPoints output having an outdated bbox
Raúl Marín Rodríguez [Fri, 30 Aug 2019 13:31:10 +0000 (13:31 +0000)]
Fix ST_RemoveRepeatedPoints output having an outdated bbox

References #4493
Closes https://github.com/postgis/postgis/pull/472

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

5 years agoFix ST_Simplify output having an outdated bbox
Raúl Marín Rodríguez [Thu, 29 Aug 2019 15:17:07 +0000 (15:17 +0000)]
Fix ST_Simplify output having an outdated bbox

References #4494

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

5 years agoFix ST_Simplify ignoring the value of the 3rd parameter
Raúl Marín Rodríguez [Thu, 29 Aug 2019 11:51:54 +0000 (11:51 +0000)]
Fix ST_Simplify ignoring the value of the 3rd parameter

References #4492
Closes https://github.com/postgis/postgis/pull/469

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

5 years agoBe less assertive in debug message printed when missing table stats
Sandro Santilli [Thu, 29 Aug 2019 08:59:26 +0000 (08:59 +0000)]
Be less assertive in debug message printed when missing table stats

... running ANALYZE won't always fix the missing stats

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

5 years agoExpand info about polygon orientation functions in 2.4 section
Sandro Santilli [Wed, 28 Aug 2019 14:37:34 +0000 (14:37 +0000)]
Expand info about polygon orientation functions in 2.4 section

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

5 years agoAdd availability info for orientation checking and forcing functions
Sandro Santilli [Wed, 28 Aug 2019 14:25:14 +0000 (14:25 +0000)]
Add availability info for orientation checking and forcing functions

These are:

 ST_IsPolygonCW
 ST_IsPolygonCCW
 ST_ForcePolygonCW
 ST_ForcePolygonCCW

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

5 years agoConfigure: Fix --with-wagyu flag
Raúl Marín Rodríguez [Mon, 26 Aug 2019 15:10:45 +0000 (15:10 +0000)]
Configure: Fix --with-wagyu flag

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

5 years agoLink AddTopoGeometryColumn to DropTopoGeometryColumn
Sandro Santilli [Mon, 26 Aug 2019 11:44:01 +0000 (11:44 +0000)]
Link AddTopoGeometryColumn to DropTopoGeometryColumn

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

5 years ago[drone] Reorganize configuration to use external script
Sandro Santilli [Fri, 23 Aug 2019 15:58:43 +0000 (15:58 +0000)]
[drone] Reorganize configuration to use external script

Also add installcheck step

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

5 years agoSupport 2D TINs in ST_3DIntersection
Darafei Praliaskouski [Fri, 23 Aug 2019 09:56:37 +0000 (09:56 +0000)]
Support 2D TINs in ST_3DIntersection

Brings TIN into dist2d calculation. Removes homebrew atan2.

Closes #4328
Closes https://github.com/postgis/postgis/pull/461

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

5 years ago[travis] Revert travis recipes modifications
Sandro Santilli [Fri, 23 Aug 2019 06:37:52 +0000 (06:37 +0000)]
[travis] Revert travis recipes modifications

This reverts commit dd601071c093c2233f3eeeba12af41373075bae8.
This reverts commit e8b5c3993e288e00a840b7a41f643901a280f5a9.

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

5 years agoReorder Makefile dependencies to avoid duplicated build
Sandro Santilli [Fri, 23 Aug 2019 06:37:42 +0000 (06:37 +0000)]
Reorder Makefile dependencies to avoid duplicated build

Mark most check targets as dependent on "all" rule

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

5 years ago[travis] More "make" before "make check"
Sandro Santilli [Thu, 22 Aug 2019 18:56:32 +0000 (18:56 +0000)]
[travis] More "make" before "make check"

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

5 years agoMove geobuf testing solely into configure
Paul Ramsey [Thu, 22 Aug 2019 18:27:44 +0000 (18:27 +0000)]
Move geobuf testing solely into configure

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

5 years ago[travis] don't assume "make check" will work parallel w/out "make"
Sandro Santilli [Thu, 22 Aug 2019 18:07:17 +0000 (18:07 +0000)]
[travis] don't assume "make check" will work parallel w/out "make"

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

5 years agoRemove apparently unhelpful dependency lines
Paul Ramsey [Thu, 22 Aug 2019 18:00:27 +0000 (18:00 +0000)]
Remove apparently unhelpful dependency lines

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

5 years agoAnd return to original form
Paul Ramsey [Thu, 22 Aug 2019 17:33:42 +0000 (17:33 +0000)]
And return to original form

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

5 years agoJust note needed libraries, don't be clever
Paul Ramsey [Thu, 22 Aug 2019 17:32:24 +0000 (17:32 +0000)]
Just note needed libraries, don't be clever

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

5 years agoBe explicit about how to build liblwgeom and libpgcommon libs
Paul Ramsey [Thu, 22 Aug 2019 17:23:29 +0000 (17:23 +0000)]
Be explicit about how to build liblwgeom and libpgcommon libs

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

5 years agoMove geobuf version test into one place and strip expr calls from makefiles
Paul Ramsey [Thu, 22 Aug 2019 16:33:42 +0000 (16:33 +0000)]
Move geobuf version test into one place and strip expr calls from makefiles

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

5 years agoQuote expr arguments, consistently use variables
Sandro Santilli [Thu, 22 Aug 2019 15:59:39 +0000 (15:59 +0000)]
Quote expr arguments, consistently use variables

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

5 years agoAdd support for extension sequences in create_unpackaged.pl
Sandro Santilli [Thu, 22 Aug 2019 14:59:53 +0000 (14:59 +0000)]
Add support for extension sequences in create_unpackaged.pl

Should fix topology dump-restore
References #4488

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

5 years agoSplit "check" into "check-regress" and "check-unit"
Sandro Santilli [Thu, 22 Aug 2019 13:36:59 +0000 (13:36 +0000)]
Split "check" into "check-regress" and "check-unit"

Makes "installcheck" only run "check-regress"

Closes #4487

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

5 years agoHave postgis_extensions_upgrade repackage topology as well
Sandro Santilli [Thu, 22 Aug 2019 12:13:42 +0000 (12:13 +0000)]
Have postgis_extensions_upgrade repackage topology as well

Closes #4486
References #2503

See failure here:
https://gitlab.com/postgis/postgis/-/jobs/277847404

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

5 years ago[gitlab-ci] Use env variable rather than make parameter, for RUNTESTFLAGS
Sandro Santilli [Thu, 22 Aug 2019 11:44:26 +0000 (11:44 +0000)]
[gitlab-ci] Use env variable rather than make parameter, for RUNTESTFLAGS

I suspect gitlab-ci provided make is not compatible with parameter

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

5 years ago[HOWTO_RELEASE] Add note that bots need to be all green for release
Sandro Santilli [Thu, 22 Aug 2019 09:21:08 +0000 (09:21 +0000)]
[HOWTO_RELEASE] Add note that bots need to be all green for release

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

5 years agocheck-all-upgrades: stop checking upgrades from latest unpackaged
Sandro Santilli [Thu, 22 Aug 2019 09:20:59 +0000 (09:20 +0000)]
check-all-upgrades: stop checking upgrades from latest unpackaged

... as this is already done by 'make installcheck'

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

5 years agoHave 'installcheck' also check with upgrade-from-function
Sandro Santilli [Thu, 22 Aug 2019 09:20:50 +0000 (09:20 +0000)]
Have 'installcheck' also check with upgrade-from-function

Closes #4485

Adds an installcheck-upgrade-byfunc target,
dependency of installcheck-upgrade

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

5 years ago[run_test] Allow requesting function upgrade also w/out :auto
Sandro Santilli [Thu, 22 Aug 2019 09:20:42 +0000 (09:20 +0000)]
[run_test] Allow requesting function upgrade also w/out :auto

Append an exlamation mark to any target version in upgrade-path
to request upgrade via function...

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

5 years ago[check-all-upgrades] Fix retrival of :auto version
Sandro Santilli [Thu, 22 Aug 2019 06:47:50 +0000 (06:47 +0000)]
[check-all-upgrades] Fix retrival of :auto version

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

5 years ago[run_test] Fix logic for use postgis_extension_upgrade()
Sandro Santilli [Wed, 21 Aug 2019 08:57:18 +0000 (08:57 +0000)]
[run_test] Fix logic for use postgis_extension_upgrade()

The version before 3.0.0 did not repackage extensions, so we still
need to do the packaging ourselves.

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

5 years agoDocument that postgis_extensions_upgrade re-pakcages from 3.0.0
Sandro Santilli [Wed, 21 Aug 2019 08:57:10 +0000 (08:57 +0000)]
Document that postgis_extensions_upgrade re-pakcages from 3.0.0

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

5 years ago[run_test.pl] Allow using postgis_extensions_upgrade from unpackaged
Sandro Santilli [Wed, 21 Aug 2019 07:28:00 +0000 (07:28 +0000)]
[run_test.pl] Allow using postgis_extensions_upgrade from unpackaged

And warn when it cannot be used due to too old source version.

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

5 years agoRemove 32-bit build warnings
Paul Ramsey [Tue, 20 Aug 2019 22:02:28 +0000 (22:02 +0000)]
Remove 32-bit build warnings

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

5 years agorun_test.pl: always repackage raster when upgrading via function
Sandro Santilli [Tue, 20 Aug 2019 19:29:09 +0000 (19:29 +0000)]
run_test.pl: always repackage raster when upgrading via function

This is because the upgrade function invoked may be coming from the
a pre-split version and thus not know anything about repackaging.

See #4485

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

5 years agoReplace aliasing with memcpy
Paul Ramsey [Tue, 20 Aug 2019 18:33:34 +0000 (18:33 +0000)]
Replace aliasing with memcpy
References #4319

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

5 years agoQuiet warnings from centos 6 build
Paul Ramsey [Tue, 20 Aug 2019 18:33:00 +0000 (18:33 +0000)]
Quiet warnings from centos 6 build

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

5 years agoChange run-time endianness checks to compile-time
Paul Ramsey [Tue, 20 Aug 2019 16:01:52 +0000 (16:01 +0000)]
Change run-time endianness checks to compile-time
Leave 3rd party code unchanged
Closes #4439

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

5 years ago[check_all_upgrades] support :auto and :auto! upgrade targets
Sandro Santilli [Tue, 20 Aug 2019 15:17:36 +0000 (15:17 +0000)]
[check_all_upgrades] support :auto and :auto! upgrade targets

See #4485

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

5 years agoAdd support for :auto and :auto! upgrade-path targets in run_test.pl
Sandro Santilli [Tue, 20 Aug 2019 15:17:14 +0000 (15:17 +0000)]
Add support for :auto and :auto! upgrade-path targets in run_test.pl

The former will request upgrading to default version, the latter
to do so using the postgis_extension_upgrade() function.

See #4485

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

5 years agoUpdate postgis_extensions_upgrade docs to reflect new return value
Sandro Santilli [Tue, 20 Aug 2019 14:03:39 +0000 (14:03 +0000)]
Update postgis_extensions_upgrade docs to reflect new return value

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

5 years agoAdd test for postgis_full_version()
Sandro Santilli [Tue, 20 Aug 2019 11:38:06 +0000 (11:38 +0000)]
Add test for postgis_full_version()

Closes #4485

NOTE: the test is only included in the core tests, might need to
      be replicated for sfcgal/topology/raster

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

5 years agoSimplify perl code
Sandro Santilli [Tue, 20 Aug 2019 11:37:50 +0000 (11:37 +0000)]
Simplify perl code

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

5 years agooss-fuzz: add geojson seed corpus.
Darafei Praliaskouski [Tue, 20 Aug 2019 11:06:18 +0000 (11:06 +0000)]
oss-fuzz: add geojson seed corpus.

Closes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=16564

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

5 years agoFix perl syntax
Sandro Santilli [Tue, 20 Aug 2019 09:24:39 +0000 (09:24 +0000)]
Fix perl syntax

Can't "last" outside a loop block ...

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

5 years ago[check_all_upgrades] Test upgrades from old versions unpackaged
Sandro Santilli [Tue, 20 Aug 2019 09:03:46 +0000 (09:03 +0000)]
[check_all_upgrades] Test upgrades from old versions unpackaged

See #4485

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

5 years ago[run_test] Add support for upgrading from unpackaged<version>
Sandro Santilli [Tue, 20 Aug 2019 09:03:36 +0000 (09:03 +0000)]
[run_test] Add support for upgrading from unpackaged<version>

See #4485

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

5 years agoFix typo
Sandro Santilli [Mon, 19 Aug 2019 20:19:08 +0000 (20:19 +0000)]
Fix typo

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

5 years agoChange 'protobuf version' to protobuf-c to be more explicit
Paul Ramsey [Mon, 19 Aug 2019 16:14:47 +0000 (16:14 +0000)]
Change 'protobuf version' to protobuf-c to be more explicit

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

5 years ago[doc] geometry polygon ST_Intersects example
Darafei Praliaskouski [Sun, 18 Aug 2019 12:55:01 +0000 (12:55 +0000)]
[doc] geometry polygon ST_Intersects example

Closes #4248

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

5 years agopostgis_sfcgal_noop().
Darafei Praliaskouski [Sun, 18 Aug 2019 12:18:59 +0000 (12:18 +0000)]
postgis_sfcgal_noop().

Patch by Lucas C. Villa Real <lucasvr@br.ibm.com>, tweaks by Darafei Praliaskouski

Closes #3979

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

5 years agoOSS Fuzz for geojson.
Darafei Praliaskouski [Sun, 18 Aug 2019 11:27:31 +0000 (11:27 +0000)]
OSS Fuzz for geojson.

Enable allocation testing for other fuzzers.

Closes #4387
Closes https://github.com/postgis/postgis/pull/462

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

5 years agoTry and harmonize function parameter names for ST_AsGEoJSON(record)
Paul Ramsey [Fri, 16 Aug 2019 21:26:05 +0000 (21:26 +0000)]
Try and harmonize function parameter names for ST_AsGEoJSON(record)
References #4483

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

5 years agoRemove SRID error lines because that's a silly thing to test
Paul Ramsey [Thu, 15 Aug 2019 19:43:53 +0000 (19:43 +0000)]
Remove SRID error lines because that's a silly thing to test

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

5 years agoGuard against reading into pointarrays when size of array == 0
Paul Ramsey [Thu, 15 Aug 2019 17:00:19 +0000 (17:00 +0000)]
Guard against reading into pointarrays when size of array == 0

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