]> granicus.if.org Git - postgis/log
postgis
6 years agoMove to "postgis blue" #468
Paul Ramsey [Tue, 6 Nov 2018 20:30:16 +0000 (20:30 +0000)]
Move to "postgis blue" #468

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

6 years agoPatch over bad behaviour for near-parallel boxes and distancetree.
Paul Ramsey [Mon, 5 Nov 2018 22:41:31 +0000 (22:41 +0000)]
Patch over bad behaviour for near-parallel boxes and distancetree.
Unfortunately, this "fix" is probably breakable, just put the boxes closer and closer together until we get "close enough to be the same" results from the edge normal comparison again. Only way around this is to do dot product and comparisons in higher-than-double space
References #4223

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

6 years agoFlip tiger loading to load 2018, also switched to ftp site from www because even...
Regina Obe [Sun, 4 Nov 2018 19:41:49 +0000 (19:41 +0000)]
Flip tiger loading to load 2018, also switched to ftp site from www because even though it blocks, it at leasts waits instead of returning a 503 error. So far doesn't look like any changes, but still testing to confirm

References #4225

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

6 years agoAdd links from loader generate state and nation to corresponding drop table scripts
Regina Obe [Sun, 4 Nov 2018 09:36:57 +0000 (09:36 +0000)]
Add links from loader generate state and nation to corresponding drop table scripts

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

6 years agoTry for a responsive font size?
Paul Ramsey [Fri, 2 Nov 2018 22:15:13 +0000 (22:15 +0000)]
Try for a responsive font size?

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

6 years agoFix sfcgal regress failure - Delete 4326 entry before readding. Also use integer...
Regina Obe [Wed, 31 Oct 2018 03:25:23 +0000 (03:25 +0000)]
Fix sfcgal regress failure - Delete 4326 entry before readding. Also use integer format instead of string format.
References #4210

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

6 years agoIgnore docbook.css
Paul Ramsey [Tue, 30 Oct 2018 21:37:12 +0000 (21:37 +0000)]
Ignore docbook.css

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

6 years agoChange to use chunked-html-web version to log doc stats complement to r16960
Regina Obe [Tue, 30 Oct 2018 18:40:53 +0000 (18:40 +0000)]
Change to use chunked-html-web version to log doc stats complement to r16960

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

6 years agoAdd env vars to control valgrind for cunit tests
Daniel Baston [Tue, 30 Oct 2018 18:18:06 +0000 (18:18 +0000)]
Add env vars to control  valgrind for cunit tests

Valgrind will be run with CUNIT_VALGRIND_FLAGS when
CUNIT_WITH_VALGRIND is set to YES.

Also update the Travis configuration to use valgrind.

Closes #4219
Closes https://github.com/postgis/postgis/pull/323

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

6 years agoTidy lwline_clip_to_ordinate_range
Darafei Praliaskouski [Tue, 30 Oct 2018 02:57:55 +0000 (02:57 +0000)]
Tidy lwline_clip_to_ordinate_range

Fix memory leak.

Closes #4218
Closes https://github.com/postgis/postgis/pull/324

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

6 years agoMore style tweaks and add 'chucked-html-web' target for
Paul Ramsey [Mon, 29 Oct 2018 22:20:48 +0000 (22:20 +0000)]
More style tweaks and add 'chucked-html-web' target for
building ref docs with google analytics code embedded

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

6 years agoIgnore generated files
Paul Ramsey [Mon, 29 Oct 2018 20:22:41 +0000 (20:22 +0000)]
Ignore generated files

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

6 years agoUse TupleDescAttr instead of its internal representation
Raúl Marín Rodríguez [Mon, 29 Oct 2018 13:52:42 +0000 (13:52 +0000)]
Use TupleDescAttr instead of its internal representation

Closes https://trac.osgeo.org/postgis/ticket/4213
Closes https://github.com/postgis/postgis/pull/322

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

6 years agoST_Subdivide: don't crash if on some iteration you need to subdivide Empty
Darafei Praliaskouski [Mon, 29 Oct 2018 03:18:07 +0000 (03:18 +0000)]
ST_Subdivide: don't crash if on some iteration you need to subdivide Empty

Closes #4217
Closes https://github.com/postgis/postgis/pull/321

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

6 years agoST_LocateBetween[Elevations]: support TIN and TRIANGLE clipping.
Darafei Praliaskouski [Sat, 27 Oct 2018 10:23:03 +0000 (10:23 +0000)]
ST_LocateBetween[Elevations]: support TIN and TRIANGLE clipping.

Triangle is converted into a TIN that has several triangles with same orientation.

Committed in Paris Airport.

Closes #4155

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

6 years agoclang-format config file.
Darafei Praliaskouski [Sat, 27 Oct 2018 10:21:00 +0000 (10:21 +0000)]
clang-format config file.

Best to use with clang-format-7 and git-clang-format-7.
Not obligatory to use, just a common copy so that people who use it use the same rules.

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

6 years agoST_LocateBetween[Elevations]: support POLYGON
Darafei Praliaskouski [Thu, 25 Oct 2018 23:16:02 +0000 (23:16 +0000)]
ST_LocateBetween[Elevations]: support POLYGON

Output may be invalid for non-convex, area is preserved.

References #4155
Closes https://github.com/postgis/postgis/pull/319

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

6 years agoRemove accidentially committed configure support for openmp.
Darafei Praliaskouski [Thu, 25 Oct 2018 14:25:19 +0000 (14:25 +0000)]
Remove accidentially committed configure support for openmp.

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

6 years agoFix typo in upgrade message
Daniel Baston [Thu, 25 Oct 2018 11:52:10 +0000 (11:52 +0000)]
Fix typo in upgrade message

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

6 years agoST_LocateBetween[Elevations]: Support GEOMETRYCOLLECTION
Darafei Praliaskouski [Wed, 24 Oct 2018 21:56:42 +0000 (21:56 +0000)]
ST_LocateBetween[Elevations]: Support GEOMETRYCOLLECTION

References #4155

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

6 years ago[raster] Use GDALFPolygonize unconditionally
Darafei Praliaskouski [Wed, 24 Oct 2018 14:02:34 +0000 (14:02 +0000)]
[raster] Use GDALFPolygonize unconditionally

GDAL 1.10 is already required and 1.9 contains it, so no check needed.

Closes #4215

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

6 years ago[raster] Fix envelope Contains shortcut in ST_Clip
Darafei Praliaskouski [Tue, 23 Oct 2018 12:58:02 +0000 (12:58 +0000)]
[raster] Fix envelope Contains shortcut in ST_Clip

Patch by Sai-bot

Closes #3457

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

6 years ago[doc][raster] Fix typos in function names in ST_Intersection, interlink
Darafei Praliaskouski [Tue, 23 Oct 2018 12:19:59 +0000 (12:19 +0000)]
[doc][raster] Fix typos in function names in ST_Intersection, interlink

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

6 years agoST_Subdivide: support rect hole in rect shell
Darafei Praliaskouski [Mon, 22 Oct 2018 15:23:38 +0000 (15:23 +0000)]
ST_Subdivide: support rect hole in rect shell

Closes #4211
Closes https://github.com/postgis/postgis/pull/317

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

6 years agoFix support for overriding RUNTESTFLAGS via env variable
Sandro Santilli [Mon, 22 Oct 2018 08:02:50 +0000 (08:02 +0000)]
Fix support for overriding RUNTESTFLAGS via env variable

otherwise --sfcgal gets missing

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

6 years agoStub empty install/uninstall rules under regress/ dir
Sandro Santilli [Mon, 22 Oct 2018 06:36:43 +0000 (06:36 +0000)]
Stub empty install/uninstall rules under regress/ dir

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

6 years agoAvoid running core and sfcgal regress tests in parallel
Sandro Santilli [Mon, 22 Oct 2018 06:36:37 +0000 (06:36 +0000)]
Avoid running core and sfcgal regress tests in parallel

... the alternative would be using different databases but lets
change things incrementally ...

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

6 years agoFix "make check" on platforms without SFCGAL support
Sandro Santilli [Mon, 22 Oct 2018 06:23:34 +0000 (06:23 +0000)]
Fix "make check" on platforms without SFCGAL support

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

6 years agoFix SFCGAL tests
Sandro Santilli [Sun, 21 Oct 2018 10:19:25 +0000 (10:19 +0000)]
Fix SFCGAL tests

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

6 years agoRe-enable accidentally disabled dumper tests
Sandro Santilli [Sun, 21 Oct 2018 09:59:48 +0000 (09:59 +0000)]
Re-enable accidentally disabled dumper tests

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

6 years agoDo not check before making all
Sandro Santilli [Sun, 21 Oct 2018 07:23:11 +0000 (07:23 +0000)]
Do not check before making all

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

6 years agoSplit core and sfcgal tests allowing to run one w/out the other
Sandro Santilli [Fri, 19 Oct 2018 23:06:30 +0000 (23:06 +0000)]
Split core and sfcgal tests allowing to run one w/out the other

Closes #4200

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

6 years agoHave "installcheck" also test CREATE EXTENSION from unpackaged
Sandro Santilli [Fri, 19 Oct 2018 06:30:58 +0000 (06:30 +0000)]
Have "installcheck" also test CREATE EXTENSION from unpackaged

Closes #4205

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

6 years agoDo not run upgrade tests twice
Sandro Santilli [Thu, 18 Oct 2018 22:36:34 +0000 (22:36 +0000)]
Do not run upgrade tests twice

Somehow closes #4201

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

6 years ago[run_test.pl] Properly upgrade raster from unpackaged
Sandro Santilli [Thu, 18 Oct 2018 22:16:41 +0000 (22:16 +0000)]
[run_test.pl] Properly upgrade raster from unpackaged

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

6 years agoDo not mark extention objects during pre-extension upgrades
Sandro Santilli [Thu, 18 Oct 2018 22:16:36 +0000 (22:16 +0000)]
Do not mark extention objects during pre-extension upgrades

Fixes CREATE EXTENSION postgis_topology FROM unpackaged
Closes #2503

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

6 years ago[check_all_upgrads] Enable testing of upgrades from unpackaged
Sandro Santilli [Thu, 18 Oct 2018 22:16:30 +0000 (22:16 +0000)]
[check_all_upgrads] Enable testing of upgrades from unpackaged

Closes #4204

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

6 years agoMake generation of upgrade path scripts more verbose
Sandro Santilli [Thu, 18 Oct 2018 21:33:29 +0000 (21:33 +0000)]
Make generation of upgrade path scripts more verbose

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

6 years agoGet a little hard-core on NaN representation, hopefully won't break obscure architect...
Paul Ramsey [Thu, 18 Oct 2018 17:40:52 +0000 (17:40 +0000)]
Get a little hard-core on NaN representation, hopefully won't break obscure architectures (more than they are already broken)
References #4173

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

6 years agoFix support for PostgreSQL-12 ("getrelid" macro removed)
Sandro Santilli [Wed, 17 Oct 2018 14:23:59 +0000 (14:23 +0000)]
Fix support for PostgreSQL-12 ("getrelid" macro removed)

The call is replaced with its expansion which should work
as back as PostgreSQL-9.1 which is before the oldest version
PostGIS-2.2 (our oldest maintained branch) supports.

This is then safe to backport to all branches till 2.2.

Patch by Laurenz Albe

References #4306 in trunk

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

6 years agoUpdates to doc introduction
Daniel Baston [Tue, 16 Oct 2018 22:24:18 +0000 (22:24 +0000)]
Updates to doc introduction

- Use bulleted lists for individual and corporate contributors
- Include URLs for corporate contributors, where available
- Remove final section of intro (largely duplicated links)
- Avoid listing contributors of dependency projects
- Update various URLs
- Minor formatting changes

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

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

6 years ago[check_all_upgrades] Enable topology and raster tests
Sandro Santilli [Tue, 16 Oct 2018 03:28:26 +0000 (03:28 +0000)]
[check_all_upgrades] Enable topology and raster tests

... rather than just core testing, this should now include
raster and topology.

Closes #4199

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

6 years agoFix spatial_ref_sys.sql target in multi-process make
Sandro Santilli [Mon, 15 Oct 2018 13:11:46 +0000 (13:11 +0000)]
Fix spatial_ref_sys.sql target in multi-process make

.. and drop all refs to sql_bits

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

6 years agoOnly drop function IF EXISTS ...
Sandro Santilli [Mon, 15 Oct 2018 11:46:32 +0000 (11:46 +0000)]
Only drop function IF EXISTS ...

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

6 years ago[topology] properly drop removed internal functions on upgrade
Sandro Santilli [Mon, 15 Oct 2018 10:35:58 +0000 (10:35 +0000)]
[topology] properly drop removed internal functions on upgrade

References #4202 in trunk

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

6 years ago[run_test.pl] Fix handling of split raster, broken in r16893
Sandro Santilli [Mon, 15 Oct 2018 06:54:20 +0000 (06:54 +0000)]
[run_test.pl] Fix handling of split raster, broken in r16893

A syntax typo made "has_split_raster" always return 1

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

6 years ago[run_test.pl] some debug lines added
Sandro Santilli [Mon, 15 Oct 2018 06:54:14 +0000 (06:54 +0000)]
[run_test.pl] some debug lines added

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

6 years agoMatch memory management functions, so that lwalloc is not freed with pfree.
Darafei Praliaskouski [Sun, 14 Oct 2018 23:13:39 +0000 (23:13 +0000)]
Match memory management functions, so that lwalloc is not freed with pfree.

Currently swapping lwalloc to be malloc instead of palloc results in non-functional build.

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

6 years agoregress: stabilize sort order in regress/clean.sql
Darafei Praliaskouski [Sun, 14 Oct 2018 23:08:46 +0000 (23:08 +0000)]
regress: stabilize sort order in regress/clean.sql

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

6 years ago[travis] re-enable logbt on dockerized builds
Darafei Praliaskouski [Sun, 14 Oct 2018 23:06:22 +0000 (23:06 +0000)]
[travis] re-enable logbt on dockerized builds

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

6 years ago[run_test.pl] honour -v upon postgis extension drop failure
Sandro Santilli [Sun, 14 Oct 2018 13:38:16 +0000 (13:38 +0000)]
[run_test.pl] honour -v upon postgis extension drop failure

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

6 years ago[run_test.pl] upgrades from unpackaged always have split raster
Sandro Santilli [Sun, 14 Oct 2018 07:57:22 +0000 (07:57 +0000)]
[run_test.pl] upgrades from unpackaged always have split raster

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

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