]>
granicus.if.org Git - postgis/log
Paul Ramsey [Wed, 20 Dec 2017 14:28:56 +0000 (14:28 +0000)]
Apply the epsilon fix to bounding circle (references #3930)
git-svn-id: http://svn.osgeo.org/postgis/trunk@16165
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Wed, 20 Dec 2017 14:21:36 +0000 (14:21 +0000)]
Test case on minimum bounding circle (references #3930)
git-svn-id: http://svn.osgeo.org/postgis/trunk@16164
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 18 Dec 2017 23:49:55 +0000 (23:49 +0000)]
Remove old comment line
git-svn-id: http://svn.osgeo.org/postgis/trunk@16162
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 18 Dec 2017 23:16:36 +0000 (23:16 +0000)]
Use original vertex values where available in contructing new pointarray (closes #3941)
git-svn-id: http://svn.osgeo.org/postgis/trunk@16161
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Mon, 18 Dec 2017 16:52:50 +0000 (16:52 +0000)]
Force drop of regression database if it exists in debbie too
Or it keeps blaming me for this failure:
https://debbie.postgis.net/job/GDAL_PostGIS_Regress/5373/console
git-svn-id: http://svn.osgeo.org/postgis/trunk@16160
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 18 Dec 2017 14:53:27 +0000 (14:53 +0000)]
Manual fixes from PostGIS users (not many left now) to EPSG file
References #3944
git-svn-id: http://svn.osgeo.org/postgis/trunk@16158
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Sun, 17 Dec 2017 14:49:29 +0000 (14:49 +0000)]
Update SRS to EPSG 9.2
Patch by Even Rouault
Closes #3944
git-svn-id: http://svn.osgeo.org/postgis/trunk@16156
b70326c6 -7e19-0410-871a-
916f4a2858ee
Darafei Praliaskouski [Sat, 16 Dec 2017 10:40:06 +0000 (10:40 +0000)]
Do not include private header for json-c >= 0.13
Patch by Björn Esser
Closes #3942
Closes https://github.com/postgis/postgis/pull/173
git-svn-id: http://svn.osgeo.org/postgis/trunk@16155
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Fri, 15 Dec 2017 17:44:37 +0000 (17:44 +0000)]
Remove potentially non-deterministic tests to see if travis runs stabilize (per komzpa)
git-svn-id: http://svn.osgeo.org/postgis/trunk@16154
b70326c6 -7e19-0410-871a-
916f4a2858ee
Darafei Praliaskouski [Fri, 15 Dec 2017 14:51:34 +0000 (14:51 +0000)]
Fix parallel build directory creation in Makefile
Closes Fix parallel build directory creation in Makefile
git-svn-id: http://svn.osgeo.org/postgis/trunk@16153
b70326c6 -7e19-0410-871a-
916f4a2858ee
Darafei Praliaskouski [Fri, 15 Dec 2017 13:25:38 +0000 (13:25 +0000)]
[travis] Run Travis builds with -Werror
Closes #3943
Closes https://github.com/postgis/postgis/pull/163
git-svn-id: http://svn.osgeo.org/postgis/trunk@16152
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Wed, 13 Dec 2017 20:51:36 +0000 (20:51 +0000)]
_postgis_index_extent() for extent from index
git-svn-id: http://svn.osgeo.org/postgis/trunk@16151
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Wed, 13 Dec 2017 14:03:52 +0000 (14:03 +0000)]
Return pointer? references #3940
git-svn-id: http://svn.osgeo.org/postgis/trunk@16150
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Tue, 12 Dec 2017 22:53:48 +0000 (22:53 +0000)]
Proof of content for reading table extent from
the top of the index. Can be called with
_postgis_index_extent(tbl regclass, col text)
and returns box2d.
Currently not added to the st_estimatedextent()
code, because it has issues with indexes that
have EMPTY added to them. This is a symptom
of #2487. While it seems impossible to every
allow index-assisted searches for EMPTY
geometry, it will be necessary to create
invalid keys for them (NaN, NaN, NaN, Nan)
and then handle those keys so they don't
pollute the index with strange bounds.
References #2256
git-svn-id: http://svn.osgeo.org/postgis/trunk@16149
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Tue, 12 Dec 2017 22:16:55 +0000 (22:16 +0000)]
Move input_srid == output_srid check after input_srid is initialized
Closes #3940
git-svn-id: http://svn.osgeo.org/postgis/trunk@16148
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Tue, 12 Dec 2017 04:05:55 +0000 (04:05 +0000)]
Add verbose flags to testflags
git-svn-id: http://svn.osgeo.org/postgis/trunk@16145
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Mon, 11 Dec 2017 21:14:31 +0000 (21:14 +0000)]
force drop of postgis_reg database if it exists.
git-svn-id: http://svn.osgeo.org/postgis/trunk@16144
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 11 Dec 2017 15:04:01 +0000 (15:04 +0000)]
Add lwgeom_refresh_bbox to replace drop/add twostep
git-svn-id: http://svn.osgeo.org/postgis/trunk@16143
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 11 Dec 2017 14:27:54 +0000 (14:27 +0000)]
Make sure max* slots are filled in when deserializing (closes #3923)
git-svn-id: http://svn.osgeo.org/postgis/trunk@16142
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 11 Dec 2017 14:14:06 +0000 (14:14 +0000)]
Remove warning under gcc (closes #3935)
git-svn-id: http://svn.osgeo.org/postgis/trunk@16141
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sat, 9 Dec 2017 05:34:08 +0000 (05:34 +0000)]
resize to same width as postgis log. Otherwise gets cut off in pdf file.
git-svn-id: http://svn.osgeo.org/postgis/trunk@16138
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Fri, 8 Dec 2017 21:36:56 +0000 (21:36 +0000)]
replace with new OSGeo logo
git-svn-id: http://svn.osgeo.org/postgis/trunk@16137
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Thu, 7 Dec 2017 21:46:47 +0000 (21:46 +0000)]
Minor efficiency changes in bytebuffer, stricter function
signature for hexbytes, slight re-order of ops in twkb.
git-svn-id: http://svn.osgeo.org/postgis/trunk@16136
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Wed, 6 Dec 2017 19:34:58 +0000 (19:34 +0000)]
Turn off interrupt tests by default,
but add to configure an Additional Info section that lists if it's on or off and how to turn it on if its disabled
References #3827 for PostGIS 2.5
git-svn-id: http://svn.osgeo.org/postgis/trunk@16134
b70326c6 -7e19-0410-871a-
916f4a2858ee
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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