]> granicus.if.org Git - postgis/log
postgis
6 years agoST_ClipByBox2D: Do not throw when the geometry is invalid
Raúl Marín Rodríguez [Wed, 30 Jan 2019 19:17:05 +0000 (19:17 +0000)]
ST_ClipByBox2D: Do not throw when the geometry is invalid

Closes #4314

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

6 years agoPG12 compat: Remove unnecessary header include (tqual.h)
Raúl Marín Rodríguez [Fri, 25 Jan 2019 11:52:33 +0000 (11:52 +0000)]
PG12 compat: Remove unnecessary header include (tqual.h)

Closes #4307

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

6 years agoPartially revert r17180
Raúl Marín Rodríguez [Tue, 22 Jan 2019 09:09:35 +0000 (09:09 +0000)]
Partially revert r17180

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/branches/2.5@17206 b70326c6-7e19-0410-871a-916f4a2858ee

6 years agoSync generated parser to y file, using newer bison version
Paul Ramsey [Mon, 21 Jan 2019 19:52:16 +0000 (19:52 +0000)]
Sync generated parser to y file, using newer bison version

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

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

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

6 years agoActually put fix for #4273 in the right place
Paul Ramsey [Mon, 21 Jan 2019 19:24:22 +0000 (19:24 +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/branches/2.5@17194 b70326c6-7e19-0410-871a-916f4a2858ee

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

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

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

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

6 years agoMore robust geography distance
Paul Ramsey [Fri, 18 Jan 2019 18:02:30 +0000 (18:02 +0000)]
More robust geography distance
References #4290

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

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

References #4296

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

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

References #4275

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

6 years agoCorrect issue reference from previous commit
Raúl Marín Rodríguez [Fri, 18 Jan 2019 11:56:39 +0000 (11:56 +0000)]
Correct issue reference from previous commit

References #4289

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

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

References #4300

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

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

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

6 years agoST_Subdivide endless loop on coordinates near coincident to bounds
Darafei Praliaskouski [Thu, 17 Jan 2019 11:32:27 +0000 (11:32 +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/branches/2.5@17164 b70326c6-7e19-0410-871a-916f4a2858ee

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

Closes #4300

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

6 years agoTests: Remove warning when building with 32bit arch
Raúl Marín Rodríguez [Wed, 16 Jan 2019 09:04:13 +0000 (09:04 +0000)]
Tests: Remove warning when building with 32bit arch

It appeared when investigating #4298

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

6 years agoAdd dronie.osgeo.org agent config (drone 1.0 standard)
Regina Obe [Tue, 15 Jan 2019 22:16:31 +0000 (22:16 +0000)]
Add dronie.osgeo.org agent config (drone 1.0 standard)

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

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

References #4292

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

6 years agoRemove memory leak in "junky wkt" case
Paul Ramsey [Thu, 10 Jan 2019 16:21:01 +0000 (16:21 +0000)]
Remove memory leak in "junky wkt" case
References #4273

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

6 years agoMove fix further into parser, fix bad test case
Paul Ramsey [Wed, 9 Jan 2019 20:09:19 +0000 (20:09 +0000)]
Move fix further into parser, fix bad test case
References #4273

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

6 years agoFix so custom --with-projdir= configure switch works again.
Regina Obe [Wed, 26 Dec 2018 04:06:50 +0000 (04:06 +0000)]
Fix so custom --with-projdir= configure switch works again.
References #4279 for PostGIS 2.5

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

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

Closes #4276

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

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

References #4254

git-svn-id: http://svn.osgeo.org/postgis/branches/2.5@17112 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:34:45 +0000 (10:34 +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/branches/2.5@17109 b70326c6-7e19-0410-871a-916f4a2858ee

6 years agochange winnie to build, test, and package using GEOS 3.7.1 instead of GEOS 3.7.0
Regina Obe [Fri, 30 Nov 2018 15:01:59 +0000 (15:01 +0000)]
change winnie to build, test, and package using GEOS 3.7.1 instead of GEOS 3.7.0

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

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

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

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

References #4162

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

6 years agoChange test conditions to look for empty.
Paul Ramsey [Tue, 27 Nov 2018 00:14:17 +0000 (00:14 +0000)]
Change test conditions to look for empty.
References #4245

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

6 years agoStabilize GiST ND indexes for mixed dimensions
Darafei Praliaskouski [Sun, 25 Nov 2018 19:28:51 +0000 (19:28 +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.

Closes #4139

git-svn-id: http://svn.osgeo.org/postgis/branches/2.5@17074 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:56:22 +0000 (17:56 +0000)]
Get rid of use of oids in topology regress was taken out in PostgreSQL 12.
Closes #4251 for PostGIS 2.5.2

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

6 years agoMissed a spot in last commit
Regina Obe [Fri, 23 Nov 2018 07:49:49 +0000 (07:49 +0000)]
Missed a spot in last commit
Closes #4231 for postgis 2.5.2

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

6 years agoAdd 2.2.8 to upgrade targets
Regina Obe [Thu, 22 Nov 2018 21:10:50 +0000 (21:10 +0000)]
Add 2.2.8 to upgrade targets
Remove using of pg_constraint.consrc to allow support of 12 as noted by Laurenz Albe (pg_constraint.consrc was removed in 12devel)
Closes #4231 for postgis 2.5.2

git-svn-id: http://svn.osgeo.org/postgis/branches/2.5@17060 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:16:23 +0000 (16:16 +0000)]
Avoid unaligned memory access in BOX2D_out

References #4244

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

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

References #4246

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

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

References #4249

git-svn-id: http://svn.osgeo.org/postgis/branches/2.5@17042 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:45:43 +0000 (11:45 +0000)]
Avoid undefined behaviour in next_float functions (Raúl Marín)

References #4247

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

6 years agoFlip to 2.5.2dev
Regina Obe [Sun, 18 Nov 2018 21:32:17 +0000 (21:32 +0000)]
Flip to 2.5.2dev

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

6 years agoPrep for 2.5.1 for real this time
Regina Obe [Sun, 18 Nov 2018 21:29:34 +0000 (21:29 +0000)]
Prep for 2.5.1 for real this time

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

6 years agoFlip back to 2.5.1dev until confirm winnie's issues on #4242 are just winnie's
Regina Obe [Sun, 18 Nov 2018 09:41:18 +0000 (09:41 +0000)]
Flip back to 2.5.1dev until confirm winnie's issues on #4242 are just winnie's

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

6 years agoupdate change log in prep for 2.5.1 release
Regina Obe [Sun, 18 Nov 2018 09:19:32 +0000 (09:19 +0000)]
update change log in prep for 2.5.1 release

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

6 years agoPrepping for 2.5.1 release
Regina Obe [Sun, 18 Nov 2018 08:43:10 +0000 (08:43 +0000)]
Prepping for 2.5.1 release

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

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

References #4190

git-svn-id: http://svn.osgeo.org/postgis/branches/2.5@17021 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:06:54 +0000 (09:06 +0000)]
Allocate enough memory in gidx_to_string

References #4236

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

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

Related to #4235

git-svn-id: http://svn.osgeo.org/postgis/branches/2.5@17006 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:15:35 +0000 (09:15 +0000)]
ST_Scale: Document the availability of the origin parameter

References #4232

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

6 years agoDocumentation for AddRasterConstraint optional parameters
Darafei Praliaskouski [Thu, 8 Nov 2018 06:57:59 +0000 (06:57 +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/branches/2.5@16997 b70326c6-7e19-0410-871a-916f4a2858ee

6 years agoRevert change to avoid slicing on box access.
Paul Ramsey [Wed, 7 Nov 2018 17:56:00 +0000 (17:56 +0000)]
Revert change to avoid slicing on box access.
References #4216

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

6 years agoGet rid of trailing space
Regina Obe [Wed, 7 Nov 2018 16:50:58 +0000 (16:50 +0000)]
Get rid of trailing space

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

6 years agoSchema qualify some missed calls in raster plpgsql/sql functions
Regina Obe [Wed, 7 Nov 2018 16:27:33 +0000 (16:27 +0000)]
Schema qualify some missed calls in raster plpgsql/sql functions

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

6 years agoAdd name to NEWS
Paul Ramsey [Tue, 6 Nov 2018 22:26:49 +0000 (22:26 +0000)]
Add name to NEWS

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

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

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

6 years agoUpdate news for #4223
Paul Ramsey [Mon, 5 Nov 2018 22:46:42 +0000 (22:46 +0000)]
Update news for #4223

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

6 years agoPatch over bad behaviour for near-parallel boxes and distancetree.
Paul Ramsey [Mon, 5 Nov 2018 22:36:48 +0000 (22:36 +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/branches/2.5@16980 b70326c6-7e19-0410-871a-916f4a2858ee

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

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

6 years agoUpdate icons to new doco versions
Paul Ramsey [Tue, 30 Oct 2018 20:30:05 +0000 (20:30 +0000)]
Update icons to new doco versions

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

6 years agoChange doc target for debbie to be "html-chunked-web" for google analytics fragment
Paul Ramsey [Tue, 30 Oct 2018 19:50:14 +0000 (19:50 +0000)]
Change doc target for debbie to be "html-chunked-web" for google analytics fragment

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

6 years agoUpdate HTML document styling to new "standard"
Paul Ramsey [Tue, 30 Oct 2018 19:47:52 +0000 (19:47 +0000)]
Update HTML document styling to new "standard"

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

6 years agoFix typo in r16956
Darafei Praliaskouski [Mon, 29 Oct 2018 04:10:46 +0000 (04:10 +0000)]
Fix typo in r16956

Closes #4217

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

6 years agoST_Subdivide: don't crash if on some iteration you need to subdivide Empty
Darafei Praliaskouski [Mon, 29 Oct 2018 03:22:38 +0000 (03:22 +0000)]
ST_Subdivide: don't crash if on some iteration you need to subdivide Empty
Closes #4217

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

6 years ago[raster] Use GDALFPolygonize unconditionally
Darafei Praliaskouski [Wed, 24 Oct 2018 14:03:19 +0000 (14:03 +0000)]
[raster] Use GDALFPolygonize unconditionally

GDAL 1.10 is already required and 1.9 contains it, so no check needed.

Closes #4215

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

6 years ago[raster] Fix envelope Contains shortcut in ST_Clip
Darafei Praliaskouski [Tue, 23 Oct 2018 13:00:11 +0000 (13:00 +0000)]
[raster] Fix envelope Contains shortcut in ST_Clip

Patch by Sai-bot

Closes #3457

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

6 years agoST_Subdivide: support rect hole in rect shell
Darafei Praliaskouski [Mon, 22 Oct 2018 15:26:49 +0000 (15:26 +0000)]
ST_Subdivide: support rect hole in rect shell

Closes #4211
Closes https://github.com/postgis/postgis/pull/317

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

6 years agoFix support for PostgreSQL-12 ("getrelid" macro removed)
Sandro Santilli [Wed, 17 Oct 2018 14:25:46 +0000 (14:25 +0000)]
Fix support for PostgreSQL-12 ("getrelid" macro removed)

The call is replaced with its expansion which should work
as back as PostgreSQL-9.1 which is before the oldest version
PostGIS-2.2 (our oldest maintained branch) supports.

This is then safe to backport to all branches till 2.2.

Patch by Laurenz Albe

References #4306 in 2.5 branch

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

6 years agoOnly drop function IF EXISTS ...
Sandro Santilli [Mon, 15 Oct 2018 11:46:52 +0000 (11:46 +0000)]
Only drop function IF EXISTS ...

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

6 years ago[topology] properly drop removed internal functions on upgrade
Sandro Santilli [Mon, 15 Oct 2018 10:38:39 +0000 (10:38 +0000)]
[topology] properly drop removed internal functions on upgrade

References #4202 in 2.5 branch

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

6 years agoFix packaging, was copying over old extension files
Regina Obe [Mon, 8 Oct 2018 23:19:50 +0000 (23:19 +0000)]
Fix packaging, was copying over old extension files

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

6 years agoSt_AsMVTGeom: Handle type changes in geometry collections
Raúl Marín Rodríguez [Wed, 3 Oct 2018 11:11:12 +0000 (11:11 +0000)]
St_AsMVTGeom: Handle type changes in geometry collections

References #4181

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

6 years agoFix undefined behaviour in ptarray_clone_deep
Raúl Marín Rodríguez [Tue, 2 Oct 2018 11:41:43 +0000 (11:41 +0000)]
Fix undefined behaviour in ptarray_clone_deep

References #4191

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

6 years agoFix undefined behaviour in SADFWrite
Raúl Marín Rodríguez [Tue, 2 Oct 2018 09:37:05 +0000 (09:37 +0000)]
Fix undefined behaviour in SADFWrite

Also addresses several gcc warnings
References #4189

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

6 years agoFix packaging link - broke it on last change
Regina Obe [Tue, 2 Oct 2018 07:23:06 +0000 (07:23 +0000)]
Fix packaging link - broke it on last change

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

6 years agoAvoid division by zero in kmeans
Raúl Marín Rodríguez [Mon, 1 Oct 2018 15:55:50 +0000 (15:55 +0000)]
Avoid division by zero in kmeans

References #4188

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

6 years agoSt_AsMVTGeom: Drop invalid geometries after simplification
Raúl Marín Rodríguez [Mon, 1 Oct 2018 13:31:52 +0000 (13:31 +0000)]
St_AsMVTGeom: Drop invalid geometries after simplification

References #4183

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

6 years agofix windows links should point at postgis.net and not postgis.org
Regina Obe [Mon, 1 Oct 2018 06:05:56 +0000 (06:05 +0000)]
fix windows links should point at postgis.net and not postgis.org

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

6 years agofix packaging so doesn't include old extension files
Regina Obe [Wed, 26 Sep 2018 12:18:40 +0000 (12:18 +0000)]
fix packaging so doesn't include old extension files

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

6 years agoflip to 2.5.1dev
Regina Obe [Mon, 24 Sep 2018 01:07:09 +0000 (01:07 +0000)]
flip to 2.5.1dev

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

6 years agoStamp date of release.
Regina Obe [Sun, 23 Sep 2018 20:04:42 +0000 (20:04 +0000)]
Stamp date of release.
Put in legacy stub function for RASTER_to_binary  to allow pg upgrade (newer lib)
Closes #4097

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

6 years agoupdate changelog in prep for PostGIS 2.5.0 release
Regina Obe [Sun, 23 Sep 2018 15:03:09 +0000 (15:03 +0000)]
update changelog in prep for PostGIS 2.5.0 release

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

6 years agoPrep for 2.5.0 release
Regina Obe [Sun, 23 Sep 2018 01:07:34 +0000 (01:07 +0000)]
Prep for 2.5.0 release

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

6 years agoSt_AsMVTGeom: Avoid type changes due to validation
Raúl Marín Rodríguez [Sat, 22 Sep 2018 13:06:55 +0000 (13:06 +0000)]
St_AsMVTGeom: Avoid type changes due to validation

References #4181

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

6 years agoST_ChaikinSmoothing: also smooth start/end point of polygon by default
Darafei Praliaskouski [Fri, 21 Sep 2018 13:20:12 +0000 (13:20 +0000)]
ST_ChaikinSmoothing: also smooth start/end point of polygon by default

Closes #4156
Closes https://github.com/postgis/postgis/pull/305

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

6 years agoFlip version to 2.5.0rc3dev
Regina Obe [Mon, 17 Sep 2018 05:05:30 +0000 (05:05 +0000)]
Flip version to 2.5.0rc3dev

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

6 years agoAdd upgrade path from 2.4.5
Regina Obe [Mon, 17 Sep 2018 03:01:21 +0000 (03:01 +0000)]
Add upgrade path from 2.4.5

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

6 years agoFix parse errors in po files. Update ChangeLog in prep for release
Regina Obe [Mon, 17 Sep 2018 02:44:34 +0000 (02:44 +0000)]
Fix parse errors in po files.  Update ChangeLog in prep for release

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

6 years agoReplace long tag with short-tag for xref ST_MemSize. Was causing problems with po...
Regina Obe [Sun, 16 Sep 2018 23:58:35 +0000 (23:58 +0000)]
Replace long tag with short-tag for xref ST_MemSize.  Was causing problems with po conversion.
Update pots (including getting rid of SVN)

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

6 years agoPrepping for 2.5.0 release
Regina Obe [Sun, 16 Sep 2018 21:52:10 +0000 (21:52 +0000)]
Prepping for 2.5.0 release

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

6 years agoMove geofromjson test from tickets to in_geojson so JSON-C guard can be applied.
Regina Obe [Sun, 16 Sep 2018 21:36:21 +0000 (21:36 +0000)]
Move geofromjson test from tickets to in_geojson so JSON-C guard can be applied.
Closes #4178 for PostGIS 2.5.0

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

6 years agoTry to force liblwgeom source include to be referenced first before the installed...
Regina Obe [Sun, 16 Sep 2018 20:24:45 +0000 (20:24 +0000)]
Try to force  liblwgeom source include to be referenced first before the installed locations.
When installed, the installed one sometimes gets picked up instead of the source one.
References #4180

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

6 years agoremove de_DE, it's redundant with de which is more complete.
Regina Obe [Sun, 16 Sep 2018 18:51:18 +0000 (18:51 +0000)]
remove de_DE, it's redundant with de which is more complete.
Update all the po files (pulled from transifex)
References #3848

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

6 years agoUpdate pot files
Regina Obe [Sun, 16 Sep 2018 16:18:45 +0000 (16:18 +0000)]
Update pot files

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

6 years agoDocument that LLV >= 6 is required for JIT compiles.
Regina Obe [Sun, 16 Sep 2018 05:12:51 +0000 (05:12 +0000)]
Document that LLV >= 6 is required for JIT compiles.
Closes #4125 for PostGIS 2.5.0

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

6 years agoUse qualified names in topology extension install
Raúl Marín Rodríguez [Fri, 14 Sep 2018 16:13:29 +0000 (16:13 +0000)]
Use qualified names in topology extension install

References #4160

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

6 years agoHandle almost-infinite features when building table statistics in ANALYZE
Paul Ramsey [Thu, 13 Sep 2018 20:28:48 +0000 (20:28 +0000)]
Handle almost-infinite features when building table statistics in ANALYZE
References #4144

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

6 years agoAvoid array overflow in ANALYZE (References #2985)
Paul Ramsey [Thu, 13 Sep 2018 19:25:10 +0000 (19:25 +0000)]
Avoid array overflow in ANALYZE (References #2985)

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

6 years agoPostgres 12 disallows variable length arrays in C, raster part
Darafei Praliaskouski [Thu, 13 Sep 2018 17:25:17 +0000 (17:25 +0000)]
Postgres 12 disallows variable length arrays in C, raster part

Patch by Laurenz Albe

Closes #4177

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

6 years agoPostgres 12 disallows variable length arrays in C
Darafei Praliaskouski [Thu, 13 Sep 2018 14:57:39 +0000 (14:57 +0000)]
Postgres 12 disallows variable length arrays in C

Patch by Laurenz Albe

Closes #4177

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

6 years agoST_Interscts support GEOMETRYCOLLECTION
Darafei Praliaskouski [Thu, 13 Sep 2018 13:29:20 +0000 (13:29 +0000)]
ST_Interscts support GEOMETRYCOLLECTION

By some overlook ST_Intersects has a guard against GEOMETRYCOLLECTION, while GEOS can handle it.

Closes #4176
Closes https://github.com/postgis/postgis/pull/297

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

6 years agoAdd NEWS entry.
Darafei Praliaskouski [Thu, 13 Sep 2018 13:25:52 +0000 (13:25 +0000)]
Add NEWS entry.

References #4164

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

6 years agoGet rid of note that 3.7.0 is not released. Switch winnie to test and packaged relea...
Regina Obe [Tue, 11 Sep 2018 06:07:06 +0000 (06:07 +0000)]
Get rid of note that 3.7.0 is not released.  Switch winnie to test and packaged released 3.7.0

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

6 years agoNL warning and add regression test
Paul Ramsey [Mon, 10 Sep 2018 22:27:01 +0000 (22:27 +0000)]
NL warning and add regression test
References #4164

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