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

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

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

Initial patch by Laurenz Albe
References #4313

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Closes #4280

Gives us:

 PostgreSQL 11.1
 GDAL 2.4.0
 GEOS 3.7.1
 PROJ 5.2.0

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

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

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

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

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

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

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

Closes #4306

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

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

References #4260

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

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

We should only care about uninstalled libraries (liblwgeom)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

References #4275

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

References #4300

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

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

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

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

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

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

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

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

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

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

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

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

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

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

It appeared when investigating #4298

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

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

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

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

Closes #4297

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

5 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