]> granicus.if.org Git - postgis/log
postgis
5 years agoInternal type lookups fail over FDW
Paul Ramsey [Fri, 28 Jun 2019 17:29:22 +0000 (17:29 +0000)]
Internal type lookups fail over FDW
References #4440

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

5 years agoChange tests so that they will have the same behaviour
Paul Ramsey [Tue, 25 Jun 2019 21:51:46 +0000 (21:51 +0000)]
Change tests so that they will have the same behaviour
on both pg11 and pg12

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

5 years agoThrow on invalid characters when decoding geohash
Raúl Marín Rodríguez [Thu, 13 Jun 2019 11:56:02 +0000 (11:56 +0000)]
Throw on invalid characters when decoding geohash

References #4406

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

5 years agoAvoid pfree'ing the result of getenv
Raúl Marín Rodríguez [Thu, 13 Jun 2019 07:43:24 +0000 (07:43 +0000)]
Avoid pfree'ing the result of getenv

References #4327

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

5 years agoFix travis build
Raúl Marín Rodríguez [Wed, 12 Jun 2019 15:27:01 +0000 (15:27 +0000)]
Fix travis build

Closes #4426

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

5 years agoAddRasterConstraints: Ignore NULLs when generating constraints
Raúl Marín Rodríguez [Wed, 12 Jun 2019 13:29:53 +0000 (13:29 +0000)]
AddRasterConstraints: Ignore NULLs when generating constraints

References #4388

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

6 years agoSimple TIN support to allow viz in QGIS
Paul Ramsey [Tue, 14 May 2019 21:33:40 +0000 (21:33 +0000)]
Simple TIN support to allow viz in QGIS
References #4380

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

6 years agoupdate CUnit vector tests (somewhat pointless commit to trigger a run to test dornie)
Regina Obe [Thu, 2 May 2019 16:17:19 +0000 (16:17 +0000)]
update CUnit vector tests (somewhat pointless commit to trigger a run to test dornie)

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

6 years agoAdd Martin Davis to authors list
Regina Obe [Sun, 14 Apr 2019 04:56:52 +0000 (04:56 +0000)]
Add Martin Davis to authors list

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

6 years agoCircular string distances have some failure modes, and test
Paul Ramsey [Fri, 12 Apr 2019 22:16:07 +0000 (22:16 +0000)]
Circular string distances have some failure modes, and test
suite should test everything bi-directionally.
References #4326

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

6 years agoupdate the output of postgis and raster tests -- was based on 2.2 before
Regina Obe [Mon, 8 Apr 2019 17:12:45 +0000 (17:12 +0000)]
update the output of postgis and raster tests -- was based on 2.2 before

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

6 years agochange to use vacuum (analyze, verbose) instead of vacuum analyze verbose. The old...
Regina Obe [Mon, 8 Apr 2019 16:27:22 +0000 (16:27 +0000)]
change to use vacuum (analyze, verbose) instead of vacuum analyze verbose.  The old format got remove in pg11

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

6 years agoFix postgis_type_name with (GEOMETRYM,3)
Raúl Marín Rodríguez [Fri, 29 Mar 2019 14:27:56 +0000 (14:27 +0000)]
Fix postgis_type_name with (GEOMETRYM,3)

Patch by Matt Bretl

References #4361

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

6 years agoMVT Geos: Avoid dereferencing a NULL pointer after validation
Raúl Marín Rodríguez [Fri, 22 Mar 2019 11:26:09 +0000 (11:26 +0000)]
MVT Geos: Avoid dereferencing a NULL pointer after validation

References #4348

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

6 years agoST_AsMVTGeom (GEOS): Enforce validation at all times
Raúl Marín Rodríguez [Thu, 21 Mar 2019 12:09:04 +0000 (12:09 +0000)]
ST_AsMVTGeom (GEOS): Enforce validation at all times

Closes #4348

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

6 years agoFlip to 2.5.3dev
Regina Obe [Mon, 11 Mar 2019 17:06:11 +0000 (17:06 +0000)]
Flip to 2.5.3dev

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

6 years agoGet rid of 11 travis docker build doesn't work - will revisit later
Regina Obe [Mon, 11 Mar 2019 17:03:36 +0000 (17:03 +0000)]
Get rid of 11 travis docker build doesn't work - will revisit later

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

6 years agoRemove zcta5 geometry constraint
Regina Obe [Mon, 11 Mar 2019 14:30:43 +0000 (14:30 +0000)]
Remove zcta5 geometry constraint
Closes #4086 for PostGIS 2.5.2

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

6 years agoPrep for PostGIS 2.5.2 release
Regina Obe [Mon, 11 Mar 2019 12:40:21 +0000 (12:40 +0000)]
Prep for PostGIS 2.5.2 release

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

6 years agoMake _drop_raster_constraint_spatially_unique and _raster_constraint_info_spatially_u...
Regina Obe [Sun, 10 Mar 2019 18:58:13 +0000 (18:58 +0000)]
Make _drop_raster_constraint_spatially_unique and _raster_constraint_info_spatially_unique allow for presence or absense of schema qual on geometry cast.
Was failing before when installed as extension (but not by script)
Reference #4291 for PostGIS 2.5.2

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

6 years agoTake out schema qualify in constraint see if it resolves failing check constraint...
Regina Obe [Sun, 10 Mar 2019 09:07:15 +0000 (09:07 +0000)]
Take out schema qualify in constraint see if it resolves failing check constraint check on bessie and debbie
Reference #4291 for PostGIS 2.5.2

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

6 years agoSchema qualify all geometry casts in raster code, otherwise materialized views do...
Regina Obe [Sun, 10 Mar 2019 07:20:42 +0000 (07:20 +0000)]
Schema qualify all geometry casts in raster code, otherwise materialized views do not resture
Closes #4291 for PostGIS 2.5.2
Missed some spots in last commit

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

6 years agoSchema qualify all geometry casts in raster code, otherwise materialized views do...
Regina Obe [Sat, 9 Mar 2019 06:54:12 +0000 (06:54 +0000)]
Schema qualify all geometry casts in raster code, otherwise materialized views do not resture
Reference #4291 for PostGIS 2.5.2

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

6 years agoChange de_DE to de. de is the one that is active
Regina Obe [Sat, 9 Mar 2019 06:29:49 +0000 (06:29 +0000)]
Change de_DE to de.  de is the one that is active
References #3848 for PostGIS 2.5

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

6 years agoAdd extra_float_digits for pg12
Paul Ramsey [Thu, 21 Feb 2019 20:44:29 +0000 (20:44 +0000)]
Add extra_float_digits for pg12

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

6 years agoUpdate test running instructions
Paul Ramsey [Fri, 15 Feb 2019 19:00:31 +0000 (19:00 +0000)]
Update test running instructions

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

6 years agoUpdate OGC certification scripts to match new SFSQL 1.2 signatures
Paul Ramsey [Fri, 15 Feb 2019 18:53:11 +0000 (18:53 +0000)]
Update OGC certification scripts to match new SFSQL 1.2 signatures

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

6 years agoAdd generated file
Paul Ramsey [Mon, 11 Feb 2019 17:18:56 +0000 (17:18 +0000)]
Add generated file

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

6 years agoAdd lexer initialization
Paul Ramsey [Mon, 11 Feb 2019 17:18:46 +0000 (17:18 +0000)]
Add lexer initialization
References #4017

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

6 years agoGet rid of sudo -i on the pg11 docker evidentally not installed
Regina Obe [Tue, 5 Feb 2019 00:41:57 +0000 (00:41 +0000)]
Get rid of sudo -i on the pg11 docker evidentally not installed

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

6 years agoFix dronie badge (still need to fix build link)
Regina Obe [Mon, 4 Feb 2019 22:45:02 +0000 (22:45 +0000)]
Fix dronie badge (still need to fix build link)

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

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

Initial patch by Laurenz Albe
References #4313

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

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