Commit graph

11012 commits

Author SHA1 Message Date
Sandro Santilli c045a7ca6e First pass of style tweaks
Use space indent by default, tabs for Makefiles and C sources.
Add comments

git-svn-id: http://svn.osgeo.org/postgis/trunk@14823 b70326c6-7e19-0410-871a-916f4a2858ee
2016-04-06 08:43:15 +00:00
Sandro Santilli 3f09075b18 Remove reference to '*.in.c' files as they don't exist anymore
git-svn-id: http://svn.osgeo.org/postgis/trunk@14822 b70326c6-7e19-0410-871a-916f4a2858ee
2016-04-06 08:43:09 +00:00
Sandro Santilli 6c63cd7c1a Stub an EditorConfig configuration
See http://editorconfig.org/

git-svn-id: http://svn.osgeo.org/postgis/trunk@14821 b70326c6-7e19-0410-871a-916f4a2858ee
2016-04-06 07:30:47 +00:00
Regina Obe a0d3a85469 minor cleanup to prevent adding ofa ll address*.dlls
git-svn-id: http://svn.osgeo.org/postgis/trunk@14816 b70326c6-7e19-0410-871a-916f4a2858ee
2016-04-03 20:43:18 +00:00
Daniel Baston 9253042004 #3516, ST_Voronoi crashes backend
git-svn-id: http://svn.osgeo.org/postgis/trunk@14810 b70326c6-7e19-0410-871a-916f4a2858ee
2016-03-26 23:23:48 +00:00
Paul Ramsey 13e6715a2d Ignore some new build artifacts
git-svn-id: http://svn.osgeo.org/postgis/trunk@14809 b70326c6-7e19-0410-871a-916f4a2858ee
2016-03-24 23:40:07 +00:00
Sandro Santilli a1a8b815f7 Add 2.2.2 section
git-svn-id: http://svn.osgeo.org/postgis/trunk@14805 b70326c6-7e19-0410-871a-916f4a2858ee
2016-03-23 11:46:25 +00:00
Sandro Santilli f9ee51ae87 Remove unused function
git-svn-id: http://svn.osgeo.org/postgis/trunk@14804 b70326c6-7e19-0410-871a-916f4a2858ee
2016-03-23 11:46:17 +00:00
Regina Obe 62d0287ec6 Force sorting in ST_ColorMap test (fix aliasing issue rid was aliased as testid)
closes #3503

git-svn-id: http://svn.osgeo.org/postgis/trunk@14794 b70326c6-7e19-0410-871a-916f4a2858ee
2016-03-20 19:52:40 +00:00
Regina Obe ef1a2d9ff4 Force sorting in ST_ColorMap test
references #3503

git-svn-id: http://svn.osgeo.org/postgis/trunk@14793 b70326c6-7e19-0410-871a-916f4a2858ee
2016-03-20 19:41:05 +00:00
Regina Obe 93e0273309 upport ST_AsEncodedPolyLine google example, alphabetize entries
git-svn-id: http://svn.osgeo.org/postgis/trunk@14792 b70326c6-7e19-0410-871a-916f4a2858ee
2016-03-20 06:33:10 +00:00
Paul Ramsey df9f43703c pass POINT EMPTY tests on fun architectures, #3426
git-svn-id: http://svn.osgeo.org/postgis/trunk@14788 b70326c6-7e19-0410-871a-916f4a2858ee
2016-03-17 16:36:04 +00:00
Daniel Baston 45b0803360 #3466, Casting from box3d to geometry drops Z dimension (Julien Rouhaud)
git-svn-id: http://svn.osgeo.org/postgis/trunk@14786 b70326c6-7e19-0410-871a-916f4a2858ee
2016-03-15 01:08:59 +00:00
Daniel Baston 59a06fcf53 fix typo in comment
git-svn-id: http://svn.osgeo.org/postgis/trunk@14785 b70326c6-7e19-0410-871a-916f4a2858ee
2016-03-13 22:25:39 +00:00
Regina Obe 3e3cda6895 Force order in ST_GeneratePoints so results are deterministic on all platforms
Closes #3502

git-svn-id: http://svn.osgeo.org/postgis/trunk@14779 b70326c6-7e19-0410-871a-916f4a2858ee
2016-03-12 18:15:50 +00:00
Regina Obe b562afbfa2 start schema qualifying calls
references #3451

git-svn-id: http://svn.osgeo.org/postgis/trunk@14778 b70326c6-7e19-0410-871a-916f4a2858ee
2016-03-12 17:49:56 +00:00
Regina Obe 937418a71f Exclude all c functions from schema qual except ST_Transform we know calls spatial_ref_sys and is an issue in materialized views and spatial indexes.
References #3490 for 2.3 (also added pg_catalog since dumps have it - in theory it gets automatically added, but just in case)


git-svn-id: http://svn.osgeo.org/postgis/trunk@14772 b70326c6-7e19-0410-871a-916f4a2858ee
2016-03-11 01:34:04 +00:00
Regina Obe e65a1272f8 avoid adding search_path to functions that work on internals (fix typo in last commit)
references #3497

git-svn-id: http://svn.osgeo.org/postgis/trunk@14769 b70326c6-7e19-0410-871a-916f4a2858ee
2016-03-10 06:35:48 +00:00
Regina Obe 51384756b4 avoid adding search_path to functions that work on internals
references #3497

git-svn-id: http://svn.osgeo.org/postgis/trunk@14768 b70326c6-7e19-0410-871a-916f4a2858ee
2016-03-10 04:21:46 +00:00
Daniel Baston 45227bedcc #3460, ST_ClusterWithin 'tolerance not defined' error after upgrade
git-svn-id: http://svn.osgeo.org/postgis/trunk@14766 b70326c6-7e19-0410-871a-916f4a2858ee
2016-03-09 13:06:52 +00:00
Regina Obe f1ba3c5142 Cleanup addition of search_path for upgrade scripts
exclude addgeometry*, addraster*, addoverview* from seach_path function setting.
These in calls that don't take schema use the current search_path to find table.
References #3495 for 2.3 (trunk)

git-svn-id: http://svn.osgeo.org/postgis/trunk@14762 b70326c6-7e19-0410-871a-916f4a2858ee
2016-03-08 19:15:17 +00:00
Regina Obe 0dcd5b0287 fix compile error introduced in X3D commeit
references #3435

git-svn-id: http://svn.osgeo.org/postgis/trunk@14758 b70326c6-7e19-0410-871a-916f4a2858ee
2016-03-06 08:06:21 +00:00
Regina Obe 6c50653ead Use Tomvantilburg suggestion and just hard-code convex='false' for all IndexedFaceSets.
Corrects the output of wrongly rendered without affecting true convex
Closes #3435 for PostGIS 2.3 (trunk).
Update Copyright info


git-svn-id: http://svn.osgeo.org/postgis/trunk@14757 b70326c6-7e19-0410-871a-916f4a2858ee
2016-03-06 00:43:07 +00:00
Regina Obe f368926a88 remove this hard-coded script superceded by perl generation script of #3490
References #2485

git-svn-id: http://svn.osgeo.org/postgis/trunk@14751 b70326c6-7e19-0410-871a-916f4a2858ee
2016-03-05 06:01:03 +00:00
Regina Obe 68ad685a85 Revise script generation to exclude SQL functions that are NOT STRICT.
Integrate into testing
Integrate into create extension
References #3490 for PostGIS 2.3

git-svn-id: http://svn.osgeo.org/postgis/trunk@14750 b70326c6-7e19-0410-871a-916f4a2858ee
2016-03-05 05:37:31 +00:00
Regina Obe b8a3698fe3 script to set search_path of functions.
Sadly this thwarts use of spatial indexes.  
Need to think about this more. References #3490

git-svn-id: http://svn.osgeo.org/postgis/trunk@14749 b70326c6-7e19-0410-871a-916f4a2858ee
2016-03-05 01:53:49 +00:00
Daniel Baston da6bdf0a45 Add availability info for ST_Points
git-svn-id: http://svn.osgeo.org/postgis/trunk@14748 b70326c6-7e19-0410-871a-916f4a2858ee
2016-03-05 01:51:24 +00:00
Daniel Baston 40dd6f8f66 Add new files for #3364
git-svn-id: http://svn.osgeo.org/postgis/trunk@14747 b70326c6-7e19-0410-871a-916f4a2858ee
2016-03-05 01:27:32 +00:00
Daniel Baston 05afd9d9de #3364, ST_GeometricMedian
git-svn-id: http://svn.osgeo.org/postgis/trunk@14746 b70326c6-7e19-0410-871a-916f4a2858ee
2016-03-05 01:22:48 +00:00
Daniel Baston 39d2c1dc56 #3480, copy input geometries to ST_ClusterDBSCAN
git-svn-id: http://svn.osgeo.org/postgis/trunk@14745 b70326c6-7e19-0410-871a-916f4a2858ee
2016-03-04 14:51:36 +00:00
Sandro Santilli 477d9231bc Add comment to topology face and node tables
git-svn-id: http://svn.osgeo.org/postgis/trunk@14744 b70326c6-7e19-0410-871a-916f4a2858ee
2016-03-04 08:29:45 +00:00
Paul Ramsey a37e4f75d9 Replace use of 'sed' with 'perl -pe' to avoid sed incompatibilities on BSD-flavoured OS's like OSX and Solaris
git-svn-id: http://svn.osgeo.org/postgis/trunk@14743 b70326c6-7e19-0410-871a-916f4a2858ee
2016-03-03 21:17:13 +00:00
Paul Ramsey 724fd69136 Be a little more careful w/ input sets full of nulls and empties
git-svn-id: http://svn.osgeo.org/postgis/trunk@14742 b70326c6-7e19-0410-871a-916f4a2858ee
2016-03-03 21:16:36 +00:00
Sandro Santilli c6f92f5b19 Give more decimal digits in edge-motion collision detection point
git-svn-id: http://svn.osgeo.org/postgis/trunk@14740 b70326c6-7e19-0410-871a-916f4a2858ee
2016-03-03 11:34:19 +00:00
Sandro Santilli c567e3a043 Have make_dist.sh use current branch as the default target branch
Works both with GIT and SVN

git-svn-id: http://svn.osgeo.org/postgis/trunk@14738 b70326c6-7e19-0410-871a-916f4a2858ee
2016-03-03 09:22:13 +00:00
Sandro Santilli 53de0e3e2c Always remove any previously existing dist dir on ./make_dist.sh
Simplifies the code and makes it POSIX compliant.
See #3488

git-svn-id: http://svn.osgeo.org/postgis/trunk@14737 b70326c6-7e19-0410-871a-916f4a2858ee
2016-03-03 08:40:22 +00:00
Sandro Santilli c0039877bf Update gitlab-ci badge url
git-svn-id: http://svn.osgeo.org/postgis/trunk@14735 b70326c6-7e19-0410-871a-916f4a2858ee
2016-03-02 17:58:46 +00:00
Sandro Santilli c32d04659a Allow passing custom configure flags and make command
Patch by Greg Troxel.

Closes #3165

git-svn-id: http://svn.osgeo.org/postgis/trunk@14734 b70326c6-7e19-0410-871a-916f4a2858ee
2016-03-02 16:27:07 +00:00
Paul Ramsey e3b8752f22 #3479 Fix assertion crash added after initial fix
git-svn-id: http://svn.osgeo.org/postgis/trunk@14733 b70326c6-7e19-0410-871a-916f4a2858ee
2016-03-01 18:21:42 +00:00
Sandro Santilli d954627489 Automatically use GIT if a .git directory exists locally
See #3482

git-svn-id: http://svn.osgeo.org/postgis/trunk@14732 b70326c6-7e19-0410-871a-916f4a2858ee
2016-03-01 18:14:30 +00:00
Sandro Santilli dc0370353b Set version from Version.config for branch dists too
See #3482

git-svn-id: http://svn.osgeo.org/postgis/trunk@14731 b70326c6-7e19-0410-871a-916f4a2858ee
2016-03-01 17:48:33 +00:00
Sandro Santilli b71fb8fed8 Backup final (reversioned) output dirs if already existing
Avoids creating tarball with a directory containing "postgis-dev"
subdirectory (not easy to spot)

git-svn-id: http://svn.osgeo.org/postgis/trunk@14730 b70326c6-7e19-0410-871a-916f4a2858ee
2016-03-01 15:46:14 +00:00
Sandro Santilli 49b3f315fa Fix version extraction from Version.config
git-svn-id: http://svn.osgeo.org/postgis/trunk@14729 b70326c6-7e19-0410-871a-916f4a2858ee
2016-03-01 15:46:08 +00:00
Sandro Santilli e98a7e1e12 Add -b switch to create the dist file from a branch
See #3482

git-svn-id: http://svn.osgeo.org/postgis/trunk@14728 b70326c6-7e19-0410-871a-916f4a2858ee
2016-03-01 15:14:02 +00:00
Sandro Santilli ce8a2c1374 Add dump-restore testing for gitlab-ci
Closes #3444

Runs dump-restore tests for both scripts and extension.

git-svn-id: http://svn.osgeo.org/postgis/trunk@14727 b70326c6-7e19-0410-871a-916f4a2858ee
2016-03-01 11:02:46 +00:00
Sandro Santilli 54e0ef203f Add dump-restore testing for Travis
See #3444

Runs dump-restore tests for both scripts and extension.

git-svn-id: http://svn.osgeo.org/postgis/trunk@14726 b70326c6-7e19-0410-871a-916f4a2858ee
2016-03-01 10:43:13 +00:00
Regina Obe e3f320e1d4 option for winnie to do dump restore - variable set in jenkins
closes #3444

git-svn-id: http://svn.osgeo.org/postgis/trunk@14723 b70326c6-7e19-0410-871a-916f4a2858ee
2016-02-29 21:07:59 +00:00
Regina Obe 7a7db9841c option for debbbie to do dump restore - variable set in jenkins
references #3444

git-svn-id: http://svn.osgeo.org/postgis/trunk@14722 b70326c6-7e19-0410-871a-916f4a2858ee
2016-02-29 18:03:57 +00:00
Regina Obe 307bf89fa0 Try to fix make install issue using --prefix
references #2688

git-svn-id: http://svn.osgeo.org/postgis/trunk@14721 b70326c6-7e19-0410-871a-916f4a2858ee
2016-02-29 17:38:48 +00:00
Regina Obe 7c91df51f6 Update ST_ClusterDBScan to use integer instead of int so consistent with other functions
Update xsl to handle window functions and update to verion 2.3
Closes #3475

git-svn-id: http://svn.osgeo.org/postgis/trunk@14720 b70326c6-7e19-0410-871a-916f4a2858ee
2016-02-29 13:14:29 +00:00