]> granicus.if.org Git - postgis/log
postgis
7 years agoStart of X3D refactoring to address #3704, #3705 and other tickets.
Regina Obe [Tue, 5 Dec 2017 22:33:43 +0000 (22:33 +0000)]
Start of X3D refactoring to address #3704, #3705 and other tickets.
Split out header from c file.

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

7 years agoSupport google line encodings that include a backslash character (References #3713)
Paul Ramsey [Thu, 30 Nov 2017 21:41:18 +0000 (21:41 +0000)]
Support google line encodings that include a backslash character (References #3713)

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

7 years agoClarify docs, References #3097
Paul Ramsey [Thu, 30 Nov 2017 21:37:57 +0000 (21:37 +0000)]
Clarify docs, References #3097

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

7 years agoDoco on "enhancement" per robe, closes #3097
Paul Ramsey [Thu, 30 Nov 2017 20:52:56 +0000 (20:52 +0000)]
Doco on "enhancement" per robe, closes #3097

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

7 years agoAllow multi-linestring to be used as blade in line/poly splitting,
Paul Ramsey [Thu, 30 Nov 2017 19:18:03 +0000 (19:18 +0000)]
Allow multi-linestring to be used as blade in line/poly splitting,
References #3097

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

7 years agorevise bessie scripts to make install and then test extension install
Regina Obe [Wed, 29 Nov 2017 22:53:00 +0000 (22:53 +0000)]
revise bessie scripts to make install and then test extension install

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

7 years agocreate script for bessie32 duplicate of bessie for now, but may change in future
Regina Obe [Tue, 28 Nov 2017 22:53:15 +0000 (22:53 +0000)]
create script for bessie32 duplicate of bessie for now, but may change in future

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

7 years agooops forgot to save
Regina Obe [Tue, 28 Nov 2017 22:39:39 +0000 (22:39 +0000)]
oops forgot to save

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

7 years agoAdd a regress script for bessie
Regina Obe [Tue, 28 Nov 2017 22:25:24 +0000 (22:25 +0000)]
Add a regress script for bessie

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

7 years agoExplicitly specify $(PERL) to call create_unpackaged.pl otherwise at least on freebsd...
Regina Obe [Tue, 28 Nov 2017 22:17:51 +0000 (22:17 +0000)]
Explicitly specify $(PERL) to call create_unpackaged.pl otherwise at least on freebsd it fails
References #3938 for PostGIS 2.5

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

7 years agoAlways include revision when defined (even if 0)
Sandro Santilli [Sat, 25 Nov 2017 07:38:52 +0000 (07:38 +0000)]
Always include revision when defined (even if 0)

Should fix #3863 (scripts always need upgrade)

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

7 years agoPgSQL 11 support, change from FALSE to false, etc.
Paul Ramsey [Mon, 20 Nov 2017 13:14:03 +0000 (13:14 +0000)]
PgSQL 11 support, change from FALSE to false, etc.
Closes #3931, from Raúl Marín Rodríguez

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

7 years agoAdd missing 2.4.2 and 2.4.3dev upgrade paths, remove 2.4.2dev.
Regina Obe [Sun, 19 Nov 2017 15:07:17 +0000 (15:07 +0000)]
Add missing 2.4.2 and 2.4.3dev upgrade paths, remove 2.4.2dev.
Change winnie's jenkins link to use her own ssl proxy

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

7 years agonote about enhanced feature in reverse_geocode when zcta5 data is loaded.
Regina Obe [Tue, 14 Nov 2017 05:23:06 +0000 (05:23 +0000)]
note about enhanced feature in reverse_geocode when zcta5 data is loaded.

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

7 years agoRemove un-used static function
Paul Ramsey [Thu, 9 Nov 2017 17:34:14 +0000 (17:34 +0000)]
Remove un-used static function

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

7 years agoParallel implementation of ST_AsMVT (Closes #3927)
Paul Ramsey [Thu, 9 Nov 2017 17:21:45 +0000 (17:21 +0000)]
Parallel implementation of ST_AsMVT (Closes #3927)

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

7 years agoRegression test changes and NEWS item (References #3925)
Paul Ramsey [Thu, 9 Nov 2017 16:27:26 +0000 (16:27 +0000)]
Regression test changes and NEWS item (References #3925)

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

7 years agoRemove commenting
Paul Ramsey [Thu, 9 Nov 2017 16:25:22 +0000 (16:25 +0000)]
Remove commenting

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

7 years agoAdd missing 2.3.4 upgrade path (as provided by Muhammad Usama)
Regina Obe [Thu, 9 Nov 2017 08:48:33 +0000 (08:48 +0000)]
Add missing 2.3.4 upgrade path (as provided by Muhammad Usama)
Also remove 2.4.0 dev releases and add missing 2.2.6 and 2.4.1 and 2.4.2dev
References #3926 for PostGIS 2.5 (trunk)

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

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