]> granicus.if.org Git - postgis/log
postgis
6 years agoRemove unused file
Sandro Santilli [Sun, 14 Oct 2018 07:31:40 +0000 (07:31 +0000)]
Remove unused file

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

6 years agoRemove dropshadow from WKT examples
Paul Ramsey [Fri, 12 Oct 2018 21:24:45 +0000 (21:24 +0000)]
Remove dropshadow from WKT examples

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

6 years agoFormatting
Paul Ramsey [Fri, 12 Oct 2018 21:15:03 +0000 (21:15 +0000)]
Formatting

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

6 years agoFix entity
Paul Ramsey [Fri, 12 Oct 2018 21:12:27 +0000 (21:12 +0000)]
Fix entity

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

6 years agoStyle abstract and toc titles
Paul Ramsey [Fri, 12 Oct 2018 21:11:14 +0000 (21:11 +0000)]
Style abstract and toc titles

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

6 years agoStyle <important> blocks
Paul Ramsey [Fri, 12 Oct 2018 20:59:17 +0000 (20:59 +0000)]
Style <important> blocks

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

6 years agoLighten and ungreenify
Paul Ramsey [Fri, 12 Oct 2018 20:50:22 +0000 (20:50 +0000)]
Lighten and ungreenify

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

6 years agoReformat example
Paul Ramsey [Fri, 12 Oct 2018 20:41:35 +0000 (20:41 +0000)]
Reformat example

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

6 years agoPass clean html parameter, fix a couple old references that should be <warning>
Paul Ramsey [Fri, 12 Oct 2018 20:33:09 +0000 (20:33 +0000)]
Pass clean html parameter, fix a couple old references that should be <warning>

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

6 years agoUpdate the CSS styling a little bit
Paul Ramsey [Fri, 12 Oct 2018 19:57:59 +0000 (19:57 +0000)]
Update the CSS styling a little bit

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

6 years ago[proc-upgrade] Don't print more lines after oneliner GRANTs
Sandro Santilli [Wed, 10 Oct 2018 21:09:26 +0000 (21:09 +0000)]
[proc-upgrade] Don't print more lines after oneliner GRANTs

Fixes #4197

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

6 years agoMark postgis_extensions_upgrade as volatile
Sandro Santilli [Wed, 10 Oct 2018 20:41:27 +0000 (20:41 +0000)]
Mark postgis_extensions_upgrade as volatile

NOTE: does not solve the problem of not noticing
      repackaging (reported in
      https://trac.osgeo.org/postgis/ticket/4196#comment:4)

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

6 years agoHave postgis_extensions_upgrade() package unpackaged extensions
Sandro Santilli [Wed, 10 Oct 2018 20:36:51 +0000 (20:36 +0000)]
Have postgis_extensions_upgrade() package unpackaged extensions

See #4196

NOTE: it doesn't re-package tiger geocoder because I would not
      know how to tell if the support for it is installed and
      it does't re-package topology due to bug #2503

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

6 years agonote that apache conf file needs to have path changed ffor versionless docs. Other...
Regina Obe [Mon, 8 Oct 2018 09:03:54 +0000 (09:03 +0000)]
note that apache conf file needs to have path changed ffor versionless docs.  Other minor edits.

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

6 years agoSt_AsMVTGeom: Handle type changes in geometry collections
Raúl Marín Rodríguez [Wed, 3 Oct 2018 10:52:58 +0000 (10:52 +0000)]
St_AsMVTGeom: Handle type changes in geometry collections

References #4181

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

6 years agoLoader cunit: Add proj flags
Raúl Marín Rodríguez [Wed, 3 Oct 2018 10:17:43 +0000 (10:17 +0000)]
Loader cunit: Add proj flags

References #4194
Closes https://github.com/postgis/postgis/pull/314

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

6 years agooops put in invalid docbook. Fix
Regina Obe [Wed, 3 Oct 2018 04:37:32 +0000 (04:37 +0000)]
oops put in invalid docbook. Fix

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

6 years agofix windows packaging
Regina Obe [Wed, 3 Oct 2018 03:38:17 +0000 (03:38 +0000)]
fix windows packaging

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

6 years agoMove Mark to Past contributors, to complete - https://lists.osgeo.org/pipermail/postg...
Regina Obe [Wed, 3 Oct 2018 03:28:08 +0000 (03:28 +0000)]
Move Mark to Past contributors, to complete - https://lists.osgeo.org/pipermail/postgis-devel/2018-October/027388.html

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

6 years agoFix undefined behaviour in ptarray_clone_deep
Raúl Marín Rodríguez [Tue, 2 Oct 2018 11:43:08 +0000 (11:43 +0000)]
Fix undefined behaviour in ptarray_clone_deep

Closes #4191
Closes https://github.com/postgis/postgis/pull/311/

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

6 years agoFix undefined behaviour in SADFWrite
Raúl Marín Rodríguez [Tue, 2 Oct 2018 09:38:48 +0000 (09:38 +0000)]
Fix undefined behaviour in SADFWrite

Also addresses several GCC warnings.

Closes #4189
Closes https://github.com/postgis/postgis/pull/310

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

6 years agoAvoid division by zero in kmeans
Raúl Marín Rodríguez [Mon, 1 Oct 2018 15:57:42 +0000 (15:57 +0000)]
Avoid division by zero in kmeans

Closes #4188
Closes https://github.com/postgis/postgis/pull/309

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

6 years agoSt_AsMVTGeom: Fix bug when clipping an invalid geometry
Raúl Marín Rodríguez [Mon, 1 Oct 2018 12:59:05 +0000 (12:59 +0000)]
St_AsMVTGeom: Fix bug when clipping an invalid geometry

If the geometry becomes invalid after simplifying, the clipping
could be invalid too. For those cases we drop the geometry.

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

6 years agoFix configure switch --with-library-minor-version in topology
Raúl Marín Rodríguez [Mon, 1 Oct 2018 11:40:46 +0000 (11:40 +0000)]
Fix configure switch --with-library-minor-version in topology

References #3807
Closes https://github.com/postgis/postgis/pull/312

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

6 years agoAdd new configure switch --with-library-minor-version, change default behavior to...
Regina Obe [Mon, 1 Oct 2018 06:46:33 +0000 (06:46 +0000)]
Add new configure switch --with-library-minor-version, change default behavior to not include minor version in extension library files.
Closes #3807

Also fix link in docs that points to old postgis.org

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

6 years agoAdd section for 3.0.0 new features.
Regina Obe [Mon, 1 Oct 2018 05:47:06 +0000 (05:47 +0000)]
Add section for 3.0.0 new features.
Put a note that PostGIS_Extensions_Upgrade() repackages looks functions into postgis_raster extension

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

6 years agominor wording changes
Regina Obe [Fri, 28 Sep 2018 16:59:51 +0000 (16:59 +0000)]
minor wording changes

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

6 years agoSet RUNTESTFLAGS and -j for Travis build
Daniel Baston [Fri, 28 Sep 2018 15:36:11 +0000 (15:36 +0000)]
Set RUNTESTFLAGS and -j for Travis build

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

6 years agoDon't rely on +x for Travis run_tests.sh
Daniel Baston [Fri, 28 Sep 2018 14:33:13 +0000 (14:33 +0000)]
Don't rely on +x for Travis run_tests.sh

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

6 years agoAdd Travis build matrix using prebuilt Docker images
Daniel Baston [Fri, 28 Sep 2018 14:13:34 +0000 (14:13 +0000)]
Add Travis build matrix using prebuilt Docker images

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

6 years agoRevise postgis_extensions_upgrade to repackage raster if it finds it unpackaged....
Regina Obe [Thu, 27 Sep 2018 21:50:36 +0000 (21:50 +0000)]
Revise postgis_extensions_upgrade to repackage raster if it finds it unpackaged.  Revise unpackage notice to say to give instruction to call the postgis_extensions_upgrade function and repackage.

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

6 years agoAdd test for crash in SFCGAL ST_3DDifference
Sandro Santilli [Thu, 27 Sep 2018 13:34:38 +0000 (13:34 +0000)]
Add test for crash in SFCGAL ST_3DDifference

Closes #3255

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

6 years agoSpecify C standard in CFLAGS
Daniel Baston [Thu, 27 Sep 2018 13:26:52 +0000 (13:26 +0000)]
Specify C standard in CFLAGS

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

6 years agofix packaging so doesn't include old extension files
Regina Obe [Wed, 26 Sep 2018 12:20:29 +0000 (12:20 +0000)]
fix packaging so doesn't include old extension files

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

6 years agoAddress compiler warning
Raúl Marín Rodríguez [Mon, 24 Sep 2018 11:13:47 +0000 (11:13 +0000)]
Address compiler warning

strlcpy isn't a standard function

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

6 years agoFix indent
Sandro Santilli [Mon, 24 Sep 2018 10:58:53 +0000 (10:58 +0000)]
Fix indent

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

6 years ago[run_test] Drop raster if needed when enforced by extension
Sandro Santilli [Mon, 24 Sep 2018 10:18:15 +0000 (10:18 +0000)]
[run_test] Drop raster if needed when enforced by extension

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

6 years agoAdd in 2.5.0, 2.4.5 release notes, get rid of 2.5.0 dev releases. Add in 2.5.0,...
Regina Obe [Mon, 24 Sep 2018 02:50:10 +0000 (02:50 +0000)]
Add in 2.5.0, 2.4.5 release notes, get rid of 2.5.0 dev releases.  Add in 2.5.0, 2.5.1dev as upgrade paths

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

6 years agoSt_AsMVTGeom: Avoid type changes due to validation
Raúl Marín Rodríguez [Sat, 22 Sep 2018 13:00:41 +0000 (13:00 +0000)]
St_AsMVTGeom: Avoid type changes due to validation

References #4181
Closes https://github.com/postgis/postgis/pull/304/

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

6 years agorun_test.pl: --extension doesn't imply --raster anymore
Sandro Santilli [Sat, 22 Sep 2018 10:39:09 +0000 (10:39 +0000)]
run_test.pl: --extension doesn't imply --raster anymore

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

6 years agoTell run_test.pl that split-raster was introduced in PostGIS 3.0.0
Sandro Santilli [Sat, 22 Sep 2018 10:37:45 +0000 (10:37 +0000)]
Tell run_test.pl that split-raster was introduced in PostGIS 3.0.0

Closes #4185

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

6 years agoST_ChaikinSmoothing: also smooth start/end point of polygon by default
Darafei Praliaskouski [Fri, 21 Sep 2018 13:20:50 +0000 (13:20 +0000)]
ST_ChaikinSmoothing: also smooth start/end point of polygon by default

Closes #4156
Closes https://github.com/postgis/postgis/pull/305

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

6 years agoAdd 2.5.0rc3dev as upgrade path to make debbie happy
Regina Obe [Tue, 18 Sep 2018 05:57:56 +0000 (05:57 +0000)]
Add 2.5.0rc3dev as upgrade path to make debbie happy

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

6 years agoSt_AsMVT: Fix id support, and extra tests and documentation
Raúl Marín Rodríguez [Mon, 17 Sep 2018 11:15:50 +0000 (11:15 +0000)]
St_AsMVT: Fix id support, and extra tests and documentation

Closes #4128
Closes https://github.com/postgis/postgis/pull/303

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

6 years agoAdd in 2.5.0rc2 as upgradeable path
Regina Obe [Mon, 17 Sep 2018 05:06:17 +0000 (05:06 +0000)]
Add in 2.5.0rc2 as upgradeable path

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

6 years agofix parse error in es po
Regina Obe [Mon, 17 Sep 2018 02:49:49 +0000 (02:49 +0000)]
fix parse error in es po

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

6 years agoFix xml parse errors in Korean raster po file
Regina Obe [Mon, 17 Sep 2018 02:29:47 +0000 (02:29 +0000)]
Fix xml parse errors in Korean raster po file

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

6 years agoReplace long tag with short-tag for xref ST_MemSize. Was causing problems with po...
Regina Obe [Mon, 17 Sep 2018 00:03:36 +0000 (00:03 +0000)]
Replace long tag with short-tag for xref ST_MemSize.  Was causing problems with po conversion
Revise to build html of languages with high completion % as part of general doc building

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

6 years agoremove de_DE, it's redundant with de which is more complete.
Regina Obe [Sun, 16 Sep 2018 20:02:09 +0000 (20:02 +0000)]
remove de_DE, it's redundant with de which is more complete.
Update all the po files (pulled from transifex)
References #3848

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

6 years agoupdate pot is not part of pull-tx so needs to be run before pulling the tx files
Regina Obe [Sun, 16 Sep 2018 16:54:50 +0000 (16:54 +0000)]
update pot is not part of pull-tx so needs to be run before pulling the tx files

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

6 years agoST_AsMVT: Support for Feature ID.
Darafei Praliaskouski [Sun, 16 Sep 2018 14:42:00 +0000 (14:42 +0000)]
ST_AsMVT: Support for Feature ID.

Patch by Stepan Kuzmin.

Closes #4128
Closes https://github.com/postgis/postgis/pull/274

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

6 years agoMove geofromjson test from tickets to in_geojson so JSON-C guard can be applied.
Regina Obe [Sun, 16 Sep 2018 07:13:02 +0000 (07:13 +0000)]
Move geofromjson test from tickets to in_geojson so JSON-C guard can be applied.
Closes #4178 for PostGIS 3.0.0

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

6 years agoDocument that LLV >= 6 is required for JIT compiles.
Regina Obe [Sun, 16 Sep 2018 05:10:12 +0000 (05:10 +0000)]
Document that LLV >= 6 is required for JIT compiles.
References #4125 for PostGIS 3.0.0

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

6 years agoUse qualified names in topology extension install
Raúl Marín Rodríguez [Fri, 14 Sep 2018 15:39:56 +0000 (15:39 +0000)]
Use qualified names in topology extension install

Closes #4160
Closes https://github.com/postgis/postgis/pull/300

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

6 years agoAvoid detail about which VCS is in use
Sandro Santilli [Fri, 14 Sep 2018 15:16:19 +0000 (15:16 +0000)]
Avoid detail about which VCS is in use

Drops SVN mentions from installation docs

[ci skip]

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

6 years agoAdd instructions about upgrading from pre-3.0.0 postgis extension
Sandro Santilli [Fri, 14 Sep 2018 15:03:56 +0000 (15:03 +0000)]
Add instructions about upgrading from pre-3.0.0 postgis extension

[ci skip]

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

6 years agoRemove more duplicated PERL assignments
Sandro Santilli [Fri, 14 Sep 2018 14:32:40 +0000 (14:32 +0000)]
Remove more duplicated PERL assignments

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

6 years agoDo not define PERL twice in the same Makefile
Sandro Santilli [Fri, 14 Sep 2018 13:57:00 +0000 (13:57 +0000)]
Do not define PERL twice in the same Makefile

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

6 years agoRevert "Do not include PGXS from extensions Makefiles"
Sandro Santilli [Fri, 14 Sep 2018 13:55:25 +0000 (13:55 +0000)]
Revert "Do not include PGXS from extensions Makefiles"

This reverts r16792, it looks like install rule requires PGXS..

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

6 years agoDo not include PGXS from extensions Makefiles
Sandro Santilli [Fri, 14 Sep 2018 13:53:24 +0000 (13:53 +0000)]
Do not include PGXS from extensions Makefiles

it is not needed and messes up our PERL variable

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

6 years agoAdd postgis_geos_noop function
Sandro Santilli [Fri, 14 Sep 2018 13:43:52 +0000 (13:43 +0000)]
Add postgis_geos_noop function

Includes regress test.
Closes #2902

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

6 years agoExplicitly call perl executable. Should fix failure on FreeBSD (bessie bots) (missed...
Regina Obe [Thu, 13 Sep 2018 21:34:51 +0000 (21:34 +0000)]
Explicitly call perl executable.  Should fix failure on FreeBSD (bessie bots) (missed spot on last commit)

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

6 years agoExplicitly call perl executable. Should fix failure on FreeBSD (bessie bots)
Regina Obe [Thu, 13 Sep 2018 21:33:38 +0000 (21:33 +0000)]
Explicitly call perl executable.  Should fix failure on FreeBSD (bessie bots)

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

6 years agoHandle almost-infinite features when building table statistics in ANALYZE
Paul Ramsey [Thu, 13 Sep 2018 20:41:00 +0000 (20:41 +0000)]
Handle almost-infinite features when building table statistics in ANALYZE
Closes #4144

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

6 years agoAvoid array overflow in ANALYZE (Closes #2985)
Paul Ramsey [Thu, 13 Sep 2018 19:25:24 +0000 (19:25 +0000)]
Avoid array overflow in ANALYZE (Closes #2985)

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

6 years agoPostgres 12 disallows variable length arrays in C, raster part
Darafei Praliaskouski [Thu, 13 Sep 2018 17:25:51 +0000 (17:25 +0000)]
Postgres 12 disallows variable length arrays in C, raster part

Patch by Laurenz Albe

Closes #4177

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

6 years agoPostgres 12 disallows variable length arrays in C
Darafei Praliaskouski [Thu, 13 Sep 2018 14:54:02 +0000 (14:54 +0000)]
Postgres 12 disallows variable length arrays in C

Patch by Laurenz Albe

Closes #4177

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

6 years agoFix Travis GCC warnings
Darafei Praliaskouski [Thu, 13 Sep 2018 13:48:42 +0000 (13:48 +0000)]
Fix Travis GCC warnings

-Wno-implicit-fallthrough added because of Bison-generated code.

-Wno-unknown-warning-option added because of clang.

-Wno-cast-function-type added because of SFCGAL error printing.

Most other warnings fixed.

Closes https://github.com/postgis/postgis/pull/299

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

6 years agoST_Intersеcts support GEOMETRYCOLLECTION
Darafei Praliaskouski [Thu, 13 Sep 2018 13:35:33 +0000 (13:35 +0000)]
ST_Intersеcts support GEOMETRYCOLLECTION

By some overlook ST_Intersects has a guard against GEOMETRYCOLLECTION, while GEOS can handle it.

Closes #4176
Closes https://github.com/postgis/postgis/pull/297

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

6 years agoAdd 2.4.5 upgradeable version
Sandro Santilli [Thu, 13 Sep 2018 13:24:58 +0000 (13:24 +0000)]
Add 2.4.5 upgradeable version

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

6 years agortpg_mapalgebra.c: fix GCC7 warnings.
Darafei Praliaskouski [Thu, 13 Sep 2018 06:12:27 +0000 (06:12 +0000)]
rtpg_mapalgebra.c: fix GCC7 warnings.

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

6 years ago[travis] Ubuntu Bionic, GCC 7
Darafei Praliaskouski [Wed, 12 Sep 2018 22:01:51 +0000 (22:01 +0000)]
[travis] Ubuntu Bionic, GCC 7

Re-enabled JIT.

-Werror now shows more warnings.

Closes https://github.com/postgis/postgis/pull/298

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

6 years ago[travis] cache pg11 debs
Darafei Praliaskouski [Wed, 12 Sep 2018 17:30:57 +0000 (17:30 +0000)]
[travis] cache pg11 debs

 - apt --allow-unauthenticated for hiccups with gpg
 - cache Postgres 11 debs on Travis.

Closes https://github.com/postgis/postgis/pull/296

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

6 years agoRemove unused errno.h includes.
Darafei Praliaskouski [Wed, 12 Sep 2018 17:21:38 +0000 (17:21 +0000)]
Remove unused errno.h includes.

Closes https://github.com/postgis/postgis/pull/295

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

6 years agoInline popular functions
Darafei Praliaskouski [Wed, 12 Sep 2018 14:43:15 +0000 (14:43 +0000)]
Inline popular functions

Gets rid of calls to sqrt, getPoint2d_cp, lwgeom_is_empty, lwgeom_as_lwpoint, stringbuffer_append.

KMeans on 200 000 points is now 30% faster.

Closes https://github.com/postgis/postgis/pull/294

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

6 years ago[travis] Use Postgres 11
Darafei Praliaskouski [Tue, 11 Sep 2018 13:17:45 +0000 (13:17 +0000)]
[travis] Use Postgres 11

This lets us check SP-GiST pull requests.

JIT is disabled due to LLVM/Postgres pre-release bug.

Closes https://github.com/postgis/postgis/pull/262

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

6 years agoFix docbook structure, move raster configuration in its own sect1
Sandro Santilli [Tue, 11 Sep 2018 11:49:22 +0000 (11:49 +0000)]
Fix docbook structure, move raster configuration in its own sect1

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

6 years agoUpdate installation docs to reflect raster extension split
Sandro Santilli [Tue, 11 Sep 2018 09:50:26 +0000 (09:50 +0000)]
Update installation docs to reflect raster extension split

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

6 years agoAdd raster split change in NEWS
Sandro Santilli [Tue, 11 Sep 2018 09:20:48 +0000 (09:20 +0000)]
Add raster split change in NEWS

Closes #3888

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

6 years agoRemove duplicated postgis.sql creation rule
Sandro Santilli [Tue, 11 Sep 2018 09:20:43 +0000 (09:20 +0000)]
Remove duplicated postgis.sql creation rule

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

6 years agoAdd postgis_raster support in postgis_extensions_upgrade()
Sandro Santilli [Tue, 11 Sep 2018 09:20:37 +0000 (09:20 +0000)]
Add postgis_raster support in postgis_extensions_upgrade()

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

6 years agoFix build of postgis upgrade when configuring --without-raster
Sandro Santilli [Tue, 11 Sep 2018 09:20:32 +0000 (09:20 +0000)]
Fix build of postgis upgrade when configuring --without-raster

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

6 years agoRe-use generalized extension upgrade paths makefile snippet
Sandro Santilli [Tue, 11 Sep 2018 09:20:25 +0000 (09:20 +0000)]
Re-use generalized extension upgrade paths makefile snippet

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

6 years agoExtension does not depend on raster anymore
Sandro Santilli [Tue, 11 Sep 2018 09:20:20 +0000 (09:20 +0000)]
Extension does not depend on raster anymore

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

6 years agoAlso give an hint about dropping raster after upgrade
Sandro Santilli [Tue, 11 Sep 2018 09:20:15 +0000 (09:20 +0000)]
Also give an hint about dropping raster after upgrade

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

6 years agoFix installation of postgis_raster upgrade scripts
Sandro Santilli [Tue, 11 Sep 2018 09:20:09 +0000 (09:20 +0000)]
Fix installation of postgis_raster upgrade scripts

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

6 years agoInclude upgrade in raster extension create from unpackaged
Sandro Santilli [Tue, 11 Sep 2018 09:20:04 +0000 (09:20 +0000)]
Include upgrade in raster extension create from unpackaged

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

6 years agoCheck version before allowing to perform upgrade from unpackaged
Sandro Santilli [Tue, 11 Sep 2018 09:19:58 +0000 (09:19 +0000)]
Check version before allowing to perform upgrade from unpackaged

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

6 years agoFix install-upgrade-paths rule
Sandro Santilli [Tue, 11 Sep 2018 09:19:52 +0000 (09:19 +0000)]
Fix install-upgrade-paths rule

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

6 years agoReport raster extension status from postgis_full_version()
Sandro Santilli [Tue, 11 Sep 2018 09:19:46 +0000 (09:19 +0000)]
Report raster extension status from postgis_full_version()

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

6 years agoMake raster extension depend on postgis extension
Sandro Santilli [Tue, 11 Sep 2018 09:19:41 +0000 (09:19 +0000)]
Make raster extension depend on postgis extension

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

6 years agoIgnore generated postgis_raster files
Sandro Santilli [Tue, 11 Sep 2018 09:19:36 +0000 (09:19 +0000)]
Ignore generated postgis_raster files

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

6 years agoFix postgis_raster from unpackaged
Sandro Santilli [Tue, 11 Sep 2018 09:19:31 +0000 (09:19 +0000)]
Fix postgis_raster from unpackaged

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

6 years agoMake unpackaged from postgis_raster too
Sandro Santilli [Tue, 11 Sep 2018 09:19:25 +0000 (09:19 +0000)]
Make unpackaged from postgis_raster too

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

6 years agoEncode dependency on unpackage_raster_if_needed.sql
Sandro Santilli [Tue, 11 Sep 2018 09:19:20 +0000 (09:19 +0000)]
Encode dependency on unpackage_raster_if_needed.sql

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

6 years agoEvaluate unpackage code lazily
Sandro Santilli [Tue, 11 Sep 2018 09:19:15 +0000 (09:19 +0000)]
Evaluate unpackage code lazily

Avoids having to find all mentioned object at plan time

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

6 years agoOnly unpackage raster when needed, and hint about restoring it
Sandro Santilli [Tue, 11 Sep 2018 09:19:09 +0000 (09:19 +0000)]
Only unpackage raster when needed, and hint about restoring it

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

6 years agoDrop transaction control from extension enabler
Sandro Santilli [Tue, 11 Sep 2018 09:19:03 +0000 (09:19 +0000)]
Drop transaction control from extension enabler

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

6 years ago[run_test.pl] More debugging outputs
Sandro Santilli [Tue, 11 Sep 2018 09:18:58 +0000 (09:18 +0000)]
[run_test.pl] More debugging outputs

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

6 years agoDrop all type-support functions
Sandro Santilli [Tue, 11 Sep 2018 09:18:53 +0000 (09:18 +0000)]
Drop all type-support functions

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