]>
granicus.if.org Git - postgis/log
Raúl Marín Rodríguez [Fri, 18 Oct 2019 15:01:16 +0000 (15:01 +0000)]
Change public for the schema variable
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17969
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Fri, 18 Oct 2019 14:49:55 +0000 (14:49 +0000)]
Undo quiet option change
References #4549
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17964
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Fri, 18 Oct 2019 12:25:15 +0000 (12:25 +0000)]
Fix schema qualification of internal types
References #4549
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17959
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Thu, 17 Oct 2019 18:08:35 +0000 (18:08 +0000)]
Revert r17928
References #4546
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17948
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Thu, 17 Oct 2019 14:47:18 +0000 (14:47 +0000)]
NEWS entry
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17941
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Thu, 17 Oct 2019 14:15:31 +0000 (14:15 +0000)]
Fix AddRasterConstraints in presence of null geoms in table
References #4547 in 2.4 branch
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17937
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Thu, 17 Oct 2019 11:24:57 +0000 (11:24 +0000)]
Avoid use of bogus AddRasterConstraint when running upgrade tests
Works around bug #4547 for 2.4 branch
Closes #4530 in 2.4 branch
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17933
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Thu, 17 Oct 2019 11:24:47 +0000 (11:24 +0000)]
Fix svn revision fetching from git worktree
For worktrees, .git is a file, not a directory
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17932
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Thu, 17 Oct 2019 11:10:16 +0000 (11:10 +0000)]
Fix ST_ConcaveHull under FDW
References #4546
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17928
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Thu, 10 Oct 2019 13:01:54 +0000 (13:01 +0000)]
Fix leak in WKT collection parser
References #4537
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17902
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Thu, 10 Oct 2019 11:43:26 +0000 (11:43 +0000)]
Fix leak in lwcollection_from_wkb_state
References #4536
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17898
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Thu, 10 Oct 2019 11:39:01 +0000 (11:39 +0000)]
Fix leak in lwcurvepoly_from_wkb_state
References #4534
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17895
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Wed, 2 Oct 2019 18:22:16 +0000 (18:22 +0000)]
Use snprintf in building SRID query string
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17852
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Wed, 2 Oct 2019 17:12:26 +0000 (17:12 +0000)]
Add missing conname column,
References #4516
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17850
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Wed, 2 Oct 2019 14:24:45 +0000 (14:24 +0000)]
getSRIDbySRS: Fix crash
- Prevents stack overflow when the srs is long (query + srs > 256 chars).
- Prevents sql injection.
References #4519
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17848
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Tue, 1 Oct 2019 17:11:28 +0000 (17:11 +0000)]
Pg12 catalog table compatibility for upgrade
References #4516
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17843
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 30 Sep 2019 20:54:38 +0000 (20:54 +0000)]
Backport system views
Closes #4518
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17840
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Tue, 17 Sep 2019 19:58:52 +0000 (19:58 +0000)]
Remove tolerance in point-in-ring stabline tests
References #4506
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17815
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Tue, 3 Sep 2019 04:35:38 +0000 (04:35 +0000)]
upgrade to latest stable version of geos
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17802
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Mon, 2 Sep 2019 12:10:34 +0000 (12:10 +0000)]
Fix ST_SnapToGrid output having an outdated bbox
References #4495
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17800
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Fri, 30 Aug 2019 13:33:48 +0000 (13:33 +0000)]
Fix ST_RemoveRepeatedPoints output having an outdated bbox
References #4493
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17795
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Thu, 29 Aug 2019 15:57:09 +0000 (15:57 +0000)]
Fix bbox refresh
The function used was introduced in 2.5, so the direct
backport broke the build
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17790
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Thu, 29 Aug 2019 15:23:11 +0000 (15:23 +0000)]
Fix ST_Simplify output having an outdated bbox
References #4494
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17788
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Thu, 29 Aug 2019 11:54:22 +0000 (11:54 +0000)]
Fix ST_Simplify ignoring the value of the 3rd parameter
References #4492
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17784
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Thu, 22 Aug 2019 18:37:46 +0000 (18:37 +0000)]
Move geobuf version test strictly into configure
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17769
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Fri, 16 Aug 2019 21:00:58 +0000 (21:00 +0000)]
Add #4475
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17723
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Fri, 16 Aug 2019 20:58:44 +0000 (20:58 +0000)]
Avoid reading into empty pointarray
References #4475
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17720
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Wed, 14 Aug 2019 22:26:03 +0000 (22:26 +0000)]
Improve libprotobuf detection for old systems
References #4481
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17714
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Tue, 13 Aug 2019 16:58:58 +0000 (16:58 +0000)]
branch 2.4: Geography Distance inconsistent with Intersects
References #4480
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17704
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sun, 11 Aug 2019 05:25:14 +0000 (05:25 +0000)]
flip to 2.4.9dev
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17697
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sun, 11 Aug 2019 04:55:27 +0000 (04:55 +0000)]
fix xml errors
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17695
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sun, 11 Aug 2019 04:20:40 +0000 (04:20 +0000)]
Prepare for release of PostGIS 2.4.8
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17693
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sun, 11 Aug 2019 03:56:02 +0000 (03:56 +0000)]
Take out ST_GeomFromJSON - json, jsonb versions. These weren't introduced until 2.5
Closes #4476
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17690
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sun, 11 Aug 2019 02:50:35 +0000 (02:50 +0000)]
Add Martin Davis to committer list
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17688
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sun, 11 Aug 2019 01:44:24 +0000 (01:44 +0000)]
Add upgrade install paths for address_standardizer
references #4420 for PostGIS 2.4
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17686
b70326c6 -7e19-0410-871a-
916f4a2858ee
Darafei Praliaskouski [Sun, 4 Aug 2019 07:39:32 +0000 (07:39 +0000)]
ST_GeomFromGeoJSON crash on empty rings
Closes #4470
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17670
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Fri, 2 Aug 2019 16:32:44 +0000 (16:32 +0000)]
Fix minor version check issue in protobuf configuration
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17662
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Thu, 1 Aug 2019 17:48:07 +0000 (17:48 +0000)]
ST_AsTWKB doesn't always remove duplicate points
References #4461
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17657
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Wed, 31 Jul 2019 21:41:58 +0000 (21:41 +0000)]
Handle POINT EMPTY in shape loader/dumper
References #4437
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17651
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Tue, 30 Jul 2019 22:27:06 +0000 (22:27 +0000)]
Use protobuf version to enable/disable mvt/geobuf
References #4419
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17646
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 29 Jul 2019 16:45:15 +0000 (16:45 +0000)]
Handle NULL geometry values in pgsql2shp
References #4209
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17642
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Mon, 29 Jul 2019 16:22:45 +0000 (16:22 +0000)]
[gitlab-ci] Be explicit about target distribution (stretch)
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17637
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Mon, 29 Jul 2019 15:33:04 +0000 (15:33 +0000)]
Fix undefined behaviour in _postgis_gserialized_stats
References #4466
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17633
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Tue, 16 Jul 2019 08:58:20 +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.4@17607
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Tue, 2 Jul 2019 08:59:24 +0000 (08:59 +0000)]
Fix bug in lwgeom_le
References #4445
Closes https://github.com/postgis/postgis/pull/428
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17578
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Fri, 28 Jun 2019 18:03:24 +0000 (18:03 +0000)]
Internal type lookups fail over FDW
Closes #4440
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17569
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Thu, 13 Jun 2019 11:55:19 +0000 (11:55 +0000)]
Throw on invalid characters when decoding geohash
References #4406
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17527
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Thu, 13 Jun 2019 07:44:05 +0000 (07:44 +0000)]
Avoid pfree'ing the result of getenv
References #4327
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17524
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Wed, 12 Jun 2019 14:04:41 +0000 (14:04 +0000)]
Travis: Use xenial as distribution and bionic repos
References #4426
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17515
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Wed, 12 Jun 2019 13:30:48 +0000 (13:30 +0000)]
AddRasterConstraints: Ignore NULLs when generating constraints
References #4388
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17513
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Thu, 6 Jun 2019 10:20:32 +0000 (10:20 +0000)]
[drone] 2.4 branch is not ready for -Werror, drop that
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17477
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Thu, 6 Jun 2019 10:01:24 +0000 (10:01 +0000)]
Fix a couple of warning about C99
Note: these are turned to error for some possibly postgresql-injected
C flag, see https://dronie.osgeo.org/postgis/postgis/307/2/2
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17476
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Thu, 6 Jun 2019 09:47:26 +0000 (09:47 +0000)]
[dronie] fix yml syntax
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17475
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Thu, 6 Jun 2019 08:04:53 +0000 (08:04 +0000)]
[dronie] Add drone-1.0 configuration, enabling 9.3 testing
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17474
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Fri, 12 Apr 2019 22:16:43 +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.4@17387
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Fri, 29 Mar 2019 14:29:21 +0000 (14:29 +0000)]
Fix postgis_type_name with (GEOMETRYM,3)
Patch by Matt Bretl
References #4361
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17368
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Mon, 11 Mar 2019 17:51:00 +0000 (17:51 +0000)]
Bump to 2.4.8dev
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17331
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Mon, 11 Mar 2019 14:24:05 +0000 (14:24 +0000)]
forgot to commit bump version
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17325
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Mon, 11 Mar 2019 14:22:26 +0000 (14:22 +0000)]
Prep for PostGIS 2.4.7 release
Remove zcta5 geometry constraint
References #4086
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17324
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sun, 10 Mar 2019 19:04:28 +0000 (19:04 +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.4.7
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17322
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sat, 9 Mar 2019 18:43:26 +0000 (18:43 +0000)]
Schema qualify all geometry casts in raster code, otherwise materialized views do not resture
Closes #4291 for PostGIS 2.4.7
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17315
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Fri, 15 Feb 2019 19:00:58 +0000 (19:00 +0000)]
Update test running instructions
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17258
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Fri, 15 Feb 2019 18:53:36 +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.4@17254
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 11 Feb 2019 17:20:16 +0000 (17:20 +0000)]
Add generated file
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17239
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 11 Feb 2019 17:20:06 +0000 (17:20 +0000)]
Add lexer initialization
References #4017
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17238
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Thu, 31 Jan 2019 15:51:02 +0000 (15:51 +0000)]
PostgreSQL 12 compatibility
Initial patch by Laurenz Albe
Closes #4313
Closes https://github.com/postgis/postgis/pull/368/
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17225
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Tue, 22 Jan 2019 09:07:16 +0000 (09:07 +0000)]
Partially revert r17179
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.4@17205
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 21 Jan 2019 19:50:56 +0000 (19:50 +0000)]
Sync generated files to parser file
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17198
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 21 Jan 2019 19:47:14 +0000 (19:47 +0000)]
Put fix for parser into y file
References #4273
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17197
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Fri, 18 Jan 2019 20:45:18 +0000 (20:45 +0000)]
Avoid final point duplicates for circle stroking
References #4283
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17187
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Fri, 18 Jan 2019 18:03:46 +0000 (18:03 +0000)]
Geodetic tolerance issue in 32-bit
References #4298
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17183
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Fri, 18 Jan 2019 17:24:32 +0000 (17:24 +0000)]
Use `server_version_num` instead of parsing `version()`
References #4296
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17179
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Fri, 18 Jan 2019 16:06:56 +0000 (16:06 +0000)]
Avoid passing a NULL pointer to GEOSisEmpty
References #4275
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17176
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Fri, 18 Jan 2019 11:56:05 +0000 (11:56 +0000)]
Correct issue reference from previous commit
References #4289
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17171
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Fri, 18 Jan 2019 11:52:27 +0000 (11:52 +0000)]
ST_AsMVTGeom: Transform coordinates space before clipping
References #4300
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17169
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Fri, 11 Jan 2019 21:46:03 +0000 (21:46 +0000)]
More robust geography distance
References #4290
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17141
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Fri, 11 Jan 2019 13:50:49 +0000 (13:50 +0000)]
ST_AsMVT: parse JSON numeric values with decimals as doubles
Closes #4292
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17136
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Thu, 10 Jan 2019 18:21:41 +0000 (18:21 +0000)]
Fix memory leak in case where valid WKT is
followed by garbage content
Closes #4273
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17133
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Wed, 9 Jan 2019 20:34:17 +0000 (20:34 +0000)]
Tighter parsing of WKT
References #4273
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17130
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Wed, 26 Dec 2018 04:08:48 +0000 (04:08 +0000)]
Fix so custom --with-projdir= configure switch works again.
References #4279 for PostGIS 2.4
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17120
b70326c6 -7e19-0410-871a-
916f4a2858ee
Darafei Praliaskouski [Mon, 17 Dec 2018 10:38:07 +0000 (10:38 +0000)]
Support Proj 6. Support is via legacy API.
Closes #4254
Closes https://github.com/postgis/postgis/pull/354
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17110
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Tue, 27 Nov 2018 00:15:24 +0000 (00:15 +0000)]
Change test conditions to explicit empty test
References #4245
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17079
b70326c6 -7e19-0410-871a-
916f4a2858ee
Darafei Praliaskouski [Sun, 25 Nov 2018 19:32:58 +0000 (19:32 +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.
Closes #4139
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17075
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sat, 24 Nov 2018 05:35:03 +0000 (05:35 +0000)]
Flip to 2.4.7dev
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17069
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sat, 24 Nov 2018 05:31:57 +0000 (05:31 +0000)]
Prepping for 2.4.6 release and update docs to reflect 2.4 only supported up to PostgreSQL 10
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17067
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Thu, 22 Nov 2018 16:15:35 +0000 (16:15 +0000)]
Avoid unaligned memory access in BOX2D_out
References #4244
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17057
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Thu, 22 Nov 2018 13:41:44 +0000 (13:41 +0000)]
Fix undefined behaviour in ST_3DDistance
References #4246
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17051
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Wed, 21 Nov 2018 14:11:15 +0000 (14:11 +0000)]
Fix undefined behaviour in raster intersection
References #4249
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17041
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Wed, 21 Nov 2018 11:43:57 +0000 (11:43 +0000)]
Avoid undefined behaviour in next_float functions (Raúl Marín)
References #4247
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17036
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Thu, 15 Nov 2018 16:07:47 +0000 (16:07 +0000)]
Avoid undefined behaviour in gserialized_estimate
References #4190
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17020
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Thu, 15 Nov 2018 09:06:12 +0000 (09:06 +0000)]
Allocate enough memory in gidx_to_string
References #4236
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@17017
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Wed, 7 Nov 2018 15:41:34 +0000 (15:41 +0000)]
Honestly, spaces?
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@16990
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Tue, 6 Nov 2018 22:27:25 +0000 (22:27 +0000)]
Add name to NEWS
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@16986
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 5 Nov 2018 22:34:36 +0000 (22:34 +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.
Reworking this example with even closer together inputs would be useful for exposing this problem for eventual complete fix.
Closes #4223
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@16979
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 5 Nov 2018 18:27:46 +0000 (18:27 +0000)]
Remove clang warnings
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@16978
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 5 Nov 2018 17:57:16 +0000 (17:57 +0000)]
Proper repeated point removal for small polygons
Closes #4136
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@16977
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Thu, 1 Nov 2018 19:41:49 +0000 (19:41 +0000)]
Update NEWS for #2416
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@16972
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Thu, 1 Nov 2018 19:40:15 +0000 (19:40 +0000)]
Remove use of variable length arrays
References #4177
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@16971
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Thu, 1 Nov 2018 19:31:24 +0000 (19:31 +0000)]
Remove use of VLA from geography centroid
References #4059
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@16970
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Wed, 31 Oct 2018 22:02:55 +0000 (22:02 +0000)]
Revert change to avoid slicing on box access.
References #4216
git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@16969
b70326c6 -7e19-0410-871a-
916f4a2858ee