]> granicus.if.org Git - postgis/log
postgis
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

5 years agoChange point-in-cone routine to be more tolerant
Paul Ramsey [Fri, 11 Jan 2019 21:07:17 +0000 (21:07 +0000)]
Change point-in-cone routine to be more tolerant
of narrow edges, and hopefully more robust.
References #4290

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

5 years agoST_AsMVT: parse JSON numeric values with decimals as doubles
Raúl Marín Rodríguez [Fri, 11 Jan 2019 12:33:56 +0000 (12:33 +0000)]
ST_AsMVT: parse JSON numeric values with decimals as doubles

References #4292
Closes https://github.com/postgis/postgis/pull/357

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

5 years agoFix memory leak in error case when valid
Paul Ramsey [Thu, 10 Jan 2019 18:03:58 +0000 (18:03 +0000)]
Fix memory leak in error case when valid
object is followed by junk text
References #4273

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

5 years agoFix other test cases and move change closer to
Paul Ramsey [Wed, 9 Jan 2019 19:43:03 +0000 (19:43 +0000)]
Fix other test cases and move change closer to
the problem.
References #4273

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

5 years agoTighten up parsing to account for strings
Paul Ramsey [Wed, 9 Jan 2019 16:42:23 +0000 (16:42 +0000)]
Tighten up parsing to account for strings
with junk after valid geometry
References #4273

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

5 years agoRe-order linker flags for those systems that have old headers installed in system...
Paul Ramsey [Tue, 8 Jan 2019 16:48:53 +0000 (16:48 +0000)]
Re-order linker flags for those systems that have old headers installed in system locations

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

5 years agoSet the default maxvertices for subdivide to be 128,
Paul Ramsey [Fri, 4 Jan 2019 19:17:41 +0000 (19:17 +0000)]
Set the default maxvertices for subdivide to be 128,
so that we don't accidentally create subdivided
geometries that still push us over the page size

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

6 years agoFlip back to GEOS 3.7 for winnie to prevent test hanging.
Regina Obe [Sat, 29 Dec 2018 22:25:37 +0000 (22:25 +0000)]
Flip back to GEOS 3.7 for winnie to prevent test hanging.
References #4284

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

6 years agoAdd in legacy stub for LWGEOMFromWKB which was removed in PostGIS 2.1 (this will...
Regina Obe [Fri, 28 Dec 2018 18:58:00 +0000 (18:58 +0000)]
Add in legacy stub for LWGEOMFromWKB which was removed in PostGIS 2.1 (this will allow 2.1 users to symlink to a 3.0 hopefully) and upgrade

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

6 years agoFix infinite loop when linearizing circles
Daniel Baston [Thu, 27 Dec 2018 17:20:49 +0000 (17:20 +0000)]
Fix infinite loop when linearizing circles

Resolves #4282

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

6 years agoFix so custom --projdir configure switch works again.
Regina Obe [Wed, 26 Dec 2018 03:55:18 +0000 (03:55 +0000)]
Fix so custom --projdir configure switch works again.
References #4279 for PostGIS 3.0

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

6 years agoBump SFCGAL to 1.3.1
Darafei Praliaskouski [Fri, 21 Dec 2018 05:50:11 +0000 (05:50 +0000)]
Bump SFCGAL to 1.3.1

Closes #4268
Closes https://github.com/postgis/postgis/pull/353

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

6 years agorevert accidential trunk commit of broken raster doc in r17114
Darafei Praliaskouski [Fri, 21 Dec 2018 05:44:21 +0000 (05:44 +0000)]
revert accidential trunk commit of broken raster doc in r17114

References #4276

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

6 years ago[doc] ST_AsGeoJSON doc refresh
Darafei Praliaskouski [Fri, 21 Dec 2018 05:36:59 +0000 (05:36 +0000)]
[doc] ST_AsGeoJSON doc refresh

Closes #4276
Closes https://github.com/postgis/postgis/pull/355

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

6 years agoAttribute Raúl Marín for help resolving build issue.
Darafei Praliaskouski [Mon, 17 Dec 2018 10:42:11 +0000 (10:42 +0000)]
Attribute Raúl Marín for help resolving build issue.

References #4254

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

6 years agoSupport Proj 6. Support is via legacy API, we need to redesign for non-legacy and...
Darafei Praliaskouski [Mon, 17 Dec 2018 10:31:51 +0000 (10:31 +0000)]
Support Proj 6. Support is via legacy API, we need to redesign for non-legacy and Proj 7.

Closes #4254
Closes https://github.com/postgis/postgis/pull/354

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

6 years agoRemove GEOS < 3.6 mentions from code and docs.
Darafei Praliaskouski [Mon, 17 Dec 2018 06:37:39 +0000 (06:37 +0000)]
Remove GEOS < 3.6 mentions from code and docs.

Closes #4267
Closes https://github.com/postgis/postgis/pull/352

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

6 years agoRemove stray uncommented line while removing GEOS 3.5 check
Darafei Praliaskouski [Sun, 16 Dec 2018 15:42:04 +0000 (15:42 +0000)]
Remove stray uncommented line while removing GEOS 3.5 check

References #4267

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

6 years agoBump minimum GEOS version to 3.6
Regina Obe [Fri, 14 Dec 2018 19:50:23 +0000 (19:50 +0000)]
Bump minimum GEOS version to 3.6
Closes #4267

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

6 years agochange "vacuum analyze verbose" to "vacuum (analyze, verbose)" - the old syntax...
Regina Obe [Thu, 13 Dec 2018 06:43:36 +0000 (06:43 +0000)]
change "vacuum analyze verbose" to  "vacuum (analyze, verbose)" -   the old syntax was removed in PostgreSQL 11

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

6 years agoFlip to testing GEOS 3.8 for winnie
Regina Obe [Wed, 12 Dec 2018 06:04:16 +0000 (06:04 +0000)]
Flip to testing GEOS 3.8 for winnie

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

6 years agoRemove SFCGAL concave_hull tests.
Darafei Praliaskouski [Tue, 4 Dec 2018 20:30:22 +0000 (20:30 +0000)]
Remove SFCGAL concave_hull tests.

References #4258

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

6 years agoRemove tickets.sql for SFCGAL.
Darafei Praliaskouski [Tue, 4 Dec 2018 20:03:09 +0000 (20:03 +0000)]
Remove tickets.sql for SFCGAL.

They're same as geos now anyway, no need to test twice.

References #4258

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

6 years agoRemove SFCGAL 2D overlay functions.
Darafei Praliaskouski [Tue, 4 Dec 2018 19:39:28 +0000 (19:39 +0000)]
Remove SFCGAL 2D overlay functions.

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

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

6 years agoBuild process needs presence of install: and uninstall: targets
Darafei Praliaskouski [Mon, 3 Dec 2018 22:16:33 +0000 (22:16 +0000)]
Build process needs presence of install: and uninstall: targets

References #4260

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

6 years agoDon't install liblwgeom.
Darafei Praliaskouski [Mon, 3 Dec 2018 20:31:57 +0000 (20:31 +0000)]
Don't install liblwgeom.

Closes https://github.com/postgis/postgis/pull/348
Closes #4260

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

6 years agoST_3DLineInterpolatePoint.
Darafei Praliaskouski [Mon, 3 Dec 2018 20:16:40 +0000 (20:16 +0000)]
ST_3DLineInterpolatePoint.

Patch by Julien Cabieces and Vincent Mora.

Closes #2645
Closes #4171
Closes https://github.com/postgis/postgis/pull/344
Closes https://github.com/postgis/postgis/pull/346

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

6 years agoRemove knn tests
Darafei Praliaskouski [Mon, 3 Dec 2018 20:08:58 +0000 (20:08 +0000)]
Remove knn tests

Closes #4229

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

6 years agoRemove support for Postgres < 9.5.
Darafei Praliaskouski [Mon, 3 Dec 2018 09:03:57 +0000 (09:03 +0000)]
Remove support for Postgres < 9.5.

Closes https://github.com/postgis/postgis/pull/349
Closes #4229

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

6 years agoRemove SFCGAL ST_Distance
Darafei Praliaskouski [Sat, 1 Dec 2018 21:22:42 +0000 (21:22 +0000)]
Remove SFCGAL ST_Distance

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

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

6 years ago[format] clang-format files touched in SFCGAL relayout
Darafei Praliaskouski [Fri, 30 Nov 2018 18:00:34 +0000 (18:00 +0000)]
[format] clang-format files touched in SFCGAL relayout

References #4258

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

6 years agoSFCGAL: remove ST_Area SFCGAL implementation
Darafei Praliaskouski [Fri, 30 Nov 2018 17:25:51 +0000 (17:25 +0000)]
SFCGAL: remove ST_Area SFCGAL implementation

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

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

6 years agopostgis_legacy.c: use #define's
Darafei Praliaskouski [Fri, 30 Nov 2018 17:01:32 +0000 (17:01 +0000)]
postgis_legacy.c: use #define's

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

6 years agoRemove duplicated flag documentation [ci skip]
Daniel Baston [Fri, 30 Nov 2018 15:47:32 +0000 (15:47 +0000)]
Remove duplicated flag documentation [ci skip]

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

6 years agoCorrect referenfce in NEWS file
Raúl Marín Rodríguez [Thu, 29 Nov 2018 11:10:46 +0000 (11:10 +0000)]
Correct referenfce in NEWS file

References #4262

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

6 years agoDocument MULTISURFACE compatibility of ST_LineToCurve
Raúl Marín Rodríguez [Thu, 29 Nov 2018 09:31:43 +0000 (09:31 +0000)]
Document MULTISURFACE compatibility of ST_LineToCurve

Patch by Steven Ottens

Closes #4162
Closes https://github.com/postgis/postgis/pull/343

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

6 years agoInclude liblwgeom first
Raúl Marín Rodríguez [Thu, 29 Nov 2018 09:19:57 +0000 (09:19 +0000)]
Include liblwgeom first

Ported from r16813 (2.5)
References #4180
References #4260

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

6 years agoAdd in raster, sfcgal, and topology test outputs (revisit later to trim output)
Regina Obe [Wed, 28 Nov 2018 21:13:33 +0000 (21:13 +0000)]
Add in raster, sfcgal, and topology test outputs (revisit later to trim output)

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

6 years agoUpdate PostgreSQL note about lowest minor supported, add updated output of tests...
Regina Obe [Wed, 28 Nov 2018 20:58:57 +0000 (20:58 +0000)]
Update PostgreSQL note about lowest minor supported, add updated output of tests, minor casing fix on NEWS

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

6 years agoChange test condition to isempty
Paul Ramsey [Tue, 27 Nov 2018 00:23:41 +0000 (00:23 +0000)]
Change test condition to isempty
Closes #4245

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

6 years ago[doc] Let people know about EWKT in UpdateGeometrySRID
Darafei Praliaskouski [Mon, 26 Nov 2018 16:31:20 +0000 (16:31 +0000)]
[doc] Let people know about EWKT in UpdateGeometrySRID

Closes #4224

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

6 years agoRemove functions moved to postgis_legacy.c
Regina Obe [Sun, 25 Nov 2018 08:37:50 +0000 (08:37 +0000)]
Remove functions moved to postgis_legacy.c
References #4193 for PostGIS 3.0 (trunk)

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

6 years agoCreate rt_legacy.c and postgis_legacy.c put back functions taken out in 2.5 and put...
Regina Obe [Sun, 25 Nov 2018 04:35:17 +0000 (04:35 +0000)]
Create rt_legacy.c and postgis_legacy.c put back functions taken out in 2.5 and put them in these files.  Stub them with errors.
Still need to check 2.1 - 2.4 for things we might have taken out (only test pg_upgrade from 9.4 2.4 to 11 3.0 which failed with 3.0 needs dump restore)
References #4193 for PostGIS 3.0 (trunk)

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

6 years agoAdd in upgrade path for recently released 2.2.8, 2.3.8, 2.4.6, and 2.5.1
Regina Obe [Sun, 25 Nov 2018 01:33:04 +0000 (01:33 +0000)]
Add  in upgrade path for recently released 2.2.8, 2.3.8, 2.4.6, and 2.5.1

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

6 years agoStabilize GiST ND indexes for mixed dimensions
Darafei Praliaskouski [Sat, 24 Nov 2018 09:30:36 +0000 (09:30 +0000)]
Stabilize GiST ND indexes for mixed dimensions

Patch by Darafei Praliaskouski

Thanks to
 Arthur Lesuisse for synthesizing test case,
 Andrew Gierth for finding runaway memcpy,
 Raúl Marín for pointing to memory problem in index construction.

This is not backpatchable to 2.x, that requires separate solution.

References #4139
Closes https://github.com/postgis/postgis/pull/336

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

6 years agoGet rid of use of oids in topology regress was taken out in PostgreSQL 12.
Regina Obe [Fri, 23 Nov 2018 17:01:19 +0000 (17:01 +0000)]
Get rid of use of oids in topology regress was taken out in PostgreSQL 12.
References #4251 for PostGIS 3.0

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

6 years agoAvoid unaligned memory access in BOX2D_out
Raúl Marín Rodríguez [Thu, 22 Nov 2018 16:18:14 +0000 (16:18 +0000)]
Avoid unaligned memory access in BOX2D_out

Also enables UBSan in Travis runs for topology

Closes #4244
Closes https://github.com/postgis/postgis/pull/342

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

6 years agoTravis: Add missing task file
Raúl Marín Rodríguez [Thu, 22 Nov 2018 15:24:41 +0000 (15:24 +0000)]
Travis: Add missing task file

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

6 years agoTravis: Run CI under clang's ubsan
Raúl Marín Rodríguez [Thu, 22 Nov 2018 15:19:44 +0000 (15:19 +0000)]
Travis: Run CI under clang's ubsan

References #4244
Closes https://github.com/postgis/postgis/pull/337

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

6 years agoFix undefined behaviour in ST_3DDistance
Raúl Marín Rodríguez [Thu, 22 Nov 2018 13:44:47 +0000 (13:44 +0000)]
Fix undefined behaviour in ST_3DDistance

Closes #4246
Closes https://github.com/postgis/postgis/pull/338

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

6 years agoReplace pg_constraint.consrc for pg_get_constraintdef fix for topology
Regina Obe [Thu, 22 Nov 2018 07:33:52 +0000 (07:33 +0000)]
Replace pg_constraint.consrc for pg_get_constraintdef  fix for topology
References #4231 for PostGIS 3.0.0

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

6 years agoUniformize how PGXS is used
Raúl Marín Rodríguez [Wed, 21 Nov 2018 16:21:52 +0000 (16:21 +0000)]
Uniformize how PGXS is used

Closes #4250
Closes https://github.com/postgis/postgis/pull/341

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

6 years agoFix undefined behaviour in raster intersection
Raúl Marín Rodríguez [Wed, 21 Nov 2018 14:14:01 +0000 (14:14 +0000)]
Fix undefined behaviour in raster intersection

Closes #4249
Closes https://github.com/postgis/postgis/pull/340

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

6 years agoAvoid undefined behaviour in next_float functions (Raúl Marín)
Raúl Marín Rodríguez [Wed, 21 Nov 2018 11:46:43 +0000 (11:46 +0000)]
Avoid undefined behaviour in next_float functions (Raúl Marín)

Closes #4247
Closes https://github.com/postgis/postgis/pull/339

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

6 years agoTravis: Run CI under GCC's undefined behavior sanitizer
Raúl Marín Rodríguez [Mon, 19 Nov 2018 16:21:03 +0000 (16:21 +0000)]
Travis: Run CI under GCC's undefined behavior sanitizer

References #4244
Closes https://github.com/postgis/postgis/pull/335

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

6 years agoFix undefined behaviour in gserialized_spgist_picksplit_nd
Raúl Marín Rodríguez [Mon, 19 Nov 2018 14:27:33 +0000 (14:27 +0000)]
Fix undefined behaviour in gserialized_spgist_picksplit_nd

Closes #4233
Closes https://github.com/postgis/postgis/pull/331

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

6 years agoOne more error in raster change - hopefully this is it
Regina Obe [Mon, 19 Nov 2018 01:12:55 +0000 (01:12 +0000)]
One more error in raster change - hopefully this is it
References #4231 for PostGIS 3.0

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

6 years agoRevert accidental commit
Regina Obe [Mon, 19 Nov 2018 00:07:39 +0000 (00:07 +0000)]
Revert accidental commit
References #4231 for PostGIS 3.0

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

6 years agoPut back deprecated functions removed in r17029, but patch them to use newer pg_get_c...
Regina Obe [Sun, 18 Nov 2018 23:57:16 +0000 (23:57 +0000)]
Put back deprecated functions removed in r17029, but patch them to use newer pg_get_constraintdef function.
Also mark them as undeprecated cause they are used in other management functions, and it's too messy to change those to use teh raw sql.
We maybe stuck with these forever :(
Closes #4243 for PostGIS 3.0

Also fix error in raster patching
References #4231 for PostGIS 3.0

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

6 years agoRemove deprecated functions postgis_constraint_srid, postgis_constraint_dims, postgis...
Regina Obe [Sun, 18 Nov 2018 23:12:34 +0000 (23:12 +0000)]
Remove deprecated functions postgis_constraint_srid, postgis_constraint_dims, postgis_constraint_type
Replace use of pg_constraint.consrc with ​pg_get_constraintdef(oid) pg_constraint.consrc was removed in PostgreSQL 12 and pg_get_constraintdef function has existed at least since PostgreSQL 9.4 (our lowest supported for 2.5), so safe to use across all our supported versions
References #4321 for PostGIS 3.0

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

6 years agoAvoid undefined behaviour in gserialized_estimate
Raúl Marín Rodríguez [Thu, 15 Nov 2018 16:10:36 +0000 (16:10 +0000)]
Avoid undefined behaviour in gserialized_estimate

Closes #4190
Closes https://github.com/postgis/postgis/pull/315

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

6 years agoAllocate enough memory in gidx_to_string
Raúl Marín Rodríguez [Thu, 15 Nov 2018 09:08:17 +0000 (09:08 +0000)]
Allocate enough memory in gidx_to_string

Close #4236

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

6 years agoDocument maxerr in ST_Rescale.
Darafei Praliaskouski [Wed, 14 Nov 2018 13:38:10 +0000 (13:38 +0000)]
Document maxerr in ST_Rescale.

Patch by Sunveer Singh.

Closes https://github.com/postgis/postgis/pull/334
Closes #2921

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

6 years ago[travis] Build coverage and debug builds in separate jobs
Darafei Praliaskouski [Tue, 13 Nov 2018 21:56:56 +0000 (21:56 +0000)]
[travis] Build coverage and debug builds in separate jobs

Makes builds twice as fast.

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

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

6 years ago[drone] Don't test PostGIS 3.0 on Postgres 9.4
Darafei Praliaskouski [Tue, 13 Nov 2018 20:41:38 +0000 (20:41 +0000)]
[drone] Don't test PostGIS 3.0 on Postgres 9.4

References #4230

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

6 years ago[travis] run debug build in parallel
Darafei Praliaskouski [Tue, 13 Nov 2018 20:40:37 +0000 (20:40 +0000)]
[travis] run debug build in parallel

References #4235

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

6 years agoSP-GiST within got into 3.0.0 not 2.5.0.
Darafei Praliaskouski [Tue, 13 Nov 2018 19:47:59 +0000 (19:47 +0000)]
SP-GiST within got into 3.0.0 not 2.5.0.

References #4230

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

6 years agoMake Travis catch compilation errors with debug logging enabled
Daniel Baston [Tue, 13 Nov 2018 12:59:41 +0000 (12:59 +0000)]
Make Travis catch compilation errors with debug logging enabled

References #4235
Closes https://github.com/postgis/postgis/pull/330

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

6 years agoRemove ISFINITE macros
Raúl Marín Rodríguez [Tue, 13 Nov 2018 11:10:07 +0000 (11:10 +0000)]
Remove ISFINITE macros

No longer needed since gnu99 is mandatory

Closes #4234

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

6 years agoUn-break build with debug logs
Raúl Marín Rodríguez [Tue, 13 Nov 2018 10:49:06 +0000 (10:49 +0000)]
Un-break build with debug logs

Related to #4235

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

6 years agoUpgrade script generator fix
Darafei Praliaskouski [Tue, 13 Nov 2018 07:17:28 +0000 (07:17 +0000)]
Upgrade script generator fix

References #4230

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

6 years agoST_Scale: Document the availability of the origin parameter
Raúl Marín Rodríguez [Mon, 12 Nov 2018 09:16:08 +0000 (09:16 +0000)]
ST_Scale: Document the availability of the origin parameter

Closes #4232

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

6 years agoGiST and SP-GiST GiST and SP-GiST n-D indexes (based on GIDX) with overlaps, contains...
Darafei Praliaskouski [Sun, 11 Nov 2018 10:55:03 +0000 (10:55 +0000)]
GiST and SP-GiST GiST and SP-GiST n-D indexes (based on GIDX) with overlaps, contains, within, and equals operators

Files not added in previous commit.

Patch by Esteban Zimányi and Arthur Lesuisse from Université Libre de Bruxelles (ULB)

Closes #4230

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

6 years agoGiST and SP-GiST n-D indexes (based on GIDX) with overlaps, contains, within, and...
Darafei Praliaskouski [Sun, 11 Nov 2018 10:39:57 +0000 (10:39 +0000)]
GiST and SP-GiST n-D indexes (based on GIDX) with overlaps, contains, within, and equals operators

Patch by Esteban Zimányi and Arthur Lesuisse from Université Libre de Bruxelles (ULB)

Closes https://github.com/postgis/postgis/pull/327
Closes https://github.com/postgis/postgis/pull/293
Closes #4230

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

6 years agoSpecified 1-indexing in ST_SetValues
Darafei Praliaskouski [Sun, 11 Nov 2018 10:26:13 +0000 (10:26 +0000)]
Specified 1-indexing in ST_SetValues

Patch by Sunveer Singh

Closes https://github.com/postgis/postgis/pull/328
Closes #2835

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

6 years agoFix new GCC warnings.
Darafei Praliaskouski [Sun, 11 Nov 2018 10:00:30 +0000 (10:00 +0000)]
Fix new GCC warnings.

Updating GCC on travis to Debian Unstable exposed strncpy and if body alignment warnings.

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

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

6 years agoImpose min number of segments per arc during linearization
Daniel Baston [Thu, 8 Nov 2018 12:14:54 +0000 (12:14 +0000)]
Impose min number of segments per arc during linearization

This commit sets a fixed minimum of two segments per non-circular arc and three
segments per circular arc.

Funded by City of Helsinki.

Fixes #3719
Closes https://github.com/postgis/postgis/pull/320

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

6 years agoDocumentation for AddRasterConstraint optional parameters
Darafei Praliaskouski [Thu, 8 Nov 2018 06:56:40 +0000 (06:56 +0000)]
Documentation for AddRasterConstraint optional parameters

Patch by Sunveer Singh

Closes #2767
Closes https://github.com/postgis/postgis/pull/325

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

6 years agoHonestly, trailing spaces?
Paul Ramsey [Wed, 7 Nov 2018 15:40:20 +0000 (15:40 +0000)]
Honestly, trailing spaces?

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

6 years agoAdd missing schema qualifications for raster _ST_Intersects
Regina Obe [Wed, 7 Nov 2018 15:37:42 +0000 (15:37 +0000)]
Add missing schema qualifications for raster _ST_Intersects
references #4129 for PostGIS 3.0

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

6 years agoMention how to use psql environment variables in long install version and how to...
Regina Obe [Wed, 7 Nov 2018 15:08:22 +0000 (15:08 +0000)]
Mention how to use psql environment variables in long install version and how to test extensions.
References #2214 for PostGIS 3.0

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

6 years agoMove to "postgis blue" #468
Paul Ramsey [Tue, 6 Nov 2018 20:30:16 +0000 (20:30 +0000)]
Move to "postgis blue" #468

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

6 years agoPatch over bad behaviour for near-parallel boxes and distancetree.
Paul Ramsey [Mon, 5 Nov 2018 22:41:31 +0000 (22:41 +0000)]
Patch over bad behaviour for near-parallel boxes and distancetree.
Unfortunately, this "fix" is probably breakable, just put the boxes closer and closer together until we get "close enough to be the same" results from the edge normal comparison again. Only way around this is to do dot product and comparisons in higher-than-double space
References #4223

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

6 years agoFlip tiger loading to load 2018, also switched to ftp site from www because even...
Regina Obe [Sun, 4 Nov 2018 19:41:49 +0000 (19:41 +0000)]
Flip tiger loading to load 2018, also switched to ftp site from www because even though it blocks, it at leasts waits instead of returning a 503 error. So far doesn't look like any changes, but still testing to confirm

References #4225

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

6 years agoAdd links from loader generate state and nation to corresponding drop table scripts
Regina Obe [Sun, 4 Nov 2018 09:36:57 +0000 (09:36 +0000)]
Add links from loader generate state and nation to corresponding drop table scripts

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

6 years agoTry for a responsive font size?
Paul Ramsey [Fri, 2 Nov 2018 22:15:13 +0000 (22:15 +0000)]
Try for a responsive font size?

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

6 years agoFix sfcgal regress failure - Delete 4326 entry before readding. Also use integer...
Regina Obe [Wed, 31 Oct 2018 03:25:23 +0000 (03:25 +0000)]
Fix sfcgal regress failure - Delete 4326 entry before readding. Also use integer format instead of string format.
References #4210

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

6 years agoIgnore docbook.css
Paul Ramsey [Tue, 30 Oct 2018 21:37:12 +0000 (21:37 +0000)]
Ignore docbook.css

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

6 years agoChange to use chunked-html-web version to log doc stats complement to r16960
Regina Obe [Tue, 30 Oct 2018 18:40:53 +0000 (18:40 +0000)]
Change to use chunked-html-web version to log doc stats complement to r16960

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

6 years agoAdd env vars to control valgrind for cunit tests
Daniel Baston [Tue, 30 Oct 2018 18:18:06 +0000 (18:18 +0000)]
Add env vars to control  valgrind for cunit tests

Valgrind will be run with CUNIT_VALGRIND_FLAGS when
CUNIT_WITH_VALGRIND is set to YES.

Also update the Travis configuration to use valgrind.

Closes #4219
Closes https://github.com/postgis/postgis/pull/323

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

6 years agoTidy lwline_clip_to_ordinate_range
Darafei Praliaskouski [Tue, 30 Oct 2018 02:57:55 +0000 (02:57 +0000)]
Tidy lwline_clip_to_ordinate_range

Fix memory leak.

Closes #4218
Closes https://github.com/postgis/postgis/pull/324

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

6 years agoMore style tweaks and add 'chucked-html-web' target for
Paul Ramsey [Mon, 29 Oct 2018 22:20:48 +0000 (22:20 +0000)]
More style tweaks and add 'chucked-html-web' target for
building ref docs with google analytics code embedded

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