]> granicus.if.org Git - postgis/log
postgis
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

7 years agoAdd returns after lwerror() for testing harnesses
Paul Ramsey [Tue, 10 Oct 2017 22:51:02 +0000 (22:51 +0000)]
Add returns after lwerror() for testing harnesses

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

7 years agoThrow error on malformed WKB input
Paul Ramsey [Tue, 10 Oct 2017 22:46:08 +0000 (22:46 +0000)]
Throw error on malformed WKB input
Credit to OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2589
Credit to OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2590
Credit to OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2591
Credit to OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2592
(Closes #3895)

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

7 years agoRemove dupe function prototype
Paul Ramsey [Tue, 10 Oct 2017 20:48:55 +0000 (20:48 +0000)]
Remove dupe function prototype

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

7 years agoUndefined behaviour in pointarray_to_encoded_polyline
Paul Ramsey [Tue, 10 Oct 2017 18:05:11 +0000 (18:05 +0000)]
Undefined behaviour in pointarray_to_encoded_polyline
(Closes #3891)

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

7 years agoLog message fix
Paul Ramsey [Tue, 10 Oct 2017 17:06:08 +0000 (17:06 +0000)]
Log message fix

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

7 years agoFix undefined behaviour in zigzag with negative inputs
Paul Ramsey [Tue, 10 Oct 2017 16:59:34 +0000 (16:59 +0000)]
Fix undefined behaviour in zigzag with negative inputs
(References #3882)

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

7 years agolw_dist2d_pt_arc division by zero (References #3874)
Paul Ramsey [Tue, 10 Oct 2017 16:33:41 +0000 (16:33 +0000)]
lw_dist2d_pt_arc division by zero (References #3874)

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

7 years agoPtarray in place repeated point removal returns, passing all tests, even in topology...
Paul Ramsey [Tue, 10 Oct 2017 16:27:08 +0000 (16:27 +0000)]
Ptarray in place repeated point removal returns, passing all tests, even in topology. (References #3877)

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

7 years agoBack out ptarray changes for now (references #3877)
Paul Ramsey [Tue, 10 Oct 2017 13:26:02 +0000 (13:26 +0000)]
Back out ptarray changes for now (references #3877)

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

7 years agoRemove trailing blanks
Sandro Santilli [Tue, 10 Oct 2017 08:29:21 +0000 (08:29 +0000)]
Remove trailing blanks

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

7 years agoUpdate geocode batch update example to use LATERAL now that PostgreSQL 9.3 is minimum...
Regina Obe [Mon, 9 Oct 2017 20:05:56 +0000 (20:05 +0000)]
Update geocode batch update example to use LATERAL now that PostgreSQL 9.3 is minimum supported.

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

7 years agoForbid creating raster support objects in a schema != PostGIS one
Sandro Santilli [Mon, 9 Oct 2017 15:45:49 +0000 (15:45 +0000)]
Forbid creating raster support objects in a schema != PostGIS one

Fixes #3893

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

7 years agoReport extension status of postgis from postgis_full_version
Sandro Santilli [Sun, 8 Oct 2017 20:38:06 +0000 (20:38 +0000)]
Report extension status of postgis from postgis_full_version

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

7 years agoUse IF NOT EXISTS when dropping things
Sandro Santilli [Sun, 8 Oct 2017 19:26:17 +0000 (19:26 +0000)]
Use IF NOT EXISTS when dropping things

Fixes #3887 in trunk (2.5.0dev)

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

7 years agoAdd check for postgis raster being already installed
Sandro Santilli [Sun, 8 Oct 2017 18:27:31 +0000 (18:27 +0000)]
Add check for postgis raster being already installed

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

7 years agoDo not suggest to uninstall postgis when already found
Sandro Santilli [Sun, 8 Oct 2017 18:20:00 +0000 (18:20 +0000)]
Do not suggest to uninstall postgis when already found

The user might want to upgrade it or package it instead...

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

7 years agoGet rid of major.micro_version in generated lib file of address_standardizer
Regina Obe [Sat, 7 Oct 2017 21:52:16 +0000 (21:52 +0000)]
Get rid of major.micro_version in generated lib file of address_standardizer
Closes #3885

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

7 years agoQuiet strk's warnings?
Paul Ramsey [Sat, 7 Oct 2017 16:49:14 +0000 (16:49 +0000)]
Quiet strk's warnings?

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

7 years agoChange spaces to tabs in indenting
Paul Ramsey [Sat, 7 Oct 2017 16:25:13 +0000 (16:25 +0000)]
Change spaces to tabs in indenting

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

7 years agoKeep running on failure, report all pass/fail/skip at the end
Sandro Santilli [Sat, 7 Oct 2017 13:39:45 +0000 (13:39 +0000)]
Keep running on failure, report all pass/fail/skip at the end

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