]> granicus.if.org Git - postgis/log
postgis
8 years agofix extensions build
Sandro Santilli [Mon, 8 Aug 2016 21:08:32 +0000 (21:08 +0000)]
fix extensions build

Patch by Dmitry Vasilyev <vadv.mkn@gmail.com>

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

8 years ago schema qualify function and operator calls in geometry and geography functions
Regina Obe [Sat, 6 Aug 2016 13:05:04 +0000 (13:05 +0000)]
 schema qualify function and operator calls in geometry and geography functions
Closes #3496
Closes #3494
Closes #3486
Closes #3076

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

8 years agoAllocate memory for encoding argument, so it can be safely freed later.
Sandro Santilli [Fri, 5 Aug 2016 14:52:21 +0000 (14:52 +0000)]
Allocate memory for encoding argument, so it can be safely freed later.

Fixes #3608

Patch by Matt Amos <zerebubuth@gmail.com>

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

8 years agoFix inconsistency with multilinestring in ST_LocateBetweenElevations()
Sandro Santilli [Fri, 5 Aug 2016 14:09:06 +0000 (14:09 +0000)]
Fix inconsistency with multilinestring in ST_LocateBetweenElevations()

Fixes bug #3607.
Includes testcase.

Patch by Artur Zakirov <a.zakirov@postgrespro.ru>

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

8 years agocorrect Dalibo spelling.
Regina Obe [Wed, 3 Aug 2016 21:32:17 +0000 (21:32 +0000)]
correct Dalibo spelling.

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

8 years agocorrect company attribution of Ronan and Julien
Regina Obe [Wed, 3 Aug 2016 19:23:11 +0000 (19:23 +0000)]
correct company attribution of Ronan and Julien

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

8 years agoschema qualify raster function calls
Regina Obe [Mon, 1 Aug 2016 05:15:44 +0000 (05:15 +0000)]
schema qualify raster function calls
references #3496

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

8 years agoMark PostgreSQL 9.2 as minimum supported
Regina Obe [Sun, 31 Jul 2016 05:05:50 +0000 (05:05 +0000)]
Mark PostgreSQL 9.2 as minimum supported
closes #3384

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

8 years agoAdd support for BRIN indexes - missed new files on last commit
Regina Obe [Sun, 31 Jul 2016 04:34:16 +0000 (04:34 +0000)]
Add support for BRIN indexes - missed new files on last commit
Closes #3591
Closes https://github.com/postgis/postgis/pull/106

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

8 years ago Add support for BRIN indexes (2nd Quadrant, Giuseppe Broccolo, Julien Rouhaud)
Regina Obe [Sun, 31 Jul 2016 03:46:40 +0000 (03:46 +0000)]
 Add support for BRIN indexes (2nd Quadrant, Giuseppe Broccolo, Julien Rouhaud)
Closes #3591
Closes https://github.com/postgis/postgis/pull/106

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

8 years agoperl as found by configure is not used in tiger, sfcgal, or address_standardizer...
Regina Obe [Sat, 30 Jul 2016 16:56:43 +0000 (16:56 +0000)]
perl as found by configure is not used in tiger, sfcgal, or address_standardizer extensions
references #3602 for PostGIS 2.3 (trunk)
tiger_data not being backed up and add upgrade test
references #3515 for PostGIS 2.3 (trunk)

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

8 years ago#3496 patch commit - Make postgis non-relocateable and schema qualify at least core...
Regina Obe [Wed, 27 Jul 2016 21:50:30 +0000 (21:50 +0000)]
#3496 patch commit - Make postgis non-relocateable and schema qualify at least core functions
make postgis extension not schema relocateble
revise several raster functions to use schema qualified operators and function calls
revise make scripts to strip out schema qualified for non-extension installed, and keep for extension installed

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

8 years agoAdd IRC links
Sandro Santilli [Mon, 25 Jul 2016 08:38:22 +0000 (08:38 +0000)]
Add IRC links

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

8 years agoUpdate korean translation
Sandro Santilli [Sat, 23 Jul 2016 09:23:43 +0000 (09:23 +0000)]
Update korean translation

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

8 years agoclarify tiger load instructions and how to use psql to generate script
Regina Obe [Fri, 22 Jul 2016 20:07:03 +0000 (20:07 +0000)]
clarify tiger load instructions and how to use psql to generate script

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

8 years agoUse a variable for the test-image
Sandro Santilli [Thu, 21 Jul 2016 17:51:41 +0000 (17:51 +0000)]
Use a variable for the test-image

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

8 years agoUse -O0 for test builds, add reference to postgis-docker
Sandro Santilli [Thu, 21 Jul 2016 17:41:48 +0000 (17:41 +0000)]
Use -O0 for test builds, add reference to postgis-docker

Removing the optimization flag reduces build time from ~40s to ~30s

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

8 years agoAvoid the unstable "wait", split build and check steps
Sandro Santilli [Thu, 21 Jul 2016 12:02:08 +0000 (12:02 +0000)]
Avoid the unstable "wait", split build and check steps

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

8 years agoRemove docker configuration,
Sandro Santilli [Thu, 21 Jul 2016 11:31:50 +0000 (11:31 +0000)]
Remove docker configuration,

Project moved to:
http://git.osgeo.org/gogs/postgis/postgis-docker

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

8 years agoUpdate instructions per updated build-test image
Sandro Santilli [Thu, 21 Jul 2016 11:26:33 +0000 (11:26 +0000)]
Update instructions per updated build-test image

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

8 years agoPre-create the "root" PostgreSQL user in the build-test image
Sandro Santilli [Thu, 21 Jul 2016 11:26:24 +0000 (11:26 +0000)]
Pre-create the "root" PostgreSQL user in the build-test image

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

8 years agoUse "DROP TABLE IF EXISTS" on shp2pgsql -d
Sandro Santilli [Thu, 21 Jul 2016 09:46:20 +0000 (09:46 +0000)]
Use "DROP TABLE IF EXISTS" on shp2pgsql -d

Patch by Eugene Antimirov
Closes #2236

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

8 years agoAdd required image directive under clone:
Sandro Santilli [Tue, 19 Jul 2016 22:52:09 +0000 (22:52 +0000)]
Add required image directive under clone:

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

8 years agoOptimize drone cloning step
Sandro Santilli [Tue, 19 Jul 2016 22:45:46 +0000 (22:45 +0000)]
Optimize drone cloning step

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

8 years agoReorder buildbot badges
Sandro Santilli [Tue, 19 Jul 2016 21:56:04 +0000 (21:56 +0000)]
Reorder buildbot badges

Self-hosted first, services last

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

8 years agoAdd Dronie badge
Sandro Santilli [Tue, 19 Jul 2016 21:42:22 +0000 (21:42 +0000)]
Add Dronie badge

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

8 years agoAdd drone and docker config
Sandro Santilli [Tue, 19 Jul 2016 21:42:13 +0000 (21:42 +0000)]
Add drone and docker config

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

8 years agoDo not declare sfcgal_suite_setup when not implemented
Sandro Santilli [Sat, 16 Jul 2016 15:20:06 +0000 (15:20 +0000)]
Do not declare sfcgal_suite_setup when not implemented

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

8 years agoTweak help string for `--' argument
Sandro Santilli [Sat, 16 Jul 2016 08:05:51 +0000 (08:05 +0000)]
Tweak help string for `--' argument

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

8 years agoAdded end-of-options flag '--' to shp2pgsql-cli arguments parser
Sandro Santilli [Fri, 8 Jul 2016 16:37:58 +0000 (16:37 +0000)]
Added end-of-options flag '--' to shp2pgsql-cli arguments parser

Patch by Jörg Habenicht <jh@mwerk.net>

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

8 years agoapt-get update && install on the same line
Sandro Santilli [Tue, 5 Jul 2016 10:15:29 +0000 (10:15 +0000)]
apt-get update && install on the same line

This avoids attempts to install outdated packages due to cached steps

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

8 years agoRemove trailing spaces
Sandro Santilli [Tue, 5 Jul 2016 10:15:14 +0000 (10:15 +0000)]
Remove trailing spaces

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

8 years agoFix my email address
Sandro Santilli [Mon, 4 Jul 2016 15:45:56 +0000 (15:45 +0000)]
Fix my email address

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

8 years agoPull new translations from transifex
Sandro Santilli [Mon, 4 Jul 2016 15:42:22 +0000 (15:42 +0000)]
Pull new translations from transifex

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

8 years agoUpdate my email address
Sandro Santilli [Mon, 4 Jul 2016 12:57:49 +0000 (12:57 +0000)]
Update my email address

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

8 years agoStyle only change: remove trailing spaces
Sandro Santilli [Mon, 4 Jul 2016 12:54:26 +0000 (12:54 +0000)]
Style only change: remove trailing spaces

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

8 years agodocumentation corrections from ruvyn for tiger geocoder
Regina Obe [Sat, 2 Jul 2016 16:34:16 +0000 (16:34 +0000)]
documentation corrections from ruvyn for tiger geocoder
Closes #3593 for PostGIS 2.3

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

8 years agoOptimize and reduce memory usage in ST_ClusterDBSCAN / ST_ClusterWithin
Daniel Baston [Sat, 25 Jun 2016 01:30:12 +0000 (01:30 +0000)]
Optimize and reduce memory usage in ST_ClusterDBSCAN / ST_ClusterWithin

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

8 years agoFix typos. Closes #3589. Thanks ruvyn
Sandro Santilli [Fri, 24 Jun 2016 06:34:41 +0000 (06:34 +0000)]
Fix typos. Closes #3589. Thanks ruvyn

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

8 years agoMake adding a line to topology interruptible
Sandro Santilli [Thu, 23 Jun 2016 07:15:12 +0000 (07:15 +0000)]
Make adding a line to topology interruptible

... as it otherwise gets frustrating when slow (see #3587)

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

8 years agoAdd more debugging lines
Sandro Santilli [Thu, 23 Jun 2016 07:15:05 +0000 (07:15 +0000)]
Add more debugging lines

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

8 years agoDoco fixes
Regina Obe [Mon, 20 Jun 2016 01:45:01 +0000 (01:45 +0000)]
Doco fixes
closes #3584 for PostGIS 2.3
closes #3582 for PostGIS 2.3

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

8 years agotypo geometries should be rasters
Regina Obe [Mon, 20 Jun 2016 01:29:16 +0000 (01:29 +0000)]
typo geometries should be rasters
closes #3585 for 2.3

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

8 years agoAdd test for #3583
Paul Ramsey [Fri, 17 Jun 2016 22:22:40 +0000 (22:22 +0000)]
Add test for #3583

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

8 years agoUse int for iterating over geometry index
Sandro Santilli [Thu, 16 Jun 2016 14:06:47 +0000 (14:06 +0000)]
Use int for iterating over geometry index

Avoids a potential infinite loop on split error (see #454)

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

8 years agoFix wrapping of multigeometry elements becoming multi on wrap
Sandro Santilli [Thu, 16 Jun 2016 14:04:27 +0000 (14:04 +0000)]
Fix wrapping of multigeometry elements becoming multi on wrap

Closes #454 again

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

8 years agoFix LWDEBUGGF definition for non-debug builds
Sandro Santilli [Thu, 16 Jun 2016 13:04:05 +0000 (13:04 +0000)]
Fix LWDEBUGGF definition for non-debug builds

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

8 years agoAdd missing LWDEBUGGF macro definition for non-debug builds
Sandro Santilli [Thu, 16 Jun 2016 13:03:58 +0000 (13:03 +0000)]
Add missing LWDEBUGGF macro definition for non-debug builds

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

8 years agoFix macro redefinition
Sandro Santilli [Thu, 16 Jun 2016 12:51:51 +0000 (12:51 +0000)]
Fix macro redefinition

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

8 years agoAdd LWDEBUGGF macro
Sandro Santilli [Thu, 16 Jun 2016 11:25:59 +0000 (11:25 +0000)]
Add LWDEBUGGF macro

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

8 years agoAdd LWDEBUGG macro in lwgeom_log.h
Sandro Santilli [Thu, 16 Jun 2016 10:45:12 +0000 (10:45 +0000)]
Add LWDEBUGG macro in lwgeom_log.h

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

8 years agoShorten ST_ShiftLongitude refpurpose section
Sandro Santilli [Thu, 16 Jun 2016 09:18:36 +0000 (09:18 +0000)]
Shorten ST_ShiftLongitude refpurpose section

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

8 years agoImplement lwgeom_wrapx and ST_WrapX
Sandro Santilli [Thu, 16 Jun 2016 09:09:26 +0000 (09:09 +0000)]
Implement lwgeom_wrapx and ST_WrapX

Includes tests (both cunit and regress) and documentation.

Closes #454

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

8 years agoStyle only change: remove trailing and tab-leading spaces
Sandro Santilli [Thu, 16 Jun 2016 08:46:07 +0000 (08:46 +0000)]
Style only change: remove trailing and tab-leading spaces

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

8 years ago#3579, crash in LWGEOM2GEOS
Paul Ramsey [Wed, 15 Jun 2016 20:47:10 +0000 (20:47 +0000)]
#3579, crash in LWGEOM2GEOS

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

8 years agoRemove spurious newline in regress expected
Sandro Santilli [Wed, 15 Jun 2016 16:47:22 +0000 (16:47 +0000)]
Remove spurious newline in regress expected

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

8 years agoRegister a debug logger for unit tester
Sandro Santilli [Wed, 15 Jun 2016 16:31:09 +0000 (16:31 +0000)]
Register a debug logger for unit tester

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

8 years agoFix typos in debug strings
Sandro Santilli [Wed, 15 Jun 2016 16:31:02 +0000 (16:31 +0000)]
Fix typos in debug strings

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

8 years agoStyle only change: remove trailing spaces
Sandro Santilli [Wed, 15 Jun 2016 16:28:28 +0000 (16:28 +0000)]
Style only change: remove trailing spaces

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

8 years agoFix typo in documentation
Sandro Santilli [Wed, 15 Jun 2016 16:01:40 +0000 (16:01 +0000)]
Fix typo in documentation

Closes #1768 again

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

8 years agoShorten refpurpose sections, always use first person
Sandro Santilli [Wed, 15 Jun 2016 14:21:00 +0000 (14:21 +0000)]
Shorten refpurpose sections, always use first person

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

8 years agoAdd ST_Normalize function
Sandro Santilli [Wed, 15 Jun 2016 09:49:50 +0000 (09:49 +0000)]
Add ST_Normalize function

Includes tests and documentation

Closes #1768

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

8 years agostyle only change: remove trailing spaces
Sandro Santilli [Wed, 15 Jun 2016 09:49:39 +0000 (09:49 +0000)]
style only change: remove trailing spaces

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

8 years agostyle only change: remove trailing spaces
Sandro Santilli [Wed, 15 Jun 2016 09:27:56 +0000 (09:27 +0000)]
style only change: remove trailing spaces

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

8 years agostyle only change: remove trailing spaces
Sandro Santilli [Wed, 15 Jun 2016 09:14:27 +0000 (09:14 +0000)]
style only change: remove trailing spaces

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

8 years agoFix description for ST_NumInteriorRings
Sandro Santilli [Tue, 14 Jun 2016 10:29:08 +0000 (10:29 +0000)]
Fix description for ST_NumInteriorRings

Closes #3576

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

8 years agoFix another printf format string for SPI_processed (not a long)
Sandro Santilli [Tue, 14 Jun 2016 05:33:49 +0000 (05:33 +0000)]
Fix another printf format string for SPI_processed (not a long)

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

8 years agoFix printf format for SPI_processed (not a long)
Sandro Santilli [Wed, 8 Jun 2016 09:17:32 +0000 (09:17 +0000)]
Fix printf format for SPI_processed (not a long)

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

8 years agoMake test for #3573 run only on PG 9.5+
Daniel Baston [Tue, 7 Jun 2016 21:55:30 +0000 (21:55 +0000)]
Make test for #3573 run only on PG 9.5+

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

8 years ago#3573, operator <<->> incorrectly calculates m distance
Daniel Baston [Tue, 7 Jun 2016 13:39:18 +0000 (13:39 +0000)]
#3573, operator <<->> incorrectly calculates m distance

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

8 years agoResolve scan-build strncat warning
Daniel Baston [Tue, 7 Jun 2016 12:57:22 +0000 (12:57 +0000)]
Resolve scan-build strncat warning

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

8 years agoMark stable and immutable strict functions as parallel safe
Regina Obe [Tue, 7 Jun 2016 05:43:14 +0000 (05:43 +0000)]
Mark stable and immutable strict functions as parallel safe
references #3556

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

8 years agoCorrect ST_ClusterDBSCAN doc XML
Daniel Baston [Mon, 6 Jun 2016 13:42:12 +0000 (13:42 +0000)]
Correct ST_ClusterDBSCAN doc XML

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

8 years agoFix memory leak in lwgeom_cluster_2d_kmeans
Daniel Baston [Mon, 6 Jun 2016 12:28:13 +0000 (12:28 +0000)]
Fix memory leak in lwgeom_cluster_2d_kmeans

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

8 years ago#3572, ST_ClusterDBSCAN should not join clusters by their borders
Daniel Baston [Mon, 6 Jun 2016 12:24:32 +0000 (12:24 +0000)]
#3572, ST_ClusterDBSCAN should not join clusters by their borders

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

8 years agoInstall desktop file and application icons for shp2pgsql-gui (Sebastiaan Couwenberg)
Regina Obe [Sat, 4 Jun 2016 18:10:50 +0000 (18:10 +0000)]
Install desktop file and application icons for shp2pgsql-gui (Sebastiaan Couwenberg)
References #3571 for PostGIS 2.3

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

8 years agoPreserve SRID in ST_Expand
Daniel Baston [Fri, 3 Jun 2016 00:38:40 +0000 (00:38 +0000)]
Preserve SRID in ST_Expand

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

8 years ago#3059, Allow passing per-dimension parameters in ST_Expand (remaining changes)
Daniel Baston [Thu, 2 Jun 2016 22:47:05 +0000 (22:47 +0000)]
#3059, Allow passing per-dimension parameters in ST_Expand (remaining changes)

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

8 years ago#3059, Allow passing per-dimension parameters in ST_Expand
Daniel Baston [Thu, 2 Jun 2016 22:28:47 +0000 (22:28 +0000)]
#3059, Allow passing per-dimension parameters in ST_Expand

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

8 years ago#3567, Make ST_ClusterDBSCAN return a NULL id for inputs not in any cluster
Daniel Baston [Thu, 2 Jun 2016 01:24:52 +0000 (01:24 +0000)]
#3567, Make ST_ClusterDBSCAN return a NULL id for inputs not in any cluster

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

8 years agoImprove query performance in cb_getEdgeByFace
Sandro Santilli [Tue, 31 May 2016 10:07:55 +0000 (10:07 +0000)]
Improve query performance in cb_getEdgeByFace

Avoids 1 output and 1 parse calls for hexwkb,
2 output and parse calls for integer arrays.
Was found reducing runtime from 16 seconds to 10 seconds for
adding a single polygon with a large shell and 129 holes
to an empty topology.

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

8 years agoDo not leak a serialized geometry
Sandro Santilli [Tue, 31 May 2016 07:58:21 +0000 (07:58 +0000)]
Do not leak a serialized geometry

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

8 years agoImprove query performance in cb_getFaceContainingPoint
Sandro Santilli [Tue, 31 May 2016 07:22:50 +0000 (07:22 +0000)]
Improve query performance in cb_getFaceContainingPoint

Avoids 1 output and 2 parse calls for hexwkb.
Was found reducing runtime from 23 seconds to 16 seconds for
adding a single polygon with a large shell and 129 holes
to an empty topology.

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

8 years agoUse space indent for topology/*
Sandro Santilli [Tue, 31 May 2016 07:22:42 +0000 (07:22 +0000)]
Use space indent for topology/*

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

8 years agoFix typo in comment
Sandro Santilli [Mon, 30 May 2016 07:48:18 +0000 (07:48 +0000)]
Fix typo in comment

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

8 years agoEdits to ST_MakePolygon doc
Daniel Baston [Wed, 25 May 2016 00:56:30 +0000 (00:56 +0000)]
Edits to ST_MakePolygon doc

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

8 years agoCorrection to doc for ST_GeomFromText (it accepts SRIDs not defined in spatial_ref_sys)
Daniel Baston [Wed, 25 May 2016 00:49:06 +0000 (00:49 +0000)]
Correction to doc for ST_GeomFromText (it accepts SRIDs not defined in spatial_ref_sys)

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

8 years agoAdd some missing NEWS items for 2.3
Daniel Baston [Wed, 18 May 2016 00:55:08 +0000 (00:55 +0000)]
Add some missing NEWS items for 2.3

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

8 years agoAdd some tests to document ST_Expand behavior
Daniel Baston [Wed, 18 May 2016 00:34:59 +0000 (00:34 +0000)]
Add some tests to document ST_Expand behavior

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

8 years ago#3557 Flag more geometry functions as parallel safe
Regina Obe [Tue, 17 May 2016 01:24:39 +0000 (01:24 +0000)]
#3557 Flag more geometry functions as parallel safe

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

8 years agoAdd -L switch to provide custom TOC to postgis_restore.pl
Sandro Santilli [Mon, 16 May 2016 16:11:13 +0000 (16:11 +0000)]
Add -L switch to provide custom TOC to postgis_restore.pl

Patch by Christoph Moench-Tegeder, improved to add usage text

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

8 years agoTrim trailing spaces
Sandro Santilli [Mon, 16 May 2016 16:11:05 +0000 (16:11 +0000)]
Trim trailing spaces

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

8 years agoFunction costs for geometry functions based on query stats (Paul Norman)
Regina Obe [Mon, 16 May 2016 07:14:27 +0000 (07:14 +0000)]
Function costs for geometry functions based on query stats (Paul Norman)
closes #3557

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

8 years ago#3549, parallel query in PgSQL 9.6
Paul Ramsey [Sun, 15 May 2016 15:24:13 +0000 (15:24 +0000)]
#3549, parallel query in PgSQL 9.6
This patch mostly just marks a large number of functions
as "parallel safe" when compiled against 9.6. As noted
in

http://blog.cleverelephant.ca/2016/03/parallel-postgis.html
http://blog.cleverelephant.ca/2016/03/parallel-postgis-joins.html

this alone will not necessarily be sufficient to cause
parallel processing to kick in. We will additionally need to
bump up function costs across the board, and even then may
require some extra kicking of GUCs to force spatial query
plans into parallelism as good moments.

The _PARALLEL keyword is used in sql.in files to add
PARALLEL SAFE to function definitions if invoked in the
presence of PgSQL 9.6. This works fine in new installs
but upgrades will need to be tested.

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

8 years agoConvert some SED to PERL for more reliability in BSD-style unixes and have non-gnu sed
Paul Ramsey [Sun, 15 May 2016 15:15:28 +0000 (15:15 +0000)]
Convert some SED to PERL for more reliability in BSD-style unixes and have non-gnu sed

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

8 years agoQuiet compile warning on printf(%d) on long int
Paul Ramsey [Sun, 15 May 2016 15:09:20 +0000 (15:09 +0000)]
Quiet compile warning on printf(%d) on long int

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

8 years agoreferences #3552 get rid of depecated calls for PostGIS 2.3
Regina Obe [Thu, 12 May 2016 19:05:45 +0000 (19:05 +0000)]
references #3552 get rid of depecated calls for PostGIS 2.3

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

8 years agoMove static structures where used, fixes compile warnings
Sandro Santilli [Thu, 12 May 2016 09:59:51 +0000 (09:59 +0000)]
Move static structures where used, fixes compile warnings

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

8 years agoUpdate debbie and winnie links to use https
Sandro Santilli [Thu, 12 May 2016 08:21:35 +0000 (08:21 +0000)]
Update debbie and winnie links to use https

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

8 years agoFix logic error introduced in r14890
Daniel Baston [Wed, 11 May 2016 14:30:37 +0000 (14:30 +0000)]
Fix logic error introduced in r14890

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