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

6 years agoMVT: Uniformize style and rename mvt_agg_context 'c'
Raúl Marín Rodríguez [Fri, 10 Aug 2018 11:33:36 +0000 (11:33 +0000)]
MVT: Uniformize style and rename mvt_agg_context 'c'

References #4145
Closes https://github.com/postgis/postgis/pull/285

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

6 years agoFix backend crash on ST_OffsetCurve failure
Daniel Baston [Wed, 8 Aug 2018 00:57:31 +0000 (00:57 +0000)]
Fix backend crash on ST_OffsetCurve failure

Closes #4143

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

6 years agoChange srid test for 993309 to be the same as 3309 in spatial_ref_sys table.
Regina Obe [Tue, 7 Aug 2018 10:34:01 +0000 (10:34 +0000)]
Change srid test for 993309 to be the same as 3309 in spatial_ref_sys table.
References #4104

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

6 years agoRemove Geos 3.4 guards
Raúl Marín Rodríguez [Thu, 2 Aug 2018 10:07:16 +0000 (10:07 +0000)]
Remove Geos 3.4 guards

References #4069
Closes #4142
Closes https://github.com/postgis/postgis/pull/284

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

6 years agoAdd rectfuncts to drop file so existing installs will get cleaned up
Paul Ramsey [Wed, 1 Aug 2018 18:32:50 +0000 (18:32 +0000)]
Add rectfuncts to drop file so existing installs will get cleaned up

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

6 years agoRevert lwgeom_clip_by_rect to use GEOSClipByRect
Daniel Baston [Wed, 1 Aug 2018 15:37:26 +0000 (15:37 +0000)]
Revert lwgeom_clip_by_rect to use GEOSClipByRect

This commit reverts lwgeom_clip_by_rect to its implementation in PostGIS 2.2 -
2.4.

It makes trivial modifications to the MVT tests to reflect the different results
returned by GEOSClipByRect instead of GEOSIntersection. The changed results are
topologically equivalent to the previous results, and their orientation is
unchanged.

No tests have been commented out or made version-dependent.

Closes #4134
Closes #4135
References #4038
Closes https://github.com/postgis/postgis/pull/282

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

6 years agoComment out rect-tree testing functions for now
Paul Ramsey [Wed, 1 Aug 2018 15:21:08 +0000 (15:21 +0000)]
Comment out rect-tree testing functions for now

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

6 years agoAddress standardizer warning
Raúl Marín Rodríguez [Wed, 1 Aug 2018 09:49:55 +0000 (09:49 +0000)]
Address standardizer warning

References #4140

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

6 years agoMake lwgeom_subdivide use lwgeom_intersection for clipping
Daniel Baston [Wed, 1 Aug 2018 00:45:01 +0000 (00:45 +0000)]
Make lwgeom_subdivide use lwgeom_intersection for clipping

lwgeom_clip_by_rect describes itself as clipping in a "fast but possibly
dirty way." This is not a good fit for lwgeom_subdivide, a primary use of
which is the optimization of point-in-polygon processes. That application
requires that the area covered by the subdivided geometry be the same as
the area covered by the original geometry, which in turn requires that a
robust intersection routine be used.

References #4038
Closes https://github.com/postgis/postgis/pull/281

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

6 years agoUpdate files from transifex
Regina Obe [Mon, 30 Jul 2018 16:38:45 +0000 (16:38 +0000)]
Update files from transifex

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

6 years agoUse user provided CFLAGS in the address standardizer
Raúl Marín Rodríguez [Mon, 30 Jul 2018 16:29:42 +0000 (16:29 +0000)]
Use user provided CFLAGS in the address standardizer

Closes https://github.com/postgis/postgis/pull/280
Closes #4140

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

6 years agoUse user-provided CFLAGS in the topology module
Raúl Marín Rodríguez [Mon, 30 Jul 2018 16:26:39 +0000 (16:26 +0000)]
Use user-provided CFLAGS in the topology module

References #4140

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

6 years agocu_in_wkt: Fix memory leaks in tests
Raúl Marín Rodríguez [Fri, 27 Jul 2018 11:28:00 +0000 (11:28 +0000)]
cu_in_wkt: Fix memory leaks in tests

Introduced in #4109

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

6 years agoRemove geometry autofix behavior
Daniel Baston [Wed, 25 Jul 2018 20:34:03 +0000 (20:34 +0000)]
Remove geometry autofix behavior

References #4040
Closes https://github.com/postgis/postgis/pull/268

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

6 years agoClarify retry logic in lwgeom_offsetcurve
Daniel Baston [Wed, 25 Jul 2018 20:15:43 +0000 (20:15 +0000)]
Clarify retry logic in lwgeom_offsetcurve

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

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

6 years agoEnsure index filters on expanded boxes are large enough to encompass
Paul Ramsey [Tue, 24 Jul 2018 20:50:08 +0000 (20:50 +0000)]
Ensure index filters on expanded boxes are large enough to encompass
the radii they are searching, closes #4081

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

6 years agoBetter parallel build (references #4105)
Paul Ramsey [Tue, 24 Jul 2018 13:46:23 +0000 (13:46 +0000)]
Better parallel build (references #4105)

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

6 years agoHarmonize doco with existing behaviour, closes #4127
Paul Ramsey [Tue, 24 Jul 2018 13:10:43 +0000 (13:10 +0000)]
Harmonize doco with existing behaviour, closes #4127

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

6 years agoFix WKT parser accepting numbers with multiple dots
Raúl Marín Rodríguez [Mon, 23 Jul 2018 15:42:59 +0000 (15:42 +0000)]
Fix WKT parser accepting numbers with multiple dots

Closes #4109
Closes https://github.com/postgis/postgis/pull/277

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

6 years agoFix raster regression on Raspberry Pi.
Darafei Praliaskouski [Mon, 23 Jul 2018 00:17:50 +0000 (00:17 +0000)]
Fix raster regression on Raspberry Pi.

A signed NODATA value was assigned to unsigned variable.
On Intel that was reversible, on ARM and PPC it replaced all negatives with 0.

Thanks to Alina Dolgikh for supporting me: https://www.patreon.com/komzpa

Closes #4102
Closes https://github.com/postgis/postgis/pull/276

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

6 years agoFix TopologyException in Raster Instersection
Darafei Praliaskouski [Sun, 22 Jul 2018 12:22:27 +0000 (12:22 +0000)]
Fix TopologyException in Raster Instersection

Raster _st_intersects was doing ST_Collect of polygons building each pixel,
which led to invalid geometry and TopologyException.

Thanks Vinícius A.B. Schmidt for reporting and testing solutions.

Closes #4132

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

6 years agoput back old sfcgal test (except use \i, and have the query be what was in sfcgal...
Regina Obe [Sun, 22 Jul 2018 05:00:46 +0000 (05:00 +0000)]
put back old sfcgal test (except use \i, and have the query be what was in sfcgal one), the sfcgal one was different
Closes #4131
Revise ST_ConcaveHull to use ST_UnaryUnion(ST_Collect..) (cause I know sfcgal doesn't replace with it's own implementation / a bit of a cheat)
Take out some ST_Union calls I think are over compensating.
References #3638

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

6 years agoPut in refname what kind of ST_MapAlgebra (expression or callback function)
Regina Obe [Sat, 21 Jul 2018 22:42:29 +0000 (22:42 +0000)]
Put in refname what kind of ST_MapAlgebra (expression or callback function)
Closes #2806 for PostGIS 2.5.0

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

6 years agoAdd license info to tiger_geocoder code
Regina Obe [Sat, 21 Jul 2018 17:53:21 +0000 (17:53 +0000)]
Add license info to tiger_geocoder code
Closes #3287 for PostGIS 2.5.0

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

6 years agoUpdate templates
Regina Obe [Sat, 21 Jul 2018 17:38:14 +0000 (17:38 +0000)]
Update templates

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

6 years agoClarify eps units on DBSCAN. Add ST_Distance examples.
Darafei Praliaskouski [Sat, 21 Jul 2018 16:35:59 +0000 (16:35 +0000)]
Clarify eps units on DBSCAN. Add ST_Distance examples.

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

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

6 years ago32bit allocations are 4-byte aligned, not 8-byte aligned.
Darafei Praliaskouski [Sat, 21 Jul 2018 14:20:52 +0000 (14:20 +0000)]
32bit allocations are 4-byte aligned, not 8-byte aligned.

Fix 8-bit alignment assumption in padding to match assert.

Passes tests on 32bit Ubuntu Artful.

References #3994

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

6 years agoFix return type doc for ST_PixelAsPoints, ST_PixelAsPolygons, and ST_PixelAsCentroids
Darafei Praliaskouski [Sat, 21 Jul 2018 13:03:25 +0000 (13:03 +0000)]
Fix return type doc for ST_PixelAsPoints, ST_PixelAsPolygons, and ST_PixelAsCentroids

Closes #2971

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

6 years agoClarify that PG* variables are used by psql directly.
Darafei Praliaskouski [Sat, 21 Jul 2018 12:22:57 +0000 (12:22 +0000)]
Clarify that PG* variables are used by psql directly.

Closes #2628

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

6 years agoDocument precision in EncodedPolyline.
Darafei Praliaskouski [Sat, 21 Jul 2018 12:16:46 +0000 (12:16 +0000)]
Document precision in EncodedPolyline.

Closes #3631

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

6 years agoBump versions in Raster doc.
Darafei Praliaskouski [Sat, 21 Jul 2018 11:56:35 +0000 (11:56 +0000)]
Bump versions in Raster doc.

Closes 4124.

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

6 years agoCommitt same changes to concave hull tests to sfcgal as was done for regular
Regina Obe [Wed, 18 Jul 2018 22:10:33 +0000 (22:10 +0000)]
Committ same changes to concave hull tests to sfcgal as was done for regular

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

6 years agoST_AsMVTGeom: Clip using tile coordinates also for buffer 0
Raúl Marín Rodríguez [Tue, 17 Jul 2018 09:02:10 +0000 (09:02 +0000)]
ST_AsMVTGeom: Clip using tile coordinates also for buffer 0

Closes https://github.com/postgis/postgis/pull/272
References #4120

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

6 years agoMake ST_ConcaveHull always cover original geometry.
Darafei Praliaskouski [Mon, 16 Jul 2018 20:32:14 +0000 (20:32 +0000)]
Make ST_ConcaveHull always cover original geometry.

Merge whatever current implementation generates with input before returinig to user.
Add currently known problematic geometries as test cases for further rewrites.

Closes #3638
Closes #3697

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

6 years agoDisable parallel doc image generation
Darafei Praliaskouski [Sun, 15 Jul 2018 19:15:48 +0000 (19:15 +0000)]
Disable parallel doc image generation

generator.c reuses same tmp[0-9].png intermediate files and corrupts images in debian packaged documentation.

Reported on #postgresql-apt@freenode by Myon (Christoph Berg).

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

6 years agoFix raster notices.
Darafei Praliaskouski [Sat, 14 Jul 2018 22:00:33 +0000 (22:00 +0000)]
Fix raster notices.

References #3994
Closes https://github.com/postgis/postgis/pull/271

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

6 years agoFix postgis_tiger_geocoder.control generation
Darafei Praliaskouski [Fri, 13 Jul 2018 23:30:57 +0000 (23:30 +0000)]
Fix postgis_tiger_geocoder.control generation

Patch by Christoph Berg

Commit 639308e moved the postgis_tiger_geocoder.control into the
Makefile, but forgot to remove the file from configure.ac, which still
generates the file, so the Makefile rule is not effective and the
resulting .control file has the raw @EXTVERSION@ line from the .in file.

Closes #4123
Closes https://github.com/postgis/postgis/pull/270

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

6 years agoSync column names in example.
Darafei Praliaskouski [Fri, 13 Jul 2018 21:20:00 +0000 (21:20 +0000)]
Sync column names in example.

Closes #4121

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

6 years agoSP-GiST documentation.
Darafei Praliaskouski [Fri, 13 Jul 2018 21:07:19 +0000 (21:07 +0000)]
SP-GiST documentation.

Patch provided by Esteban Zimanyi.

Closes #1847

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

6 years agoSP-GiST implementation polishing
Darafei Praliaskouski [Fri, 13 Jul 2018 20:06:43 +0000 (20:06 +0000)]
SP-GiST implementation polishing

Added copyrights to headers, moved BOX3D function declarations from SP-GiST to box3d headers to suppress warnings.

References #1847
Closes https://github.com/postgis/postgis/pull/269

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

6 years agoST_AsMVTGeom: Clip using tile coordinates
Raúl Marín Rodríguez [Tue, 10 Jul 2018 14:25:07 +0000 (14:25 +0000)]
ST_AsMVTGeom: Clip using tile coordinates

Closes #4120
Closes https://github.com/postgis/postgis/pull/267

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

6 years agoImprove lwgeom_geos clarity
Daniel Baston [Tue, 10 Jul 2018 13:42:23 +0000 (13:42 +0000)]
Improve lwgeom_geos clarity

References #4027
Closes https://github.com/postgis/postgis/pull/264

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

6 years agoClean memory sanitizer warnings
Raúl Marín Rodríguez [Fri, 6 Jul 2018 14:49:32 +0000 (14:49 +0000)]
Clean memory sanitizer warnings

References #4118
Closes https://github.com/postgis/postgis/pull/265

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

6 years agoAdapt regress tests for parallel plans
Raúl Marín Rodríguez [Fri, 6 Jul 2018 13:14:06 +0000 (13:14 +0000)]
Adapt regress tests for parallel plans

Closes #4117
Closes https://github.com/postgis/postgis/pull/266

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

6 years agoMVT combine: Fix bug with invalid property values
Raúl Marín Rodríguez [Fri, 6 Jul 2018 11:21:59 +0000 (11:21 +0000)]
MVT combine: Fix bug with invalid property values

Closes #4115
Closes https://github.com/postgis/postgis/pull/263

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

6 years agoReenable debbie's SFCGAL
Regina Obe [Wed, 4 Jul 2018 20:41:42 +0000 (20:41 +0000)]
Reenable debbie's SFCGAL
References #4068

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

6 years agoFlip to 2.5.0beta2dev
Regina Obe [Tue, 3 Jul 2018 21:45:50 +0000 (21:45 +0000)]
Flip to 2.5.0beta2dev

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

6 years agoupdate doc release notes in prep for 2.5.0beta1 release
Regina Obe [Tue, 3 Jul 2018 20:04:45 +0000 (20:04 +0000)]
update doc release notes in prep for 2.5.0beta1 release

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

6 years agoPrepping for 2.5.0beta1 release
Regina Obe [Tue, 3 Jul 2018 18:04:37 +0000 (18:04 +0000)]
Prepping for 2.5.0beta1 release

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

6 years agoGet rid of the ifdefs around the functions, these have always existed but were static...
Regina Obe [Sun, 1 Jul 2018 16:30:51 +0000 (16:30 +0000)]
Get rid of the ifdefs around the functions, these have always existed but were static before.
Closes #4114

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

6 years agofix typos in last credits
Regina Obe [Sun, 1 Jul 2018 15:42:04 +0000 (15:42 +0000)]
fix typos in last credits

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

6 years agoMinor update to the credits
Regina Obe [Sun, 1 Jul 2018 15:39:03 +0000 (15:39 +0000)]
Minor update to the credits

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