]> granicus.if.org Git - postgis/log
postgis
7 years agoBoolean (FTLogical) should be 1 byte not 2 bytes
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

7 years agoReadd homogenize and expect empty output on collapsed polygon
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

7 years agoFix check for empty or null geometry and more strict precision reducing
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

7 years agoRework ST_AsMVTGeom clipping logic
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

7 years agoFix wrong char * allocation size
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

7 years agoMake copy of string that will be deallocated and remove unused code
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

7 years agoMake copy of string that will be deallocated and make bool type clear
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

7 years agoRevert MemoryContext refactor
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

7 years agoRevert committ of astyle and commit the intended textstyle.sty
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

7 years agoCast smaller integer types to the destination type
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

7 years agoComment out failing test for out of tree investigation
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

7 years agoRestore debug log and improve memory context/allocations
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

7 years agoComment out a debug logging causing suspicious test fail
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

7 years agorevise ST_Subdivide regress to use ticket instead of github pull request
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

7 years agoPDF manual from dblatex renders fancy quotes for programlisting
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

7 years agoST_Subdivide loses subparts of inverted geometries patch from Darafei Praliaskouski...
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

7 years agoGet rid of logic that set out_srid to same as input srid and change to not try to...
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

7 years agoFix mistakes and some rewording
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

7 years agoExpand tests to verify redundant value encoding fix
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

7 years agoFix ST_AsMVT string value encoding redundancy
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

7 years agoAdd docs about running regression tests individually
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

7 years agoUpgrade uthash 2.0.1 -> 2.0.2
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

7 years agoAdd logging statements
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

7 years agoClear hash tables after usage
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

7 years agoUpdate drone url
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

7 years agofix variable length arrays
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

7 years agoGet rid of knn tests where multiple records have the same distances
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

7 years agoAdd <float.h> include so PostGIS can compile against PostgreSQL 10
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

7 years agoFix error in docs for ST_ClusterDBSCAN
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

7 years agoRun "make update-pot"
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

7 years agoFix documentation of centroid examples.
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

7 years agoAvoid a few bashisms resulting in invalid SQL files
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

7 years agoClarify behavior of ST_IsPolygon{CW,CCW} with closed linestrings
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

7 years agoST_IsPolygonCW doc clarifications
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

7 years agoClean up C style
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

7 years agoAdd missing static modifier
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

7 years agoAlso consider multi variants when extracting from collections
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

7 years ago#3589, Orientation checking and forcing fuctions
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

7 years agoOnly keep the highest dimension geometry for collections
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

7 years agoAvoid making session-level changes to client_min_messages on install
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

7 years agoTopology is enable by default since PostGIS-2.0 (2012)
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

7 years agoFix 2.4 title
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

7 years agoFix azimuth computation for 2.5D edge ends
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

7 years agoPrint more digits in debugging outputs about azimuth computation
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

7 years agotake out 2.4 enhanced functions section, bah we've enhanced nothing and docbook doesn...
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

7 years agoAdd what's new in 2.4 section to docs
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

7 years agoFix for incorrect scale/translate in ST_AsMVTGeom
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

7 years agoAdd missing guard when libprotobuf-c is not available
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

7 years agoImprove ST_AsMVT documentation
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

7 years agoReworked ST_AsMVT and new ST_AsMVTGeom implementation
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

7 years agoUse PG_DETOAST_DATUM_COPY instead of clone deep
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

7 years agoClone LWGEOM in aggregation step
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

7 years agoDisable test that is too PG version specific
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

7 years agoAdd Björn Harrtell to core contributors list and move David Zwarg to past
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

7 years agoAdd Bjorn reference in authors files
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

7 years agoGeobuf output support via ST_AsGeobuf
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

7 years agoImproved integer encoding for ST_AsMVT
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

7 years agoBetter numeric/string value handling for ST_AsMVT
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

7 years agoClarify that nation script must be run first before any states loaded
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

8 years agoFix mishandling of spaces in "configure --with-pgconfig" path
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

8 years agoforgot pkg_config_path and reverted CGAL version change
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

8 years agoLogic for winnie to build and package with protobuf-c support
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

8 years agoUpdate gettext templates (make update-pot)
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

8 years agoFix typo
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

8 years agoAdd notes about dependency requirements for ST_AsMVT
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

8 years agoAdd check for pkg-config
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

8 years agoMapbox vector tile output support via ST_AsMVT
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

8 years agoPull translation files from transifex
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

8 years agoFix for 32-bit lwprint to support ST_AsLatLonText
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

8 years agoTurn off loading of tabblock by default. It's been broken since 2014 and not used...
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

8 years agoFix build warnings in PostgreSQL-9.6 based builds
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

8 years agoFix for pg_upgrade of pg < 9.5 + 2.3+, pg_upgrade and doing a postgis micro update...
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

8 years agoST_AsLatLonText: round minutes
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

8 years agoAdd missing blank line
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

8 years agoAdd regress check for ERROR: index returned tuples in wrong order
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

8 years ago#3418, KNN recheck in 9.5 fails with index returned tuples in wrong order
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

8 years agoRelationship functions not using an index in some cases
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

8 years agoAdd PostGIS 2.3.1 as a target
Regina Obe [Tue, 20 Dec 2016 00:08:32 +0000 (00:08 +0000)]
Add PostGIS 2.3.1 as a target

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

8 years agoPostGIS upgrade scripts missing GRANT for views
Regina Obe [Tue, 20 Dec 2016 00:07:54 +0000 (00:07 +0000)]
PostGIS upgrade scripts missing GRANT for views
references #3680 for trunk (PostGIS 2.4)

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

8 years agoFully qualify performance test script
Sandro Santilli [Fri, 16 Dec 2016 18:55:39 +0000 (18:55 +0000)]
Fully qualify performance test script

... helps running it from single-mode postgres

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

8 years agoUse a cached prepared statement for loading topology records
Sandro Santilli [Sat, 10 Dec 2016 09:33:42 +0000 (09:33 +0000)]
Use a cached prepared statement for loading topology records

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

8 years agoAdd simple performance tester for TopoGeo_addLinestring
Sandro Santilli [Sat, 10 Dec 2016 09:33:36 +0000 (09:33 +0000)]
Add simple performance tester for TopoGeo_addLinestring

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

8 years agoComment out what appears to be an old debugging line
Paul Ramsey [Fri, 9 Dec 2016 17:10:09 +0000 (17:10 +0000)]
Comment out what appears to be an old debugging line

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

8 years ago#3645, do not load logically deleted records from shape files
Paul Ramsey [Fri, 9 Dec 2016 17:09:10 +0000 (17:09 +0000)]
#3645, do not load logically deleted records from shape files

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

8 years ago4x speed improvement in GetFaceByPoint
Sandro Santilli [Sat, 3 Dec 2016 22:05:08 +0000 (22:05 +0000)]
4x speed improvement in GetFaceByPoint

Implies a speedup in topology loading too, whereas the
face-containing-point callback is used twice per added line.

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

8 years agoCost on ST_SetSRID is preventing index use with relation functions. Change from 10...
Regina Obe [Sat, 3 Dec 2016 20:36:47 +0000 (20:36 +0000)]
Cost on ST_SetSRID is preventing index use with relation functions. Change from 10 to 1.
References #3675 for PostGIS 2.4

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

8 years agoRefactor logic for ST_MakeEnvelope to be reusable in liblwgeom
Sandro Santilli [Fri, 2 Dec 2016 08:06:09 +0000 (08:06 +0000)]
Refactor logic for ST_MakeEnvelope to be reusable in liblwgeom

Patch by Björn Harrtell via
https://git.osgeo.org/gogs/postgis/postgis/pulls/8

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

8 years agominor update
Regina Obe [Mon, 28 Nov 2016 00:41:28 +0000 (00:41 +0000)]
minor update

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

8 years agoAdd build badges, trunk vs. branch release
Regina Obe [Sat, 26 Nov 2016 21:51:07 +0000 (21:51 +0000)]
Add build badges, trunk vs. branch release
references #3671 for PostGIS 2.4 (trunk)

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

8 years agoMark ST_Extent, ST_Mem* aggregate functions parallel safe
Regina Obe [Sat, 26 Nov 2016 19:23:00 +0000 (19:23 +0000)]
Mark ST_Extent, ST_Mem* aggregate functions parallel safe
references #3650 for PostGIS 2.4 (trunk)

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

8 years agoST_DumpAsPolygons documentation confusing wrt no data value
Regina Obe [Sat, 26 Nov 2016 16:39:06 +0000 (16:39 +0000)]
ST_DumpAsPolygons documentation confusing wrt no data value
references #3512 for PostGIS 2.4 (trunk)

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

8 years agoST_Equals documentation does not describe current behavior
Regina Obe [Sat, 26 Nov 2016 15:18:01 +0000 (15:18 +0000)]
ST_Equals documentation does not describe current behavior
closes #3566 for 2.4.0 (trunk)

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

8 years agoIncorrect parameter name for CreateTopology
Regina Obe [Sat, 26 Nov 2016 14:59:52 +0000 (14:59 +0000)]
Incorrect parameter name for CreateTopology
references #3509 for 2.4.0 (trunk)

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

8 years agoReorganize code to make comments have more sense
Sandro Santilli [Wed, 23 Nov 2016 07:34:29 +0000 (07:34 +0000)]
Reorganize code to make comments have more sense

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

8 years agoadd raster constraint max extent exceeds array size limit
Regina Obe [Tue, 22 Nov 2016 06:58:02 +0000 (06:58 +0000)]
add raster constraint max extent exceeds array size limit
references #3501 for trunk (PostGIS 2.4)

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

8 years agoRemove trailing blankspaces
Sandro Santilli [Mon, 21 Nov 2016 15:27:19 +0000 (15:27 +0000)]
Remove trailing blankspaces

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

8 years agoDo not continue execution of ptarray_to_GEOSCoordSeq on error
Sandro Santilli [Mon, 21 Nov 2016 15:27:12 +0000 (15:27 +0000)]
Do not continue execution of ptarray_to_GEOSCoordSeq on error

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

8 years agoDo not continue execution of getPoint4d_p on error
Sandro Santilli [Mon, 21 Nov 2016 15:27:06 +0000 (15:27 +0000)]
Do not continue execution of getPoint4d_p on error

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

8 years agoFix too many arguments warning introduced with r15236
Sandro Santilli [Mon, 21 Nov 2016 15:24:13 +0000 (15:24 +0000)]
Fix too many arguments warning introduced with r15236

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

8 years agoChange MSG line
Paul Ramsey [Mon, 21 Nov 2016 15:03:20 +0000 (15:03 +0000)]
Change MSG line

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