]> granicus.if.org Git - postgis/log
postgis
7 years agoApply simplification prior to affine / gridding stage in MVT geom processing
Paul Ramsey [Wed, 8 Nov 2017 20:25:28 +0000 (20:25 +0000)]
Apply simplification prior to affine / gridding stage in MVT geom processing

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

7 years agoDocumentation tweaks for st_voronoi from Anne Blankert
Paul Ramsey [Mon, 6 Nov 2017 21:51:27 +0000 (21:51 +0000)]
Documentation tweaks for st_voronoi from Anne Blankert

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

7 years agoReplace project-and-extend with bisect-and-recurse method
Paul Ramsey [Mon, 6 Nov 2017 19:18:30 +0000 (19:18 +0000)]
Replace project-and-extend with bisect-and-recurse method
for generating segmentized geography. Provides "mostly equal"
segment lengths but also has more numerical stability
for small cases, as the old 3-space projection approach
did. Closes #3667

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

7 years agoDefault to using the tree-based geography distance
Paul Ramsey [Fri, 3 Nov 2017 17:05:40 +0000 (17:05 +0000)]
Default to using the tree-based geography distance
calculation in all cases. (Closes #3528)
As implemented this results in trees being
calculated once more than is absolutely necessary
in the cached case, but changing that involves
re-working all the caching code for geos/geography/intersects
which is non-ideal.

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

7 years agoStrip out MVT changes accidentally included
Paul Ramsey [Fri, 3 Nov 2017 14:57:27 +0000 (14:57 +0000)]
Strip out MVT changes accidentally included

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

7 years agoChange "LANGUAGE c" to "LANGUAGE 'c'" for
Paul Ramsey [Fri, 3 Nov 2017 14:31:46 +0000 (14:31 +0000)]
Change "LANGUAGE c" to "LANGUAGE 'c'" for
new MVT functions to match all the other
functions

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

7 years agoMove protobuf tests into protobuf guarded file (closes #3922)
Paul Ramsey [Tue, 31 Oct 2017 00:33:40 +0000 (00:33 +0000)]
Move protobuf tests into protobuf guarded file (closes #3922)

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

7 years agoAdd regression test for mvtgeom (references #3922)
Paul Ramsey [Mon, 30 Oct 2017 20:58:59 +0000 (20:58 +0000)]
Add regression test for mvtgeom (references #3922)

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

7 years agochange back to using @INSTALL@ and put in AC_PROG_INSTALL
Regina Obe [Mon, 30 Oct 2017 20:34:36 +0000 (20:34 +0000)]
change back to using @INSTALL@ and put in AC_PROG_INSTALL
so install doesn't go to ../ for insall on mingw
References #3916
References #3912

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

7 years agoCorrectly handle in-place collapse of interior rings, closes #3922
Paul Ramsey [Mon, 30 Oct 2017 20:26:52 +0000 (20:26 +0000)]
Correctly handle in-place collapse of interior rings, closes #3922

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

7 years agocleanup dead paths on winnie's build
Regina Obe [Mon, 30 Oct 2017 19:05:15 +0000 (19:05 +0000)]
cleanup dead paths on winnie's build
add --prefix step to prevent liblwgeom from being installed in /usr/local
References #3916

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

7 years agoMake sure target directories are created before copying files to them
Sandro Santilli [Sun, 29 Oct 2017 21:26:44 +0000 (21:26 +0000)]
Make sure target directories are created before copying files to them

References #3912
References #3916

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

7 years agoMake already-registered check in unpackaged extension create safer
Sandro Santilli [Sun, 29 Oct 2017 20:13:47 +0000 (20:13 +0000)]
Make already-registered check in unpackaged extension create safer

This version just checks for "postgis" with word boundaries, so
it is immune to localization.

Closes #3913 again

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

7 years agoStricter error tolerance on unpackaged upgrade
Sandro Santilli [Sun, 29 Oct 2017 18:38:53 +0000 (18:38 +0000)]
Stricter error tolerance on unpackaged upgrade

Prevents concerns about "object_not_in_prerequisite_state" being
possibly thrown for errors other than "already in extension"

See #3919

NOTE: this check may be to strict in that it depends on locale
      settings

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

7 years agoInclude upgrade from unpackaged test in check_all_upgrades script
Sandro Santilli [Sun, 29 Oct 2017 18:04:17 +0000 (18:04 +0000)]
Include upgrade from unpackaged test in check_all_upgrades script

References #3913

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

7 years agoHave output of create_unpackaged survive already-registered objects
Sandro Santilli [Sun, 29 Oct 2017 18:04:08 +0000 (18:04 +0000)]
Have output of create_unpackaged survive already-registered objects

References #3913

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

7 years agorevise winnie's regess and package script copying to edb install to copy over non...
Regina Obe [Sat, 28 Oct 2017 18:55:00 +0000 (18:55 +0000)]
revise winnie's regess and package script copying to edb install to copy over non-versioned .sql file as well.
Actually unversioned .sql aren't used at all, it was the next.sql scripts that weren't being overridden
references #3921

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

7 years agorevise winnie's regess and package script copying to edb install to copy over non...
Regina Obe [Sat, 28 Oct 2017 18:38:38 +0000 (18:38 +0000)]
revise winnie's regess and package script copying to edb install to copy over non-versioned .sql file as well.
references #3921

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

7 years agoHard-code build-aux/install-sh in all install scripts
Regina Obe [Sat, 28 Oct 2017 17:04:34 +0000 (17:04 +0000)]
Hard-code build-aux/install-sh in all install scripts
instead of relying on @INSTALL@ to pick an install executable
on systems where @INSTALL@ resolves, ends up picking the system preferred install
which at least on mingw64 won't directories if they don't exist
in addition on mingw64, it doesn't
even fill in @INSTALL@ with install unless AC_PROG_INSALL is included
References #3916 for PostGIS 2.5 (trunk)
References #3912 for PostGIS 2.5 (trunk)

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

7 years agoRevert change of AC_PROG_INSTALL step to configure.ac.
Regina Obe [Sat, 28 Oct 2017 15:55:59 +0000 (15:55 +0000)]
Revert change of AC_PROG_INSTALL step to configure.ac.
Succeeeded in only replacing install-sh with install, which can't create directories under mingw
References #3916
References #3912

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

7 years agoIgnore new generated files
Paul Ramsey [Fri, 27 Oct 2017 16:05:19 +0000 (16:05 +0000)]
Ignore new generated files

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

7 years agoUpper case raster format names
Mateusz Loskot [Fri, 27 Oct 2017 07:50:56 +0000 (07:50 +0000)]
Upper case raster format names

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

7 years agoCorrect incomplete sentence in AddRasterConstraints docs
Mateusz Loskot [Fri, 27 Oct 2017 07:39:02 +0000 (07:39 +0000)]
Correct incomplete sentence in AddRasterConstraints docs
Fix typo.

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

7 years agoadd comment
Regina Obe [Thu, 26 Oct 2017 23:16:24 +0000 (23:16 +0000)]
add comment
References #3916
References #3912

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

7 years agoMake install no longer works under mingw64
Regina Obe [Thu, 26 Oct 2017 17:04:34 +0000 (17:04 +0000)]
Make install no longer works under mingw64
Add a AC_PROG_INSTALL step to configure.ac to fix.
References #3916
References #3912

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

7 years agoDon't forget "OR REPLACE" in "CREATE FUNCTION!"
Sandro Santilli [Thu, 26 Oct 2017 08:52:00 +0000 (08:52 +0000)]
Don't forget "OR REPLACE" in "CREATE FUNCTION!"

Fixes #3919

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

7 years agoRevert "Set availability of new geometry_hash OPERATOR CLASS function"
Sandro Santilli [Thu, 26 Oct 2017 08:48:43 +0000 (08:48 +0000)]
Revert "Set availability of new geometry_hash OPERATOR CLASS function"

This reverts r16064 aka commit 18590c2f03629e0f0ed21193376bd32e5c919867.

It was a silly attempt, as the whole operator class availability is new !

References #3919

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

7 years agoSet availability of new geometry_hash OPERATOR CLASS function
Sandro Santilli [Thu, 26 Oct 2017 08:37:19 +0000 (08:37 +0000)]
Set availability of new geometry_hash OPERATOR CLASS function

See #3919

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

7 years agoUpgrade during create extension from unpackaged
Sandro Santilli [Thu, 26 Oct 2017 06:46:50 +0000 (06:46 +0000)]
Upgrade during create extension from unpackaged

This commit does it for "postgis" and "postgis_topology"
extensions.

Closes #3913

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

7 years agoFix zcta5 load
Regina Obe [Thu, 26 Oct 2017 01:08:26 +0000 (01:08 +0000)]
Fix zcta5 load
Closes #3917 for trunk  PostGIS 2.5.0

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

7 years agoEquality test failed on points with same coordinates
Paul Ramsey [Wed, 25 Oct 2017 13:26:11 +0000 (13:26 +0000)]
Equality test failed on points with same coordinates
and differing SRIDs, resulting in incorrect hashing.
Amazingly, this problem existed in *both* the btree
function and the new hash machinery (and it was the
btree machinery that was actually called for the
UNION operation).
References #1014

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

7 years agoMake geometry a hashable type, allowing recursive CTEs
Paul Ramsey [Tue, 24 Oct 2017 21:25:45 +0000 (21:25 +0000)]
Make geometry a hashable type, allowing recursive CTEs
to use geometry in their signatures.
Closes #1014

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

7 years agoadd ignore files
Paul Ramsey [Tue, 24 Oct 2017 19:58:19 +0000 (19:58 +0000)]
add ignore files

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

7 years agoComment out unused static function
Paul Ramsey [Tue, 24 Oct 2017 19:56:35 +0000 (19:56 +0000)]
Comment out unused static function

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

7 years agoUninstall geocoder & topology extension upgrade paths on "make uninstall"
Sandro Santilli [Sun, 22 Oct 2017 21:32:19 +0000 (21:32 +0000)]
Uninstall geocoder & topology extension upgrade paths on "make uninstall"

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

7 years agoMake upgrade install rule always run when asked (no deps)
Sandro Santilli [Sun, 22 Oct 2017 21:30:16 +0000 (21:30 +0000)]
Make upgrade install rule always run when asked (no deps)

This is for topology and tiger_geocoder

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

7 years agoMake upgrade install rule always run when asked (no deps)
Sandro Santilli [Sun, 22 Oct 2017 21:27:06 +0000 (21:27 +0000)]
Make upgrade install rule always run when asked (no deps)

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

7 years agoOnly install symlinks for tiger_geocoder upgrade paths
Sandro Santilli [Sun, 22 Oct 2017 19:52:28 +0000 (19:52 +0000)]
Only install symlinks for tiger_geocoder upgrade paths

Also only symlink the "next" hacks, and do all most of this at
`make install` time, not bothering at `make` time

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

7 years agoReally only install symlinks for topology upgrade paths
Sandro Santilli [Sun, 22 Oct 2017 19:20:34 +0000 (19:20 +0000)]
Really only install symlinks for topology upgrade paths

Also only symlink the "next" hacks, and do all most of this at
`make install` time, not bothering at `make` time

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

7 years agoIgnore generated unpackaged check scripts
Sandro Santilli [Sun, 22 Oct 2017 19:06:55 +0000 (19:06 +0000)]
Ignore generated unpackaged check scripts

[ci skip]

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

7 years agoCheck unpackaged version for topology too
Sandro Santilli [Sun, 22 Oct 2017 19:06:49 +0000 (19:06 +0000)]
Check unpackaged version for topology too

See #3892

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

7 years agoFix unpackaged extension creation check
Sandro Santilli [Sun, 22 Oct 2017 19:00:29 +0000 (19:00 +0000)]
Fix unpackaged extension creation check

See #3892

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

7 years agoFix format
Sandro Santilli [Sun, 22 Oct 2017 18:44:32 +0000 (18:44 +0000)]
Fix format

[ci skip]

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

7 years agoCheck version matching upon creating extension from unpackaged
Sandro Santilli [Sun, 22 Oct 2017 18:41:36 +0000 (18:41 +0000)]
Check version matching upon creating extension from unpackaged

Closes #3892

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

7 years agoReplace the 3 ST_CurveToLine signatures with a single one
Sandro Santilli [Sun, 22 Oct 2017 17:54:09 +0000 (17:54 +0000)]
Replace the 3 ST_CurveToLine signatures with a single one

The new one uses defaults for arguments

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

7 years agoCorrect ticket reference for ST_AddIsoNode EMPTY fix
Sandro Santilli [Sun, 22 Oct 2017 17:40:18 +0000 (17:40 +0000)]
Correct ticket reference for ST_AddIsoNode EMPTY fix

Fixes #3234, reopens #3232

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

7 years agoDo not allow empty points as topology isolated nodes
Sandro Santilli [Sun, 22 Oct 2017 17:36:18 +0000 (17:36 +0000)]
Do not allow empty points as topology isolated nodes

Includes testcase
Fixes #3232

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

7 years agoAvoid an unneeded query for each added edge in TopoGeo_addLinestring
Sandro Santilli [Sun, 22 Oct 2017 16:34:02 +0000 (16:34 +0000)]
Avoid an unneeded query for each added edge in TopoGeo_addLinestring

When endpoints are known not to move, don't query DB to check
the new position.

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

7 years agoRemove unused variable
Sandro Santilli [Sun, 22 Oct 2017 16:29:04 +0000 (16:29 +0000)]
Remove unused variable

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

7 years agoLog change about topology robustness improvements
Sandro Santilli [Sun, 22 Oct 2017 15:39:39 +0000 (15:39 +0000)]
Log change about topology robustness improvements

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

7 years agoAdd test for topology bug #1946
Sandro Santilli [Sun, 22 Oct 2017 15:39:33 +0000 (15:39 +0000)]
Add test for topology bug #1946

Previous commits fix #1946 too

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

7 years agoAdd tests for topology bug #1855
Sandro Santilli [Sun, 22 Oct 2017 15:39:25 +0000 (15:39 +0000)]
Add tests for topology bug #1855

Previous commits fixes #1855 too

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

7 years agoAdd test for topology bug #3838
Sandro Santilli [Sun, 22 Oct 2017 15:39:16 +0000 (15:39 +0000)]
Add test for topology bug #3838

Shows previous commits fix #3838

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

7 years agoUpdate expected results
Sandro Santilli [Sun, 22 Oct 2017 15:39:08 +0000 (15:39 +0000)]
Update expected results

They are different than before because now we don't make
any attempt to snap vertices to existing _segments_
(rather than vertices) of topology edges.

There could be a way to fix this by first adding all endpoints
and then performing the snap.

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

7 years agoDo not snap incoming lines to nodes in isolation
Sandro Santilli [Sun, 22 Oct 2017 15:39:01 +0000 (15:39 +0000)]
Do not snap incoming lines to nodes in isolation

But rather include edges as the snap target, to avoid moving
vertices that already snapped to edges to move further

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

7 years agoUse minimum tolerance when adding pre-snapped edge endpoints
Sandro Santilli [Sun, 22 Oct 2017 15:38:54 +0000 (15:38 +0000)]
Use minimum tolerance when adding pre-snapped edge endpoints

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

7 years agoBigger buffer for error messages
Sandro Santilli [Sun, 22 Oct 2017 15:38:47 +0000 (15:38 +0000)]
Bigger buffer for error messages

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

7 years agoInclude label in changes detection test of TopoGeo_addLinestring
Sandro Santilli [Sat, 21 Oct 2017 13:43:21 +0000 (13:43 +0000)]
Include label in changes detection test of TopoGeo_addLinestring

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

7 years agoRemove conditional code to use with GEOS < 3.3.9
Sandro Santilli [Sat, 21 Oct 2017 07:45:47 +0000 (07:45 +0000)]
Remove conditional code to use with GEOS < 3.3.9

We require 3.4.0+ now...

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

7 years agoClean and ignore build aux files from new location
Sandro Santilli [Fri, 20 Oct 2017 19:38:44 +0000 (19:38 +0000)]
Clean and ignore build aux files from new location

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

7 years agoinstall-sh needs not be in the repository
Sandro Santilli [Fri, 20 Oct 2017 19:38:36 +0000 (19:38 +0000)]
install-sh needs not be in the repository

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

7 years agoMore INSTALL fixes
Sandro Santilli [Fri, 20 Oct 2017 19:33:11 +0000 (19:33 +0000)]
More INSTALL fixes

See #3912

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

7 years agoFix install rule
Sandro Santilli [Fri, 20 Oct 2017 19:28:28 +0000 (19:28 +0000)]
Fix install rule

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

7 years agoDrop handling of tests for GEOS < 3.3.8
Sandro Santilli [Fri, 20 Oct 2017 18:22:38 +0000 (18:22 +0000)]
Drop handling of tests for GEOS < 3.3.8

As we required 3.4.0+ already, at least since PostGIS 2.4.0

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

7 years agoSpecify build AUX dir
Sandro Santilli [Fri, 20 Oct 2017 15:28:05 +0000 (15:28 +0000)]
Specify build AUX dir

Fixes lack of aux files in output from make_dist.sh

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

7 years agoFix typo in notice message
Sandro Santilli [Fri, 20 Oct 2017 15:06:32 +0000 (15:06 +0000)]
Fix typo in notice message

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

7 years agoFix memory leak in lwgeom_grid_in_place
Paul Ramsey [Fri, 20 Oct 2017 13:58:00 +0000 (13:58 +0000)]
Fix memory leak in lwgeom_grid_in_place
From Raúl Marín Rodríguez
Closes #3910

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

7 years agoReflect CFLAGS provided by configure
Paul Ramsey [Fri, 20 Oct 2017 13:07:21 +0000 (13:07 +0000)]
Reflect CFLAGS provided by configure
From Raúl Marín Rodríguez
Closes #3911

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

7 years agoFix memory leak in lwgeom_remove_repeated_points_in_place
Paul Ramsey [Wed, 18 Oct 2017 19:40:57 +0000 (19:40 +0000)]
Fix memory leak in lwgeom_remove_repeated_points_in_place
From Raúl Marín Rodríguez
Closes #3909

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

7 years agoFix memory leak when lwgeom_simplify returns an empty geom
Paul Ramsey [Wed, 18 Oct 2017 19:35:50 +0000 (19:35 +0000)]
Fix memory leak when lwgeom_simplify returns an empty geom
From Raúl Marín Rodríguez
Closes #3908

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

7 years agoAllow ./configure to set debug flag on module build
Paul Ramsey [Tue, 17 Oct 2017 20:37:34 +0000 (20:37 +0000)]
Allow ./configure to set debug flag on module build
that is otherwise over-ridden by pgxs hack
References #3604

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

7 years agoupdate bios so they are more in line with what we actually do.
Regina Obe [Tue, 17 Oct 2017 18:22:14 +0000 (18:22 +0000)]
update bios so they are more in line with what we actually do.

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

7 years agoAllocate enough space for all possible GBOX string outputs.
Paul Ramsey [Tue, 17 Oct 2017 16:51:26 +0000 (16:51 +0000)]
Allocate enough space for all possible GBOX string outputs.
From Raúl Marín Algunenano
References #3907

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

7 years agoAdd Darafei Praliaskouski and make up responsibilities for him.
Regina Obe [Tue, 17 Oct 2017 14:25:25 +0000 (14:25 +0000)]
Add Darafei Praliaskouski and make up responsibilities for him.

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

7 years agoFix xml parse error in docs
Regina Obe [Mon, 16 Oct 2017 14:59:52 +0000 (14:59 +0000)]
Fix xml parse error in docs
References #3902 for PostGIS 2.5.0

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

7 years agoMore cleanup. Get rid of word "new" in reference to geography type, it's not so...
Regina Obe [Mon, 16 Oct 2017 09:32:37 +0000 (09:32 +0000)]
More cleanup.  Get rid of word "new" in reference to geography type, it's not so new anymore
Minor grammar and formatting corrections.
References #3902 for PostGIS 2.5.0

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

7 years agoflag zcta5 addition as an enhancement not a change. References #3815
Regina Obe [Mon, 16 Oct 2017 09:00:02 +0000 (09:00 +0000)]
flag zcta5 addition as an enhancement not a change.  References #3815

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

7 years agoAdd Paul Ramsey's example, get rid of more obsolete statements about 4326 is only...
Regina Obe [Mon, 16 Oct 2017 06:18:08 +0000 (06:18 +0000)]
Add Paul Ramsey's example, get rid of more obsolete statements about 4326 is only srid supported for geography
References #3902 for PostGIS 2.5.0

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

7 years agoUpdate docs to reflect zcta5 fix and also upgrade to tiger 2017 load
Regina Obe [Sun, 15 Oct 2017 17:51:08 +0000 (17:51 +0000)]
Update docs to reflect zcta5 fix and also upgrade to tiger 2017 load

References #3815 for trunk PostGIS 2.5.0

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

7 years agoFix tiger 2017 zcta5 load logic, but leave default as turned off (takes 30 minutes...
Regina Obe [Sun, 15 Oct 2017 16:33:59 +0000 (16:33 +0000)]
Fix tiger 2017 zcta5 load logic, but leave default as turned off (takes 30 minutes to process)

References #3815 for trunk PostGIS 2.5.0

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

7 years agoFix tiger 2017 edges load issue by doing following:
Regina Obe [Sat, 14 Oct 2017 14:07:25 +0000 (14:07 +0000)]
Fix tiger 2017 edges load issue by doing following:
 insert to be ordered by column name instead of ordinal_position.
  Exclude divroad from edges load which now appears to be no longer present in 2017 edges data.

References #3815 for trunk PostGIS 2.5.0

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

7 years agotry to modernize the geography section a bit.
Regina Obe [Sat, 14 Oct 2017 08:08:15 +0000 (08:08 +0000)]
try to modernize the geography section a bit.
References #3902

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

7 years agoFlip to using tiger 2017, add new entry for downloading and prepping zipcode tabulati...
Regina Obe [Sat, 14 Oct 2017 07:26:59 +0000 (07:26 +0000)]
Flip to using tiger 2017, add new entry for downloading and prepping zipcode tabulation.  Turn off by default. zcta needs more testing,takes a lot of space, and lengthy time to split by state

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

7 years agomake copy from routine from installed location to run location less greedy
Regina Obe [Sat, 14 Oct 2017 06:33:52 +0000 (06:33 +0000)]
make copy from routine from installed location to run location less greedy

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

7 years agoTry to fix next scripts not being installed on windows by moving linking step to...
Regina Obe [Sat, 14 Oct 2017 04:27:56 +0000 (04:27 +0000)]
Try to fix next scripts not being installed on windows by moving linking step to after install of ANY script
Assumption being the fact ANY doesn't exist at time of link is causing problems
References #3901

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

7 years agoFix winnie build, package, and regress scripts to copy from mingw .sql from mingw...
Regina Obe [Fri, 13 Oct 2017 05:40:27 +0000 (05:40 +0000)]
Fix winnie build, package, and regress scripts to copy from mingw .sql from mingw install location
Closes #3901

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

7 years agowhite space cleanup
Regina Obe [Thu, 12 Oct 2017 22:40:00 +0000 (22:40 +0000)]
white space cleanup

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

7 years agoCredits commit from Darafei Praliaskouski
Regina Obe [Thu, 12 Oct 2017 22:39:14 +0000 (22:39 +0000)]
Credits commit from Darafei Praliaskouski
Closes https://github.com/postgis/postgis/pull/164

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

7 years agoFix GCC warnings
Sandro Santilli [Thu, 12 Oct 2017 21:21:42 +0000 (21:21 +0000)]
Fix GCC warnings

Obey const pointer in autofix logic.
Move ring closing logic to ptarray_to_GEOSCoordSeq.
Fix memory access.

Patch by Darafei Praliaskouski <me@komzpa.net>

Fixes #3900

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

7 years agoBTree sorting logic fix
Sandro Santilli [Thu, 12 Oct 2017 16:30:17 +0000 (16:30 +0000)]
BTree sorting logic fix

Sort geometries that have different length but same prefix

- allow fast path for geography points
- fix gcc warnings
- compare EMPTY geometries as normal memcmp path

Patch by Darafei Praliaskouski <me@komzpa.net>

Fixes #3899

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

7 years agoAdd missing dash in ANY-- upgrade path
Sandro Santilli [Thu, 12 Oct 2017 08:08:11 +0000 (08:08 +0000)]
Add missing dash in ANY-- upgrade path

Fixes #3898

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

7 years agomore snafu fix on #3896 (was trying to install next twice instead of going back...
Regina Obe [Thu, 12 Oct 2017 07:40:03 +0000 (07:40 +0000)]
more snafu fix on #3896  (was trying to install next twice instead of going back to default version

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

7 years agomissed last execute statement.
Regina Obe [Thu, 12 Oct 2017 07:19:42 +0000 (07:19 +0000)]
missed last execute statement.
references #3896

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

7 years agoAdd option to always upgrade a dev version to default dev version even if already...
Regina Obe [Thu, 12 Oct 2017 06:50:32 +0000 (06:50 +0000)]
Add option to always upgrade a dev version to default dev version even if already at the default version.
References #3898 for PostGIS 2.5.0 (trunk)

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

7 years agopostgis_extensions_upgrade(). Can't remember which postgis extensions you installed...
Regina Obe [Wed, 11 Oct 2017 17:11:50 +0000 (17:11 +0000)]
postgis_extensions_upgrade().  Can't remember which postgis extensions you installed and are two lazy to figure out and upgrade each with ALTER EXTENSION.
just do

SELECT postgis_extensions_upgrade();

Closes #3896

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

7 years agoAllow make -j parallel builds (PR-160)
Paul Ramsey [Wed, 11 Oct 2017 17:05:18 +0000 (17:05 +0000)]
Allow make -j parallel builds (PR-160)

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

7 years agoQuiet un-used variable warnings
Paul Ramsey [Wed, 11 Oct 2017 16:47:53 +0000 (16:47 +0000)]
Quiet un-used variable warnings

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

7 years agoFix function names in error messages
Paul Ramsey [Wed, 11 Oct 2017 15:05:27 +0000 (15:05 +0000)]
Fix function names in error messages

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

7 years agoFix rare missing boxes in geometry subdivision
Paul Ramsey [Wed, 11 Oct 2017 14:06:07 +0000 (14:06 +0000)]
Fix rare missing boxes in geometry subdivision
Closes #3886

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

7 years agoFix up return type
Paul Ramsey [Tue, 10 Oct 2017 22:54:15 +0000 (22:54 +0000)]
Fix up return type

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