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

6 years agoDrop raster objects from postgis extension on upgrade
Sandro Santilli [Tue, 11 Sep 2018 09:18:48 +0000 (09:18 +0000)]
Drop raster objects from postgis extension on upgrade

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

6 years agoStrip begin/commit locally, for extension
Sandro Santilli [Tue, 11 Sep 2018 09:18:42 +0000 (09:18 +0000)]
Strip begin/commit locally, for extension

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

6 years agoSimplify rules, drop use of sql_bits
Sandro Santilli [Tue, 11 Sep 2018 09:18:36 +0000 (09:18 +0000)]
Simplify rules, drop use of sql_bits

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

6 years agoOnly expliclty create/upgrade RASTER extension when split extension exists
Sandro Santilli [Tue, 11 Sep 2018 09:18:31 +0000 (09:18 +0000)]
Only expliclty create/upgrade RASTER extension when split extension exists

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

6 years agoSplit a postgis_raster extension out of the postgis one
Sandro Santilli [Tue, 11 Sep 2018 09:18:26 +0000 (09:18 +0000)]
Split a postgis_raster extension out of the postgis one

Tweaks run_test.pl to create raster extension when needed.

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

6 years agoGet rid of note that 3.7.0 is not released. Switch winnie to test and packaged relea...
Regina Obe [Tue, 11 Sep 2018 06:19:49 +0000 (06:19 +0000)]
Get rid of note that 3.7.0 is not released.  Switch winnie to test and packaged released 3.7.0

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

6 years agoNL warning and add regression test
Paul Ramsey [Mon, 10 Sep 2018 22:28:29 +0000 (22:28 +0000)]
NL warning and add regression test
References #4164

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

6 years agoParse error on incorrectly nested GeoJSON input
Paul Ramsey [Mon, 10 Sep 2018 22:19:00 +0000 (22:19 +0000)]
Parse error on incorrectly nested GeoJSON input
Closes #4164

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

6 years agoFix undefined behaviour in ptarray_segmentize2d
Raúl Marín Rodríguez [Fri, 7 Sep 2018 11:19:22 +0000 (11:19 +0000)]
Fix undefined behaviour in ptarray_segmentize2d

Closes #4173
References #4153
Closes https://github.com/postgis/postgis/pull/292

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

6 years agoFix memory leak in lwgeom_offsetcurve
Raúl Marín Rodríguez [Fri, 7 Sep 2018 10:59:01 +0000 (10:59 +0000)]
Fix memory leak in lwgeom_offsetcurve

Closes #4172
Closes https://github.com/postgis/postgis/pull/291

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

6 years agoFix typo in comment
Sandro Santilli [Thu, 6 Sep 2018 22:36:47 +0000 (22:36 +0000)]
Fix typo in comment

[ci skip]

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

6 years agoDo not DROP CASCADE types which are still used in columns
Sandro Santilli [Thu, 6 Sep 2018 22:21:03 +0000 (22:21 +0000)]
Do not DROP CASCADE types which are still used in columns

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

6 years agoDo not use CASCADE when uninstalling operators
Sandro Santilli [Thu, 6 Sep 2018 22:20:56 +0000 (22:20 +0000)]
Do not use CASCADE when uninstalling operators

The least CASCADE we have, the better.

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

6 years agoIncrease double printing buffer, and strip out assertion that buffer is never filled
Paul Ramsey [Thu, 6 Sep 2018 20:17:50 +0000 (20:17 +0000)]
Increase double printing buffer, and strip out assertion that buffer is never filled
(References #4165)

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

6 years agoInline 2D squared distance.
Darafei Praliaskouski [Thu, 6 Sep 2018 18:16:18 +0000 (18:16 +0000)]
Inline 2D squared distance.

This allows loops with distance2d_sqr_pt_pt to be optimized better.

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

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

6 years agoDo not include the dot in the version string
Sandro Santilli [Wed, 5 Sep 2018 21:39:28 +0000 (21:39 +0000)]
Do not include the dot in the version string

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

6 years agoConsider 3.x upgrade-compatible with 2.x
Sandro Santilli [Wed, 5 Sep 2018 16:24:34 +0000 (16:24 +0000)]
Consider 3.x upgrade-compatible with 2.x

Closes #4170

As I was at it, I also replaced the use of a temporary function
with a DO block.

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

6 years agoRevise compute of $scriptdir so allows minors with 0.
Regina Obe [Sun, 2 Sep 2018 19:03:05 +0000 (19:03 +0000)]
Revise compute of $scriptdir so allows minors with 0.
Closes #4166

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

6 years agoMVT: Drop geometries smaller than the resolution
Raúl Marín Rodríguez [Wed, 29 Aug 2018 13:21:10 +0000 (13:21 +0000)]
MVT: Drop geometries smaller than the resolution

Closes #4161
Closes https://github.com/postgis/postgis/pull/288

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

6 years agoMVT: Fix resource leak when the first geometry is NULL
Raúl Marín Rodríguez [Wed, 29 Aug 2018 09:36:48 +0000 (09:36 +0000)]
MVT: Fix resource leak when the first geometry is NULL

Closes #4163

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

6 years agoClarify ST_DWithin usage when table stores a point and a radius.
Darafei Praliaskouski [Tue, 28 Aug 2018 07:45:03 +0000 (07:45 +0000)]
Clarify ST_DWithin usage when table stores a point and a radius.

Added after IRC discussion.
Thanks github user Boscop for questions and review.

Closes #4162
Closes https://github.com/postgis/postgis/pull/289

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

6 years agoMove ST_QuantizeCoordinates from miscellaneous to Editors and fix the first example
Regina Obe [Tue, 28 Aug 2018 07:08:59 +0000 (07:08 +0000)]
Move ST_QuantizeCoordinates from miscellaneous to Editors and fix the first example

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

6 years agoGenerate nan() explicitly with a zeroed out area, does this fix mix WKB generation...
Paul Ramsey [Thu, 23 Aug 2018 14:42:21 +0000 (14:42 +0000)]
Generate nan() explicitly with a zeroed out area, does this fix mix WKB generation of POINT EMPTY? References #4138

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

6 years agoRemove duplicate strcmp(), closes #4154
Paul Ramsey [Thu, 23 Aug 2018 12:45:27 +0000 (12:45 +0000)]
Remove duplicate strcmp(), closes #4154

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

6 years agoST_Segmentize: split geometry proportionally.
Darafei Praliaskouski [Thu, 23 Aug 2018 09:56:36 +0000 (09:56 +0000)]
ST_Segmentize: split geometry proportionally.

This helps avoid situations when 52 meter long segment is split into 50 and 2 meter long ones,
and split into 26 and 26 meter long ones. It is crucial for good interpolating M and Z values.

Thanks Andrew Shadoura for supporting me on Patreon: https://www.patreon.com/komzpa

Closes https://github.com/postgis/postgis/pull/287
Closes #4153

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

6 years agoFlip version of trunk to 3.0.0dev
Regina Obe [Sun, 19 Aug 2018 21:50:22 +0000 (21:50 +0000)]
Flip version of trunk to 3.0.0dev

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

6 years agoUpdate change log in prep for 2.5.0rc1 release
Regina Obe [Sun, 19 Aug 2018 15:09:18 +0000 (15:09 +0000)]
Update change log in prep for 2.5.0rc1 release

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

6 years agoput in date
Regina Obe [Sun, 19 Aug 2018 14:02:16 +0000 (14:02 +0000)]
put in date

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

6 years agoPrep for PostGIS 2.5.0rc1 release
Regina Obe [Sun, 19 Aug 2018 13:10:56 +0000 (13:10 +0000)]
Prep for PostGIS 2.5.0rc1 release

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

6 years agoEnable deterministic builds
Raúl Marín Rodríguez [Tue, 14 Aug 2018 08:08:10 +0000 (08:08 +0000)]
Enable deterministic builds

Honor SOURCE_DATE_EPOCH variable if present to enable reproducible builds

Patch by Christoph Berg <myon -at- debian.org>

Closes #4147
Closes #4148

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

6 years agoPG 12: Use standard macros for float limits
Raúl Marín Rodríguez [Mon, 13 Aug 2018 10:31:45 +0000 (10:31 +0000)]
PG 12: Use standard macros for float limits

Closes #4146

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

6 years agoFlip version to 2.5.0rc1dev
Regina Obe [Sat, 11 Aug 2018 10:45:25 +0000 (10:45 +0000)]
Flip version to 2.5.0rc1dev

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

6 years agoPrep for PostGIS 2.5.0beta2 release
Regina Obe [Sat, 11 Aug 2018 10:07:46 +0000 (10:07 +0000)]
Prep for PostGIS 2.5.0beta2 release

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

6 years agodisable tests that give different answer on Proj.5 vs. Proj.4
Regina Obe [Sat, 11 Aug 2018 09:22:39 +0000 (09:22 +0000)]
disable tests that give different answer on Proj.5 vs. Proj.4
References #4104 for PostGIS 2.5.0

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

6 years agoFix typo in last commit
Regina Obe [Sat, 11 Aug 2018 09:07:33 +0000 (09:07 +0000)]
Fix typo in last commit
References #3317 for PostGIS 2.5.0

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

6 years agoPut a note that ST_LineMerge strips M dimension. Provide an example of Z-dimension...
Regina Obe [Sat, 11 Aug 2018 08:58:20 +0000 (08:58 +0000)]
Put a note that ST_LineMerge strips M dimension.  Provide an example of Z-dimension linestrings
Closes #3317

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

6 years agoSpeedup MVT column parsing
Raúl Marín Rodríguez [Fri, 10 Aug 2018 15:57:40 +0000 (15:57 +0000)]
Speedup MVT column parsing

Closes #4145
Closes https://github.com/postgis/postgis/pull/286

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