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

7 years agoThere's no reason why postgis_noop should be volatile
Sandro Santilli [Mon, 2 Oct 2017 11:49:32 +0000 (11:49 +0000)]
There's no reason why postgis_noop should be volatile

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

7 years agoAdd -lm to liblwgeom link line
Sandro Santilli [Sat, 30 Sep 2017 18:03:47 +0000 (18:03 +0000)]
Add -lm to liblwgeom link line

References #3869

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

7 years agoFix memory leaks in BTREE operators
Sandro Santilli [Sat, 30 Sep 2017 17:59:54 +0000 (17:59 +0000)]
Fix memory leaks in BTREE operators

References #3864

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

7 years agoDisable accidentally enabled debug
Sandro Santilli [Sat, 30 Sep 2017 17:35:42 +0000 (17:35 +0000)]
Disable accidentally enabled debug

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

7 years agoAttempt to fix yaml syntax in drone config
Sandro Santilli [Sat, 30 Sep 2017 17:30:44 +0000 (17:30 +0000)]
Attempt to fix yaml syntax in drone config

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

7 years agoAdd lwt_Polygonize and lwt_AddLineNoFace functions
Sandro Santilli [Sat, 30 Sep 2017 15:26:28 +0000 (15:26 +0000)]
Add lwt_Polygonize and lwt_AddLineNoFace functions

This were initially written for librttopo. The plan in PostGIS
is to use them for ST_CreateTopoGeo, which already needs to load
all input geometry in memory.

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

7 years agoforgot about proj - bump to 4.9
Regina Obe [Sat, 30 Sep 2017 06:34:10 +0000 (06:34 +0000)]
forgot about proj - bump to 4.9

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

7 years agoUpdate README to reflect new agreed upon requirements of PostgreSQL 9.6+ and GEOS...
Regina Obe [Sat, 30 Sep 2017 06:33:07 +0000 (06:33 +0000)]
Update README to reflect new agreed upon requirements of PostgreSQL 9.6+ and GEOS 3.5.
Will fix configure.ac too after we've upgraded dronie and travis to use newer versions

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

7 years agoMove PostgreSQL conditional at the top of the file
Sandro Santilli [Fri, 29 Sep 2017 08:20:40 +0000 (08:20 +0000)]
Move PostgreSQL conditional at the top of the file

This is an attempt to make the code more clear

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

7 years agoCan't load against PostgreSQL 11 head DatumGetJsonb renamed
Regina Obe [Fri, 29 Sep 2017 04:43:40 +0000 (04:43 +0000)]
Can't load against PostgreSQL 11 head DatumGetJsonb renamed
References #3867 for PostGIS 2.5

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

7 years agoMake all suite names one-word, lowercase
Paul Ramsey [Wed, 27 Sep 2017 20:54:59 +0000 (20:54 +0000)]
Make all suite names one-word, lowercase

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

7 years agoGuard .proto file for not getting trailing blanks
Sandro Santilli [Wed, 27 Sep 2017 05:46:56 +0000 (05:46 +0000)]
Guard .proto file for not getting trailing blanks

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

7 years agoDrop trailing blank from vector_tile.proto
Sandro Santilli [Wed, 27 Sep 2017 05:46:49 +0000 (05:46 +0000)]
Drop trailing blank from vector_tile.proto

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

7 years agoComplete source TODO item, use double access for ptarray reversal
Paul Ramsey [Tue, 26 Sep 2017 21:23:19 +0000 (21:23 +0000)]
Complete source TODO item, use double access for ptarray reversal

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

7 years agoFind all duplicates, even within very short polygons/lines (Closes #3843)
Paul Ramsey [Tue, 26 Sep 2017 20:55:01 +0000 (20:55 +0000)]
Find all duplicates, even within very short polygons/lines (Closes #3843)

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

7 years agoAllow triangles unclosed in M to be parsed in WKT (References #3818)
Paul Ramsey [Tue, 26 Sep 2017 16:58:39 +0000 (16:58 +0000)]
Allow triangles unclosed in M to be parsed in WKT (References #3818)

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

7 years agoIgnore vector_tile.pb-c when checking for trailing blanks
Sandro Santilli [Tue, 26 Sep 2017 16:20:30 +0000 (16:20 +0000)]
Ignore vector_tile.pb-c when checking for trailing blanks

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

7 years agoRemove trailing blank from postgis_config.h.in, prevent them
Sandro Santilli [Tue, 26 Sep 2017 14:09:46 +0000 (14:09 +0000)]
Remove trailing blank from postgis_config.h.in, prevent them

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

7 years agoDo not use .gitignore for checking trailing blank spaces
Sandro Santilli [Tue, 26 Sep 2017 13:55:05 +0000 (13:55 +0000)]
Do not use .gitignore for checking trailing blank spaces

Manually ignore files instead. Re-using .gitignore patterns
isn't easy for grep.

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

7 years agoRemove trailing blanks
Sandro Santilli [Tue, 26 Sep 2017 13:54:58 +0000 (13:54 +0000)]
Remove trailing blanks

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

7 years agoMake check-no-trailing-blanks implementation POSIX compliant
Sandro Santilli [Tue, 26 Sep 2017 13:34:36 +0000 (13:34 +0000)]
Make check-no-trailing-blanks implementation POSIX compliant

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

7 years agoIgnore generated files in check-no-trailing-blanks
Sandro Santilli [Tue, 26 Sep 2017 08:15:51 +0000 (08:15 +0000)]
Ignore generated files in check-no-trailing-blanks

Also be forgiving of a missing .gitignore (but then tests will
fail due to generated files possibly having trailing blanks)

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

7 years agoFlip to 2.5.0 development
Regina Obe [Tue, 26 Sep 2017 01:10:57 +0000 (01:10 +0000)]
Flip to 2.5.0 development

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

7 years agoincrease expected max variable integer
Nicklas Avén [Mon, 25 Sep 2017 20:48:18 +0000 (20:48 +0000)]
increase expected max variable integer

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

7 years agoAdd very large uint64_t test
Paul Ramsey [Mon, 25 Sep 2017 17:00:36 +0000 (17:00 +0000)]
Add very large uint64_t test

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

7 years agost_contains cannot handle curvepolygon / compoundcurve consisting of only straight...
Paul Ramsey [Mon, 25 Sep 2017 13:37:23 +0000 (13:37 +0000)]
st_contains cannot handle curvepolygon / compoundcurve consisting of only straight lines (References #3781)

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

7 years agoadd 2.4.0dev so can upgrade from previous unreleased. Keeping version at rc2 though...
Regina Obe [Sun, 24 Sep 2017 17:32:24 +0000 (17:32 +0000)]
add 2.4.0dev so can upgrade from previous unreleased.  Keeping version at rc2 though until final release.

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

7 years agomore parse error fixes
Regina Obe [Sun, 24 Sep 2017 07:52:46 +0000 (07:52 +0000)]
more parse error fixes

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

7 years agofix some tag issues
Regina Obe [Sun, 24 Sep 2017 07:43:11 +0000 (07:43 +0000)]
fix some tag issues

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

7 years agotypo
Regina Obe [Sun, 24 Sep 2017 07:09:41 +0000 (07:09 +0000)]
typo

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

7 years agoprepping for PostGIS 2.4.0rc2 release
Regina Obe [Sun, 24 Sep 2017 06:58:42 +0000 (06:58 +0000)]
prepping for PostGIS 2.4.0rc2 release

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

7 years agoupdate pos
Regina Obe [Sun, 24 Sep 2017 06:50:28 +0000 (06:50 +0000)]
update pos

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

7 years agomanually pulled from transifex. For some reason this file won't naturally pull down...
Regina Obe [Sun, 24 Sep 2017 06:09:41 +0000 (06:09 +0000)]
manually pulled from transifex.  For some reason this file won't naturally pull down and merge so generates invalid psql comments

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

7 years agoupdate template
Regina Obe [Sun, 24 Sep 2017 02:44:02 +0000 (02:44 +0000)]
update template

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

7 years agoST_AsGeobuf fix double comparison
Björn Harrtell [Sat, 23 Sep 2017 18:35:09 +0000 (18:35 +0000)]
ST_AsGeobuf fix double comparison
References #3840

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

7 years agoST_AsMVTGeom document internals of transform step
Björn Harrtell [Sat, 23 Sep 2017 13:31:35 +0000 (13:31 +0000)]
ST_AsMVTGeom document internals of transform step

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

7 years agofixins for crash testing twkb, ST_GeomFromTWKB, and MVT functions.
Regina Obe [Fri, 22 Sep 2017 21:04:38 +0000 (21:04 +0000)]
fixins for crash testing twkb, ST_GeomFromTWKB, and MVT functions.
Add reference link to ST_GeomFromTWKB to ST_AsTWKB

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

7 years agoAdd twkb large geometry test
Paul Ramsey [Fri, 22 Sep 2017 19:58:11 +0000 (19:58 +0000)]
Add twkb large geometry test

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

7 years agoFix crash on larger geometries, caused by direct freeing
Paul Ramsey [Fri, 22 Sep 2017 19:55:39 +0000 (19:55 +0000)]
Fix crash on larger geometries, caused by direct freeing
of bytebuffer internals

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

7 years agoMake ST_AsGeoBuf more resiliant when fed rows including NULL geometry (Closes #3861)
Paul Ramsey [Fri, 22 Sep 2017 19:06:58 +0000 (19:06 +0000)]
Make ST_AsGeoBuf more resiliant when fed rows including NULL geometry (Closes #3861)

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