]> granicus.if.org Git - postgis/log
postgis
5 years agoUse `server_version_num` instead of parsing `version()`
Raúl Marín Rodríguez [Fri, 18 Jan 2019 17:25:55 +0000 (17:25 +0000)]
Use `server_version_num` instead of parsing `version()`

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

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

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

References #4275

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

References #4300

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

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

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

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

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

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

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

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

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

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

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

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

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

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

It appeared when investigating #4298

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

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

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

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

Closes #4297

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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