]>
granicus.if.org Git - postgis/log
Regina Obe [Fri, 26 May 2017 19:35:19 +0000 (19:35 +0000)]
Fix topology PostgreSQL 10 regress errors
Change CASE WHEN SRF to use constant
Evidentally they also removed a bunch of columns from sequence table struct
I'm guessing has to do with intro of IDENTITY column type, so had to revise copytopology regress
Closes #3764
git-svn-id: http://svn.osgeo.org/postgis/trunk@15406
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Fri, 26 May 2017 06:25:16 +0000 (06:25 +0000)]
Revise rt_union test so passes equally on PostgreSQL 10 and lower. Lower calls SRF for each column, triggering the same error notice multiple times, PostgreSQL 10 called SRF only once. Revised syntax so old versions call SRF only once.
Closes #3763 for trunk PostGIS 2.4.0
git-svn-id: http://svn.osgeo.org/postgis/trunk@15405
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Fri, 26 May 2017 04:41:19 +0000 (04:41 +0000)]
Revise to use substring function instead of regexp_matches.
This fixes most of the raster regress issues noted in #3759 and
Closes #3760 for PostGIS 2.4.0 (trunk)
git-svn-id: http://svn.osgeo.org/postgis/trunk@15404
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Fri, 26 May 2017 04:05:43 +0000 (04:05 +0000)]
revert previous change to this file accidentally committed for #3761
But this is a work in progress for different item, not ready for commit.
git-svn-id: http://svn.osgeo.org/postgis/trunk@15403
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Fri, 26 May 2017 04:03:17 +0000 (04:03 +0000)]
Get rid of all if def needed for versions of PostgreSQL lower than 9.3 and GEOS 3.3
Document dropping support for PostgreSQL 9.2
Note didn't change postgis/gserialized_estimate.c which also has an ifdef (leaving that for pramsey)
References #3761 for PostGIS 2.4
git-svn-id: http://svn.osgeo.org/postgis/trunk@15402
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Wed, 24 May 2017 18:55:17 +0000 (18:55 +0000)]
#3758, regression failure on stats. Add test data as static COPY,
not dynamic generation, since change in generate_series caused probs
git-svn-id: http://svn.osgeo.org/postgis/trunk@15401
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Tue, 23 May 2017 04:39:55 +0000 (04:39 +0000)]
New function ST_FrechetDistance (patch from Shinichi Sugiyama)
Closes #3677
Closes https://github.com/postgis/postgis/pull/120
git-svn-id: http://svn.osgeo.org/postgis/trunk@15400
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Mon, 22 May 2017 16:36:11 +0000 (16:36 +0000)]
Add comment to topology schema
git-svn-id: http://svn.osgeo.org/postgis/trunk@15399
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sun, 21 May 2017 03:15:45 +0000 (03:15 +0000)]
PostgreSQL 10 beta1 fails compile in gserialized_estimate
Revise to use new api for get_attstatsslot function for PostgreSQL >= 10
References #3758
git-svn-id: http://svn.osgeo.org/postgis/trunk@15398
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sat, 20 May 2017 17:49:52 +0000 (17:49 +0000)]
Revise the PGVERSION numbering scheme so also works for PostgreSQL 10beta1 and for all future PostgreSQL after 10
Note previous patch put in did not consider the case of when 10.11 comes, that would end up ranking higher than 11.0 (110 vs. 1011).
So we need to totally disregard the minor version for PostgreSQL >= 10
Closes #3614
git-svn-id: http://svn.osgeo.org/postgis/trunk@15397
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Fri, 19 May 2017 01:59:22 +0000 (01:59 +0000)]
Fix mismatch between actual and documented output
Closes https://github.com/postgis/postgis/pull/118
git-svn-id: http://svn.osgeo.org/postgis/trunk@15396
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Fri, 19 May 2017 01:54:46 +0000 (01:54 +0000)]
Note about ST_Equals does not support geometry collection
Closes pull reguest - https://github.com/postgis/postgis/pull/131 from lb1c
git-svn-id: http://svn.osgeo.org/postgis/trunk@15395
b70326c6 -7e19-0410-871a-
916f4a2858ee
Björn Harrtell [Wed, 17 May 2017 18:18:17 +0000 (18:18 +0000)]
ST_AsMVT Forgot to initialize to NULL
git-svn-id: http://svn.osgeo.org/postgis/trunk@15394
b70326c6 -7e19-0410-871a-
916f4a2858ee
Björn Harrtell [Wed, 17 May 2017 17:52:38 +0000 (17:52 +0000)]
ST_AsMVT avoid mutating the input LWGEOM
git-svn-id: http://svn.osgeo.org/postgis/trunk@15393
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Thu, 11 May 2017 23:44:39 +0000 (23:44 +0000)]
Gist penalty speed improvement for 2d and nd points
References #3753 for PostGIS 2.4.0
git-svn-id: http://svn.osgeo.org/postgis/trunk@15392
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Thu, 11 May 2017 18:17:10 +0000 (18:17 +0000)]
try to add libgdal1h dependency in attempt to fix libgdal-dev install issue on travis
git-svn-id: http://svn.osgeo.org/postgis/trunk@15391
b70326c6 -7e19-0410-871a-
916f4a2858ee
Björn Harrtell [Thu, 4 May 2017 20:22:16 +0000 (20:22 +0000)]
ST_AsMVT Document JSONB support
References #3749
git-svn-id: http://svn.osgeo.org/postgis/trunk@15390
b70326c6 -7e19-0410-871a-
916f4a2858ee
Björn Harrtell [Thu, 4 May 2017 18:40:26 +0000 (18:40 +0000)]
ST_AsMVT Normalize output to make sure it will be identical regardless of GEOS version
References #3749
git-svn-id: http://svn.osgeo.org/postgis/trunk@15389
b70326c6 -7e19-0410-871a-
916f4a2858ee
Björn Harrtell [Thu, 4 May 2017 17:15:16 +0000 (17:15 +0000)]
ST_AsMVT JSONB support and regression tests conditional on PG >= 94
Fixes #3749
git-svn-id: http://svn.osgeo.org/postgis/trunk@15387
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Thu, 4 May 2017 05:07:46 +0000 (05:07 +0000)]
Use local RUNTESTFLAGS env variable (global doesn't seem to work)
git-svn-id: http://svn.osgeo.org/postgis/trunk@15386
b70326c6 -7e19-0410-871a-
916f4a2858ee
Björn Harrtell [Wed, 3 May 2017 22:32:09 +0000 (22:32 +0000)]
ST_AsMVT parse JSONB into keys/values
References #3749
git-svn-id: http://svn.osgeo.org/postgis/trunk@15385
b70326c6 -7e19-0410-871a-
916f4a2858ee
Björn Harrtell [Wed, 3 May 2017 13:38:11 +0000 (13:38 +0000)]
ST_AsMVT make sure valid/clockwise even after collection extraction
git-svn-id: http://svn.osgeo.org/postgis/trunk@15384
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Wed, 3 May 2017 03:12:37 +0000 (03:12 +0000)]
@ operator not schema qualified and ~ not schema qualified in some places
apply patch with adjustments. Patch provided by Shane StClair (Axiom Data Science)
References #3750 for trunk PostGIS 2.4.0
git-svn-id: http://svn.osgeo.org/postgis/trunk@15382
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Mon, 1 May 2017 02:39:06 +0000 (02:39 +0000)]
Boolean (FTLogical) should be 1 byte not 2 bytes
closes #3682 for PostGIS 2.4.0 (trunk)
git-svn-id: http://svn.osgeo.org/postgis/trunk@15381
b70326c6 -7e19-0410-871a-
916f4a2858ee
Björn Harrtell [Sun, 30 Apr 2017 21:36:48 +0000 (21:36 +0000)]
Readd homogenize and expect empty output on collapsed polygon
git-svn-id: http://svn.osgeo.org/postgis/trunk@15380
b70326c6 -7e19-0410-871a-
916f4a2858ee
Björn Harrtell [Sun, 30 Apr 2017 21:36:42 +0000 (21:36 +0000)]
Fix check for empty or null geometry and more strict precision reducing
git-svn-id: http://svn.osgeo.org/postgis/trunk@15379
b70326c6 -7e19-0410-871a-
916f4a2858ee
Björn Harrtell [Fri, 28 Apr 2017 21:07:50 +0000 (21:07 +0000)]
Rework ST_AsMVTGeom clipping logic
Closes #3740
git-svn-id: http://svn.osgeo.org/postgis/trunk@15378
b70326c6 -7e19-0410-871a-
916f4a2858ee
Björn Harrtell [Fri, 28 Apr 2017 17:27:48 +0000 (17:27 +0000)]
Fix wrong char * allocation size
git-svn-id: http://svn.osgeo.org/postgis/trunk@15377
b70326c6 -7e19-0410-871a-
916f4a2858ee
Björn Harrtell [Fri, 28 Apr 2017 16:16:04 +0000 (16:16 +0000)]
Make copy of string that will be deallocated and remove unused code
git-svn-id: http://svn.osgeo.org/postgis/trunk@15376
b70326c6 -7e19-0410-871a-
916f4a2858ee
Björn Harrtell [Fri, 28 Apr 2017 16:10:21 +0000 (16:10 +0000)]
Make copy of string that will be deallocated and make bool type clear
git-svn-id: http://svn.osgeo.org/postgis/trunk@15375
b70326c6 -7e19-0410-871a-
916f4a2858ee
Björn Harrtell [Wed, 26 Apr 2017 20:43:28 +0000 (20:43 +0000)]
Revert MemoryContext refactor
git-svn-id: http://svn.osgeo.org/postgis/trunk@15374
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Wed, 26 Apr 2017 03:39:41 +0000 (03:39 +0000)]
Revert committ of astyle and commit the intended textstyle.sty
References #3726 for PostGIS 2.4 trunk
git-svn-id: http://svn.osgeo.org/postgis/trunk@15373
b70326c6 -7e19-0410-871a-
916f4a2858ee
Björn Harrtell [Tue, 25 Apr 2017 21:39:58 +0000 (21:39 +0000)]
Cast smaller integer types to the destination type
Fixes #3741 and #3742
git-svn-id: http://svn.osgeo.org/postgis/trunk@15372
b70326c6 -7e19-0410-871a-
916f4a2858ee
Björn Harrtell [Tue, 25 Apr 2017 21:14:25 +0000 (21:14 +0000)]
Comment out failing test for out of tree investigation
git-svn-id: http://svn.osgeo.org/postgis/trunk@15371
b70326c6 -7e19-0410-871a-
916f4a2858ee
Björn Harrtell [Tue, 25 Apr 2017 21:10:58 +0000 (21:10 +0000)]
Restore debug log and improve memory context/allocations
git-svn-id: http://svn.osgeo.org/postgis/trunk@15370
b70326c6 -7e19-0410-871a-
916f4a2858ee
Björn Harrtell [Tue, 25 Apr 2017 20:53:32 +0000 (20:53 +0000)]
Comment out a debug logging causing suspicious test fail
git-svn-id: http://svn.osgeo.org/postgis/trunk@15369
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Tue, 25 Apr 2017 07:08:59 +0000 (07:08 +0000)]
revise ST_Subdivide regress to use ticket instead of github pull request
References #3744
git-svn-id: http://svn.osgeo.org/postgis/trunk@15367
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Tue, 25 Apr 2017 07:02:38 +0000 (07:02 +0000)]
PDF manual from dblatex renders fancy quotes for programlisting
Change to use regular quotes
patch from Mike Toews
Closes #3726 for PostGIS 2.4 (trunk)
git-svn-id: http://svn.osgeo.org/postgis/trunk@15366
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Mon, 24 Apr 2017 18:01:43 +0000 (18:01 +0000)]
ST_Subdivide loses subparts of inverted geometries patch from Darafei Praliaskouski (Komzpa)
References #3744
changed area regress to cast to numeric so doesn't return scientific notation on windows
git-svn-id: http://svn.osgeo.org/postgis/trunk@15363
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sun, 23 Apr 2017 20:21:53 +0000 (20:21 +0000)]
Get rid of logic that set out_srid to same as input srid and change to not try to transform when out_srid is unknown.
References #3738 for PostGIS 2.4 trunk
git-svn-id: http://svn.osgeo.org/postgis/trunk@15361
b70326c6 -7e19-0410-871a-
916f4a2858ee
Björn Harrtell [Fri, 21 Apr 2017 19:40:18 +0000 (19:40 +0000)]
Fix mistakes and some rewording
git-svn-id: http://svn.osgeo.org/postgis/trunk@15360
b70326c6 -7e19-0410-871a-
916f4a2858ee
Björn Harrtell [Fri, 21 Apr 2017 17:21:10 +0000 (17:21 +0000)]
Expand tests to verify redundant value encoding fix
Closes #3741
git-svn-id: http://svn.osgeo.org/postgis/trunk@15359
b70326c6 -7e19-0410-871a-
916f4a2858ee
Björn Harrtell [Fri, 21 Apr 2017 16:58:56 +0000 (16:58 +0000)]
Fix ST_AsMVT string value encoding redundancy
References #3741
git-svn-id: http://svn.osgeo.org/postgis/trunk@15358
b70326c6 -7e19-0410-871a-
916f4a2858ee
Björn Harrtell [Fri, 21 Apr 2017 16:38:33 +0000 (16:38 +0000)]
Add docs about running regression tests individually
git-svn-id: http://svn.osgeo.org/postgis/trunk@15357
b70326c6 -7e19-0410-871a-
916f4a2858ee
Björn Harrtell [Fri, 21 Apr 2017 16:32:26 +0000 (16:32 +0000)]
Upgrade uthash 2.0.1 -> 2.0.2
git-svn-id: http://svn.osgeo.org/postgis/trunk@15356
b70326c6 -7e19-0410-871a-
916f4a2858ee
Björn Harrtell [Wed, 19 Apr 2017 19:39:58 +0000 (19:39 +0000)]
Add logging statements
git-svn-id: http://svn.osgeo.org/postgis/trunk@15355
b70326c6 -7e19-0410-871a-
916f4a2858ee
Björn Harrtell [Wed, 19 Apr 2017 17:43:18 +0000 (17:43 +0000)]
Clear hash tables after usage
git-svn-id: http://svn.osgeo.org/postgis/trunk@15354
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Wed, 12 Apr 2017 13:34:00 +0000 (13:34 +0000)]
Update drone url
git-svn-id: http://svn.osgeo.org/postgis/trunk@15351
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Wed, 12 Apr 2017 13:33:53 +0000 (13:33 +0000)]
fix variable length arrays
git-svn-id: http://svn.osgeo.org/postgis/trunk@15350
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sat, 8 Apr 2017 12:25:39 +0000 (12:25 +0000)]
Get rid of knn tests where multiple records have the same distances
closes #3649 for 2.4
git-svn-id: http://svn.osgeo.org/postgis/trunk@15349
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Fri, 7 Apr 2017 08:28:07 +0000 (08:28 +0000)]
Add <float.h> include so PostGIS can compile against PostgreSQL 10
Closes #3721
git-svn-id: http://svn.osgeo.org/postgis/trunk@15347
b70326c6 -7e19-0410-871a-
916f4a2858ee
Daniel Baston [Tue, 4 Apr 2017 17:38:47 +0000 (17:38 +0000)]
Fix error in docs for ST_ClusterDBSCAN
git-svn-id: http://svn.osgeo.org/postgis/trunk@15345
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Wed, 29 Mar 2017 06:32:34 +0000 (06:32 +0000)]
Run "make update-pot"
git-svn-id: http://svn.osgeo.org/postgis/trunk@15344
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Wed, 29 Mar 2017 06:32:16 +0000 (06:32 +0000)]
Fix documentation of centroid examples.
Patch by Jackie Leng <jccleng@gmail.com> via
https://github.com/postgis/postgis/pull/126
git-svn-id: http://svn.osgeo.org/postgis/trunk@15343
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Fri, 24 Mar 2017 20:51:33 +0000 (20:51 +0000)]
Avoid a few bashisms resulting in invalid SQL files
An echo that's supposed to output a backslash works with bash, but not
in dash. Use printf, instead.
Patch by: Markus Wanner <markus@bluegap.ch>
git-svn-id: http://svn.osgeo.org/postgis/trunk@15342
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Mon, 20 Mar 2017 15:59:16 +0000 (15:59 +0000)]
Clarify behavior of ST_IsPolygon{CW,CCW} with closed linestrings
git-svn-id: http://svn.osgeo.org/postgis/trunk@15341
b70326c6 -7e19-0410-871a-
916f4a2858ee
Daniel Baston [Mon, 20 Mar 2017 13:24:07 +0000 (13:24 +0000)]
ST_IsPolygonCW doc clarifications
git-svn-id: http://svn.osgeo.org/postgis/trunk@15340
b70326c6 -7e19-0410-871a-
916f4a2858ee
Björn Harrtell [Sat, 18 Mar 2017 11:59:23 +0000 (11:59 +0000)]
Clean up C style
git-svn-id: http://svn.osgeo.org/postgis/trunk@15339
b70326c6 -7e19-0410-871a-
916f4a2858ee
Björn Harrtell [Sat, 18 Mar 2017 11:59:04 +0000 (11:59 +0000)]
Add missing static modifier
git-svn-id: http://svn.osgeo.org/postgis/trunk@15338
b70326c6 -7e19-0410-871a-
916f4a2858ee
Björn Harrtell [Fri, 17 Mar 2017 20:52:35 +0000 (20:52 +0000)]
Also consider multi variants when extracting from collections
git-svn-id: http://svn.osgeo.org/postgis/trunk@15337
b70326c6 -7e19-0410-871a-
916f4a2858ee
Daniel Baston [Fri, 17 Mar 2017 00:28:07 +0000 (00:28 +0000)]
#3589, Orientation checking and forcing fuctions
git-svn-id: http://svn.osgeo.org/postgis/trunk@15336
b70326c6 -7e19-0410-871a-
916f4a2858ee
Björn Harrtell [Thu, 16 Mar 2017 13:08:38 +0000 (13:08 +0000)]
Only keep the highest dimension geometry for collections
git-svn-id: http://svn.osgeo.org/postgis/trunk@15335
b70326c6 -7e19-0410-871a-
916f4a2858ee
Daniel Baston [Wed, 15 Mar 2017 15:10:01 +0000 (15:10 +0000)]
Avoid making session-level changes to client_min_messages on install
git-svn-id: http://svn.osgeo.org/postgis/trunk@15334
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Sun, 12 Mar 2017 11:12:36 +0000 (11:12 +0000)]
Topology is enable by default since PostGIS-2.0 (2012)
git-svn-id: http://svn.osgeo.org/postgis/trunk@15333
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sun, 12 Mar 2017 08:40:41 +0000 (08:40 +0000)]
Fix 2.4 title
git-svn-id: http://svn.osgeo.org/postgis/trunk@15332
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Sat, 11 Mar 2017 16:21:18 +0000 (16:21 +0000)]
Fix azimuth computation for 2.5D edge ends
The change disreguard vertical movemements of the edge and computes
azimuth of the first segment getting away from the node.
Includes automated testcase
See #3711
git-svn-id: http://svn.osgeo.org/postgis/trunk@15330
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Sat, 11 Mar 2017 14:33:33 +0000 (14:33 +0000)]
Print more digits in debugging outputs about azimuth computation
git-svn-id: http://svn.osgeo.org/postgis/trunk@15329
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sat, 11 Mar 2017 06:21:06 +0000 (06:21 +0000)]
take out 2.4 enhanced functions section, bah we've enhanced nothing and docbook doesn't like empty enhancement lists.
git-svn-id: http://svn.osgeo.org/postgis/trunk@15328
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sat, 11 Mar 2017 06:06:38 +0000 (06:06 +0000)]
Add what's new in 2.4 section to docs
git-svn-id: http://svn.osgeo.org/postgis/trunk@15327
b70326c6 -7e19-0410-871a-
916f4a2858ee
Björn Harrtell [Fri, 10 Mar 2017 21:54:09 +0000 (21:54 +0000)]
Fix for incorrect scale/translate in ST_AsMVTGeom
git-svn-id: http://svn.osgeo.org/postgis/trunk@15326
b70326c6 -7e19-0410-871a-
916f4a2858ee
Björn Harrtell [Fri, 10 Mar 2017 20:17:32 +0000 (20:17 +0000)]
Add missing guard when libprotobuf-c is not available
git-svn-id: http://svn.osgeo.org/postgis/trunk@15325
b70326c6 -7e19-0410-871a-
916f4a2858ee
Björn Harrtell [Thu, 9 Mar 2017 11:30:59 +0000 (11:30 +0000)]
Improve ST_AsMVT documentation
git-svn-id: http://svn.osgeo.org/postgis/trunk@15324
b70326c6 -7e19-0410-871a-
916f4a2858ee
Björn Harrtell [Tue, 7 Mar 2017 20:32:18 +0000 (20:32 +0000)]
Reworked ST_AsMVT and new ST_AsMVTGeom implementation
References #3712
git-svn-id: http://svn.osgeo.org/postgis/trunk@15323
b70326c6 -7e19-0410-871a-
916f4a2858ee
Björn Harrtell [Mon, 6 Mar 2017 20:40:10 +0000 (20:40 +0000)]
Use PG_DETOAST_DATUM_COPY instead of clone deep
References #3720
git-svn-id: http://svn.osgeo.org/postgis/trunk@15322
b70326c6 -7e19-0410-871a-
916f4a2858ee
Björn Harrtell [Sun, 5 Mar 2017 11:58:54 +0000 (11:58 +0000)]
Clone LWGEOM in aggregation step
References #3720
git-svn-id: http://svn.osgeo.org/postgis/trunk@15321
b70326c6 -7e19-0410-871a-
916f4a2858ee
Björn Harrtell [Tue, 28 Feb 2017 20:39:07 +0000 (20:39 +0000)]
Disable test that is too PG version specific
Fixes #3722
git-svn-id: http://svn.osgeo.org/postgis/trunk@15320
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Mon, 27 Feb 2017 13:58:32 +0000 (13:58 +0000)]
Add Björn Harrtell to core contributors list and move David Zwarg to past
git-svn-id: http://svn.osgeo.org/postgis/trunk@15319
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Mon, 27 Feb 2017 09:34:54 +0000 (09:34 +0000)]
Add Bjorn reference in authors files
git-svn-id: http://svn.osgeo.org/postgis/trunk@15318
b70326c6 -7e19-0410-871a-
916f4a2858ee
Björn Harrtell [Sun, 26 Feb 2017 18:16:54 +0000 (18:16 +0000)]
Geobuf output support via ST_AsGeobuf
Closes #3599
git-svn-id: http://svn.osgeo.org/postgis/trunk@15317
b70326c6 -7e19-0410-871a-
916f4a2858ee
Björn Harrtell [Sun, 26 Feb 2017 16:42:56 +0000 (16:42 +0000)]
Improved integer encoding for ST_AsMVT
Closes #3714
git-svn-id: http://svn.osgeo.org/postgis/trunk@15316
b70326c6 -7e19-0410-871a-
916f4a2858ee
Björn Harrtell [Sun, 26 Feb 2017 16:23:00 +0000 (16:23 +0000)]
Better numeric/string value handling for ST_AsMVT
Closes #3710
git-svn-id: http://svn.osgeo.org/postgis/trunk@15315
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sat, 18 Feb 2017 17:34:29 +0000 (17:34 +0000)]
Clarify that nation script must be run first before any states loaded
references #3699
git-svn-id: http://svn.osgeo.org/postgis/trunk@15314
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Mon, 13 Feb 2017 09:35:23 +0000 (09:35 +0000)]
Fix mishandling of spaces in "configure --with-pgconfig" path
It is quite common to have spaces in installation path names
on Windows, but this will cause trouble with the --with-pgconfig
configure option.
Fix by adding double quotes throughout.
Patch by Laurenz Albe <laurenz.albe@wien.gv.at>
via https://github.com/postgis/postgis/pull/125
git-svn-id: http://svn.osgeo.org/postgis/trunk@15313
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sun, 12 Feb 2017 19:31:10 +0000 (19:31 +0000)]
forgot pkg_config_path and reverted CGAL version change
references #3661
git-svn-id: http://svn.osgeo.org/postgis/trunk@15312
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sun, 12 Feb 2017 19:15:57 +0000 (19:15 +0000)]
Logic for winnie to build and package with protobuf-c support
references #3661
git-svn-id: http://svn.osgeo.org/postgis/trunk@15311
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Thu, 9 Feb 2017 08:29:55 +0000 (08:29 +0000)]
Update gettext templates (make update-pot)
git-svn-id: http://svn.osgeo.org/postgis/trunk@15310
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Thu, 9 Feb 2017 08:29:47 +0000 (08:29 +0000)]
Fix typo
Thanks Anton Bobov (https://github.com/postgis/postgis/pull/124)
git-svn-id: http://svn.osgeo.org/postgis/trunk@15309
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Wed, 8 Feb 2017 13:25:12 +0000 (13:25 +0000)]
Add notes about dependency requirements for ST_AsMVT
Patch by Björn Harrtell <bjorn@wololo.org>
git-svn-id: http://svn.osgeo.org/postgis/trunk@15308
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Tue, 7 Feb 2017 21:42:32 +0000 (21:42 +0000)]
Add check for pkg-config
Patch by Björn Harrtell
References #3661
git-svn-id: http://svn.osgeo.org/postgis/trunk@15307
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Mon, 6 Feb 2017 16:33:23 +0000 (16:33 +0000)]
Mapbox vector tile output support via ST_AsMVT
Implementation by Björn Harrtell / CARTO
References #3661
git-svn-id: http://svn.osgeo.org/postgis/trunk@15304
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Sun, 29 Jan 2017 22:20:49 +0000 (22:20 +0000)]
Pull translation files from transifex
git-svn-id: http://svn.osgeo.org/postgis/trunk@15300
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sat, 28 Jan 2017 08:30:09 +0000 (08:30 +0000)]
Fix for 32-bit lwprint to support ST_AsLatLonText
Closes #3688 for PostGIS 2.4 (trunk)
git-svn-id: http://svn.osgeo.org/postgis/trunk@15296
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Wed, 25 Jan 2017 23:46:00 +0000 (23:46 +0000)]
Turn off loading of tabblock by default. It's been broken since 2014 and not used by the geocoder
References #3698 for PostGIS 2.4
git-svn-id: http://svn.osgeo.org/postgis/trunk@15294
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Tue, 24 Jan 2017 16:37:52 +0000 (16:37 +0000)]
Fix build warnings in PostgreSQL-9.6 based builds
Closes #3696
NOTE: SPI_processed datatype changed from 32 to 64 bit stsarting
with PostgreSQL 9.6
git-svn-id: http://svn.osgeo.org/postgis/trunk@15292
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sun, 22 Jan 2017 05:46:18 +0000 (05:46 +0000)]
Fix for pg_upgrade of pg < 9.5 + 2.3+, pg_upgrade and doing a postgis micro update to latest stable.
References #3683 for PostGIS 2.4 (trunk)
git-svn-id: http://svn.osgeo.org/postgis/trunk@15290
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Wed, 18 Jan 2017 20:58:59 +0000 (20:58 +0000)]
ST_AsLatLonText: round minutes
Patch by Mike Toews, see #3688
git-svn-id: http://svn.osgeo.org/postgis/trunk@15288
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Wed, 18 Jan 2017 13:18:04 +0000 (13:18 +0000)]
Add missing blank line
git-svn-id: http://svn.osgeo.org/postgis/trunk@15287
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sat, 7 Jan 2017 08:45:33 +0000 (08:45 +0000)]
Add regress check for ERROR: index returned tuples in wrong order
references #3418
git-svn-id: http://svn.osgeo.org/postgis/trunk@15284
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Fri, 6 Jan 2017 16:22:38 +0000 (16:22 +0000)]
#3418, KNN recheck in 9.5 fails with index returned tuples in wrong order
While we store float boxes, it is important to carry out *comparisons*
of those boxes in double space, so we can capture small differences.
This works well because the boxes are "overdetermined", they are slightly
larger than they need to be. The bug in this case was caused by a case
where the distance calculation between two boxes was carried out in float
space and as a result the distance got slightly overdetermined, ending
up larger than the actual distance between the objects themselves.
git-svn-id: http://svn.osgeo.org/postgis/trunk@15283
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Thu, 5 Jan 2017 19:51:00 +0000 (19:51 +0000)]
Relationship functions not using an index in some cases
Set cost back to 1 for functions that return a geometry
A higher cost has the side-effect of making the planner
think when used in conjunction with relate constructs like ST_Intersects
it's cheaper to compute the geometry once rather
than compute twice and break into an index and non-index call.
References #3675 for PostGIS 2.4
git-svn-id: http://svn.osgeo.org/postgis/trunk@15281
b70326c6 -7e19-0410-871a-
916f4a2858ee