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

7 years agoReport which upgrade failed
Sandro Santilli [Sat, 7 Oct 2017 13:39:38 +0000 (13:39 +0000)]
Report which upgrade failed

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

7 years agoUse variables more (generic cleanup)
Sandro Santilli [Sat, 7 Oct 2017 13:39:31 +0000 (13:39 +0000)]
Use variables more (generic cleanup)

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

7 years agoMark twkb input buffers as const
Paul Ramsey [Fri, 6 Oct 2017 22:00:40 +0000 (22:00 +0000)]
Mark twkb input buffers as const

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

7 years agoMark non-mutating segmentize functions as const
Paul Ramsey [Fri, 6 Oct 2017 21:49:20 +0000 (21:49 +0000)]
Mark non-mutating segmentize functions as const

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

7 years agoMove remove_repeated_points to an in_place basis
Paul Ramsey [Fri, 6 Oct 2017 21:19:44 +0000 (21:19 +0000)]
Move remove_repeated_points to an in_place basis
References #3877

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

7 years agoPerformance improvements for b-tree geometry sorts
Paul Ramsey [Fri, 6 Oct 2017 13:31:58 +0000 (13:31 +0000)]
Performance improvements for b-tree geometry sorts
Closes #3864

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

7 years agoGenerate postgis.control at make time, not configure time
Sandro Santilli [Fri, 6 Oct 2017 13:29:01 +0000 (13:29 +0000)]
Generate postgis.control at make time, not configure time

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

7 years agogeohash_point_as_int: Fix undefined behaviour in shift operation
Paul Ramsey [Fri, 6 Oct 2017 13:20:05 +0000 (13:20 +0000)]
geohash_point_as_int: Fix undefined behaviour in shift operation
References #3875

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

7 years agoUndefined behaviour in TYPMOD_GET_SRID
Paul Ramsey [Fri, 6 Oct 2017 13:12:00 +0000 (13:12 +0000)]
Undefined behaviour in TYPMOD_GET_SRID
References #3880

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

7 years agoAdd ST_LineInterpolatePoints
Daniel Baston [Fri, 6 Oct 2017 01:00:27 +0000 (01:00 +0000)]
Add ST_LineInterpolatePoints

Closes #3564

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

7 years agoRemove unused function prototypes from internal header
Paul Ramsey [Thu, 5 Oct 2017 20:12:51 +0000 (20:12 +0000)]
Remove unused function prototypes from internal header

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

7 years agoRemove un-used function flip_coordinates
Paul Ramsey [Thu, 5 Oct 2017 19:59:39 +0000 (19:59 +0000)]
Remove un-used function flip_coordinates

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

7 years agoUninstall upgrade paths on `make uninstall`
Sandro Santilli [Thu, 5 Oct 2017 19:56:22 +0000 (19:56 +0000)]
Uninstall upgrade paths on `make uninstall`

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

7 years agoMake lwgeom_dimensionality use a const argument
Paul Ramsey [Thu, 5 Oct 2017 19:36:45 +0000 (19:36 +0000)]
Make lwgeom_dimensionality use a const argument

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

7 years agoMove simplify code to an in_place basis,
Paul Ramsey [Thu, 5 Oct 2017 19:34:16 +0000 (19:34 +0000)]
Move simplify code to an in_place basis,
references #3877

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

7 years agoSuite name should match file name
Paul Ramsey [Thu, 5 Oct 2017 18:21:41 +0000 (18:21 +0000)]
Suite name should match file name

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

7 years agoDon't forget to install the extension file and the upgrade from unpackaged
Sandro Santilli [Thu, 5 Oct 2017 14:37:07 +0000 (14:37 +0000)]
Don't forget to install the extension file and the upgrade from unpackaged

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

7 years agoReally only install symlinks for upgrade paths
Sandro Santilli [Thu, 5 Oct 2017 14:00:02 +0000 (14:00 +0000)]
Really only install symlinks for upgrade paths

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

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

7 years agolwtriangle_is_repeated_points should be local to lwtriangle.c
Paul Ramsey [Thu, 5 Oct 2017 13:35:38 +0000 (13:35 +0000)]
lwtriangle_is_repeated_points should be local to lwtriangle.c

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

7 years agoCombine multiple signum definitions
Paul Ramsey [Thu, 5 Oct 2017 13:22:06 +0000 (13:22 +0000)]
Combine multiple signum definitions
(Closes #3878)

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

7 years agoFix division by zero in lw_dist2d_arc_arc
Paul Ramsey [Thu, 5 Oct 2017 12:41:57 +0000 (12:41 +0000)]
Fix division by zero in lw_dist2d_arc_arc
(References #3879)

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

7 years agoRemove duplicated DATA and useless EXTRA_CLEAN append
Sandro Santilli [Thu, 5 Oct 2017 11:33:02 +0000 (11:33 +0000)]
Remove duplicated DATA and useless EXTRA_CLEAN append

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

7 years agoDrop conditionals on PG 91 (we require 93+ anyway)
Sandro Santilli [Thu, 5 Oct 2017 11:28:42 +0000 (11:28 +0000)]
Drop conditionals on PG 91 (we require 93+ anyway)

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

7 years agoST_AsMVTGeom clarification on semantics of mvt_geom
Björn Harrtell [Thu, 5 Oct 2017 10:50:16 +0000 (10:50 +0000)]
ST_AsMVTGeom clarification on semantics of mvt_geom

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

7 years agoST_AsMVTGeom use lwgeom_grid_in_place
Björn Harrtell [Thu, 5 Oct 2017 10:44:49 +0000 (10:44 +0000)]
ST_AsMVTGeom use lwgeom_grid_in_place

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

7 years agoBe slightly looser in dupe detection in gridding
Paul Ramsey [Wed, 4 Oct 2017 22:40:18 +0000 (22:40 +0000)]
Be slightly looser in dupe detection in gridding
(References #3877)

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

7 years agoFix memory leak in in-place gridding, when
Paul Ramsey [Wed, 4 Oct 2017 21:27:43 +0000 (21:27 +0000)]
Fix memory leak in in-place gridding, when
components collapse out of existence, they
need to be freed (References #3877)

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

7 years agoUpdate travis to use proj 4.9.2 the painful way.
Regina Obe [Wed, 4 Oct 2017 20:49:52 +0000 (20:49 +0000)]
Update travis to use proj 4.9.2 the painful way.
Closes https://github.com/postgis/postgis/pull/149

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

7 years agoMake lwgeom_grid_in_place, and move around function
Paul Ramsey [Wed, 4 Oct 2017 20:29:57 +0000 (20:29 +0000)]
Make lwgeom_grid_in_place, and move around function
signatures in support of the in_place project
(References #3877)

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

7 years agoInstall a single upgrade script and use symlinks for all others
Sandro Santilli [Wed, 4 Oct 2017 18:43:11 +0000 (18:43 +0000)]
Install a single upgrade script and use symlinks for all others

The real file will be named postgis--ANY--<target>.sql

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

7 years agoAdd 2.4.0 and 2.4.0dev to migration options. Get rid of 2.4 alphas and betas
Regina Obe [Wed, 4 Oct 2017 18:20:00 +0000 (18:20 +0000)]
Add 2.4.0 and 2.4.0dev to migration options.  Get rid of 2.4 alphas and betas

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

7 years agoGet rid of trailing spaces
Regina Obe [Wed, 4 Oct 2017 16:57:31 +0000 (16:57 +0000)]
Get rid of trailing spaces

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

7 years agoST_Angle function from Rémi Cura
Regina Obe [Wed, 4 Oct 2017 16:19:29 +0000 (16:19 +0000)]
ST_Angle function from Rémi Cura
Closes https://github.com/postgis/postgis/pull/97
Closes #3876

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

7 years agoupdate news to reflect PostGIS 2.4.0 has been released and start a new section for...
Regina Obe [Wed, 4 Oct 2017 16:17:03 +0000 (16:17 +0000)]
update news to reflect PostGIS 2.4.0 has been released and start a new section for PostGIS 2.5.0

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

7 years agoFix markdown links
Paul Ramsey [Wed, 4 Oct 2017 15:52:17 +0000 (15:52 +0000)]
Fix markdown links

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

7 years agoMove many internal signatures into liblwgeom_internal.h (Closes #3873)
Paul Ramsey [Tue, 3 Oct 2017 19:10:14 +0000 (19:10 +0000)]
Move many internal signatures into liblwgeom_internal.h (Closes #3873)

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

7 years agoST_AsMVT / ST_AsMVTGeom refactor to avoid deep clone
Björn Harrtell [Tue, 3 Oct 2017 18:39:41 +0000 (18:39 +0000)]
ST_AsMVT / ST_AsMVTGeom refactor to avoid deep clone

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

7 years ago[travis] install xmllint to run documentation tests
Sandro Santilli [Tue, 3 Oct 2017 10:14:10 +0000 (10:14 +0000)]
[travis] install xmllint to run documentation tests

Patch by Darafei Praliaskouski

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

7 years ago[travis] ccache to make compilation faster
Sandro Santilli [Tue, 3 Oct 2017 10:14:04 +0000 (10:14 +0000)]
[travis] ccache to make compilation faster

Patch by Darafei Praliaskouski

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

7 years agoFix union issue (References #3871)
Paul Ramsey [Mon, 2 Oct 2017 22:29:12 +0000 (22:29 +0000)]
Fix union issue (References #3871)

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

7 years agoUse type-pun to avoid memcpy in building morton key (Closes #3871)
Paul Ramsey [Mon, 2 Oct 2017 22:01:27 +0000 (22:01 +0000)]
Use type-pun to avoid memcpy in building morton key (Closes #3871)
Fix from Komzpa at https://github.com/postgis/postgis/pull/144

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

7 years agoGracefully handle short-measure issue (Closes #3845)
Paul Ramsey [Mon, 2 Oct 2017 12:52:15 +0000 (12:52 +0000)]
Gracefully handle short-measure issue (Closes #3845)

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

7 years agomark postgis_noop STABLE also for raster input
Sandro Santilli [Mon, 2 Oct 2017 11:51:01 +0000 (11:51 +0000)]
mark postgis_noop STABLE also for raster input

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