]> granicus.if.org Git - postgis/log
postgis
5 years agoFix ST_Simplify output having an outdated bbox
Raúl Marín Rodríguez [Thu, 29 Aug 2019 15:20:41 +0000 (15:20 +0000)]
Fix ST_Simplify output having an outdated bbox

References #4494

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

5 years agoFix ST_Simplify ignoring the value of the 3rd parameter
Raúl Marín Rodríguez [Thu, 29 Aug 2019 11:53:11 +0000 (11:53 +0000)]
Fix ST_Simplify ignoring the value of the 3rd parameter

References #4492

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

5 years agoflip to package GEOS 3.7.2
Regina Obe [Sun, 25 Aug 2019 00:03:25 +0000 (00:03 +0000)]
flip to package GEOS 3.7.2

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

5 years ago[drone] Reorganize configuration to use external script
Sandro Santilli [Fri, 23 Aug 2019 16:03:28 +0000 (16:03 +0000)]
[drone] Reorganize configuration to use external script

Also add installcheck step

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

5 years agoMove geobuf version testing into configure
Paul Ramsey [Thu, 22 Aug 2019 18:26:43 +0000 (18:26 +0000)]
Move geobuf version testing into configure

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

5 years agoRemove type warnings from 32 bit compilation
Paul Ramsey [Tue, 20 Aug 2019 21:40:59 +0000 (21:40 +0000)]
Remove type warnings from 32 bit compilation

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

5 years agoQuiet warnings from centos6 build
Paul Ramsey [Tue, 20 Aug 2019 18:32:30 +0000 (18:32 +0000)]
Quiet warnings from centos6 build

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

5 years agoReplace aliasing approach with blunt memcpy to avoid errors with some compilers
Paul Ramsey [Tue, 20 Aug 2019 18:18:43 +0000 (18:18 +0000)]
Replace aliasing approach with blunt memcpy to avoid errors with some compilers
References #4319

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

5 years agoAdd #4475
Paul Ramsey [Fri, 16 Aug 2019 21:01:48 +0000 (21:01 +0000)]
Add #4475

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

5 years agoClear up regression issues against Pg12
Paul Ramsey [Thu, 15 Aug 2019 17:22:43 +0000 (17:22 +0000)]
Clear up regression issues against Pg12

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

5 years agoGuard against memory access when npoints of pointarray == 0
Paul Ramsey [Thu, 15 Aug 2019 17:01:47 +0000 (17:01 +0000)]
Guard against memory access when npoints of pointarray == 0

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

5 years agoAdd in missing file
Paul Ramsey [Wed, 14 Aug 2019 22:16:09 +0000 (22:16 +0000)]
Add in missing file

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

5 years agoImprove libprotobuf detection for old systems
Paul Ramsey [Wed, 14 Aug 2019 22:13:55 +0000 (22:13 +0000)]
Improve libprotobuf detection for old systems
References #4481

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

5 years agobranch 2.5: Geography Distance inconsistent with Intersects
Paul Ramsey [Tue, 13 Aug 2019 16:59:08 +0000 (16:59 +0000)]
branch 2.5: Geography Distance inconsistent with Intersects
References #4480

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

5 years agoflip to 2.5.4dev
Regina Obe [Sun, 11 Aug 2019 06:14:36 +0000 (06:14 +0000)]
flip to 2.5.4dev

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

5 years agoPrep for 2.5.3 release
Regina Obe [Sun, 11 Aug 2019 05:43:01 +0000 (05:43 +0000)]
Prep for 2.5.3 release

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

5 years agoAdd upgrade install paths for address_standardizer
Regina Obe [Sat, 10 Aug 2019 20:01:07 +0000 (20:01 +0000)]
Add upgrade install paths for address_standardizer
references #4420 for PostGIS 2.5

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

5 years agoST_GeomFromGeoJSON crash on empty rings
Darafei Praliaskouski [Sun, 4 Aug 2019 07:36:50 +0000 (07:36 +0000)]
ST_GeomFromGeoJSON crash on empty rings

Closes #4470

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

5 years agoST_Subdivide crash on intermediate EMPTY fix.
Darafei Praliaskouski [Sun, 4 Aug 2019 07:19:22 +0000 (07:19 +0000)]
ST_Subdivide crash on intermediate EMPTY fix.

Closes #4459

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

5 years agoRemove test of pointonsurface that has variable behavior based on what geos (>= 3...
Paul Ramsey [Fri, 2 Aug 2019 20:02:29 +0000 (20:02 +0000)]
Remove test of pointonsurface that has variable behavior based on what geos (>= 3.8?) is installed

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

5 years agoFix minor version check issue in protobuf pkg-config section
Paul Ramsey [Fri, 2 Aug 2019 16:32:02 +0000 (16:32 +0000)]
Fix minor version check issue in protobuf pkg-config section

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

5 years agoFix sfcgal regress tests
Raúl Marín Rodríguez [Fri, 2 Aug 2019 13:51:47 +0000 (13:51 +0000)]
Fix sfcgal regress tests

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

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

5 years agoDeal with differing behaviour of subquery planning between Pg versions.
Paul Ramsey [Thu, 1 Aug 2019 20:15:14 +0000 (20:15 +0000)]
Deal with differing behaviour of subquery planning between Pg versions.
References #4464

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

5 years agoST_AsTWKB doesn't always remove duplicate points
Paul Ramsey [Thu, 1 Aug 2019 17:48:00 +0000 (17:48 +0000)]
ST_AsTWKB doesn't always remove duplicate points
References #4461

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

5 years agoHandle POINT EMPTY in shape loader/dumper
Paul Ramsey [Wed, 31 Jul 2019 21:42:08 +0000 (21:42 +0000)]
Handle POINT EMPTY in shape loader/dumper
References #4437

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

5 years agoUse protobuf version to enable/disable mvt/geobuf
Paul Ramsey [Tue, 30 Jul 2019 22:27:11 +0000 (22:27 +0000)]
Use protobuf version to enable/disable mvt/geobuf
References #4419

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

5 years agoHandle NULL geometry values in pgsql2shp
Paul Ramsey [Mon, 29 Jul 2019 16:45:09 +0000 (16:45 +0000)]
Handle NULL geometry values in pgsql2shp
References #4209

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

5 years ago[gitlab-ci] Be explicit about distribution to use (stretch)
Sandro Santilli [Mon, 29 Jul 2019 16:11:31 +0000 (16:11 +0000)]
[gitlab-ci] Be explicit about distribution to use (stretch)

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

5 years agoFix undefined behaviour in _postgis_gserialized_stats
Raúl Marín Rodríguez [Mon, 29 Jul 2019 15:33:47 +0000 (15:33 +0000)]
Fix undefined behaviour in _postgis_gserialized_stats

References #4466

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

5 years agoDealing with IGN SRIDs from Michel Philippenko
Regina Obe [Fri, 19 Jul 2019 05:43:48 +0000 (05:43 +0000)]
Dealing with IGN SRIDs from Michel Philippenko
references https://github.com/postgis/postgis/pull/448
for PostGIS 2.5

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

5 years agoAdd CPPFLAGS where missing
Raúl Marín Rodríguez [Tue, 16 Jul 2019 08:58:40 +0000 (08:58 +0000)]
Add CPPFLAGS where missing

Spotted by Debian's build log hardening checker, blhc.

https://salsa.debian.org/debian-gis-team/postgis/-/jobs/222378

Patch by Christoph Berg <myon -at- debian.org>

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

5 years agoPartially revert changes in test expected output
Raúl Marín Rodríguez [Tue, 2 Jul 2019 09:48:14 +0000 (09:48 +0000)]
Partially revert changes in test expected output

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

5 years agoFix bug in lwgeom_le
Raúl Marín Rodríguez [Tue, 2 Jul 2019 09:00:14 +0000 (09:00 +0000)]
Fix bug in lwgeom_le

References #4445

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

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