]> granicus.if.org Git - postgis/log
postgis
6 years ago[topology] properly drop removed internal functions on upgrade
Sandro Santilli [Mon, 15 Oct 2018 10:38:39 +0000 (10:38 +0000)]
[topology] properly drop removed internal functions on upgrade

References #4202 in 2.5 branch

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

6 years agoFix packaging, was copying over old extension files
Regina Obe [Mon, 8 Oct 2018 23:19:50 +0000 (23:19 +0000)]
Fix packaging, was copying over old extension files

git-svn-id: http://svn.osgeo.org/postgis/branches/2.5@16879 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 11:11:12 +0000 (11:11 +0000)]
St_AsMVTGeom: Handle type changes in geometry collections

References #4181

git-svn-id: http://svn.osgeo.org/postgis/branches/2.5@16877 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:41:43 +0000 (11:41 +0000)]
Fix undefined behaviour in ptarray_clone_deep

References #4191

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

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

Also addresses several gcc warnings
References #4189

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

6 years agoFix packaging link - broke it on last change
Regina Obe [Tue, 2 Oct 2018 07:23:06 +0000 (07:23 +0000)]
Fix packaging link - broke it on last change

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

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

References #4188

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

6 years agoSt_AsMVTGeom: Drop invalid geometries after simplification
Raúl Marín Rodríguez [Mon, 1 Oct 2018 13:31:52 +0000 (13:31 +0000)]
St_AsMVTGeom: Drop invalid geometries after simplification

References #4183

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

6 years agofix windows links should point at postgis.net and not postgis.org
Regina Obe [Mon, 1 Oct 2018 06:05:56 +0000 (06:05 +0000)]
fix windows links should point at postgis.net and not postgis.org

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

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

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

6 years agoflip to 2.5.1dev
Regina Obe [Mon, 24 Sep 2018 01:07:09 +0000 (01:07 +0000)]
flip to 2.5.1dev

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

6 years agoStamp date of release.
Regina Obe [Sun, 23 Sep 2018 20:04:42 +0000 (20:04 +0000)]
Stamp date of release.
Put in legacy stub function for RASTER_to_binary  to allow pg upgrade (newer lib)
Closes #4097

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

6 years agoupdate changelog in prep for PostGIS 2.5.0 release
Regina Obe [Sun, 23 Sep 2018 15:03:09 +0000 (15:03 +0000)]
update changelog in prep for PostGIS 2.5.0 release

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

6 years agoPrep for 2.5.0 release
Regina Obe [Sun, 23 Sep 2018 01:07:34 +0000 (01:07 +0000)]
Prep for 2.5.0 release

git-svn-id: http://svn.osgeo.org/postgis/branches/2.5@16833 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:06:55 +0000 (13:06 +0000)]
St_AsMVTGeom: Avoid type changes due to validation

References #4181

git-svn-id: http://svn.osgeo.org/postgis/branches/2.5@16832 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:12 +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/branches/2.5@16827 b70326c6-7e19-0410-871a-916f4a2858ee

6 years agoFlip version to 2.5.0rc3dev
Regina Obe [Mon, 17 Sep 2018 05:05:30 +0000 (05:05 +0000)]
Flip version to 2.5.0rc3dev

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

6 years agoAdd upgrade path from 2.4.5
Regina Obe [Mon, 17 Sep 2018 03:01:21 +0000 (03:01 +0000)]
Add upgrade path from 2.4.5

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

6 years agoFix parse errors in po files. Update ChangeLog in prep for release
Regina Obe [Mon, 17 Sep 2018 02:44:34 +0000 (02:44 +0000)]
Fix parse errors in po files.  Update ChangeLog in prep for release

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

6 years agoReplace long tag with short-tag for xref ST_MemSize. Was causing problems with po...
Regina Obe [Sun, 16 Sep 2018 23:58:35 +0000 (23:58 +0000)]
Replace long tag with short-tag for xref ST_MemSize.  Was causing problems with po conversion.
Update pots (including getting rid of SVN)

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

6 years agoPrepping for 2.5.0 release
Regina Obe [Sun, 16 Sep 2018 21:52:10 +0000 (21:52 +0000)]
Prepping for 2.5.0 release

git-svn-id: http://svn.osgeo.org/postgis/branches/2.5@16815 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 21:36:21 +0000 (21:36 +0000)]
Move geofromjson test from tickets to in_geojson so JSON-C guard can be applied.
Closes #4178 for PostGIS 2.5.0

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

6 years agoTry to force liblwgeom source include to be referenced first before the installed...
Regina Obe [Sun, 16 Sep 2018 20:24:45 +0000 (20:24 +0000)]
Try to force  liblwgeom source include to be referenced first before the installed locations.
When installed, the installed one sometimes gets picked up instead of the source one.
References #4180

git-svn-id: http://svn.osgeo.org/postgis/branches/2.5@16813 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 18:51:18 +0000 (18:51 +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/branches/2.5@16811 b70326c6-7e19-0410-871a-916f4a2858ee

6 years agoUpdate pot files
Regina Obe [Sun, 16 Sep 2018 16:18:45 +0000 (16:18 +0000)]
Update pot files

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

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

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

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

References #4160

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

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

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

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

git-svn-id: http://svn.osgeo.org/postgis/branches/2.5@16784 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:17 +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/branches/2.5@16779 b70326c6-7e19-0410-871a-916f4a2858ee

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

Patch by Laurenz Albe

Closes #4177

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

6 years agoST_Interscts support GEOMETRYCOLLECTION
Darafei Praliaskouski [Thu, 13 Sep 2018 13:29:20 +0000 (13:29 +0000)]
ST_Interscts 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/branches/2.5@16773 b70326c6-7e19-0410-871a-916f4a2858ee

6 years agoAdd NEWS entry.
Darafei Praliaskouski [Thu, 13 Sep 2018 13:25:52 +0000 (13:25 +0000)]
Add NEWS entry.

References #4164

git-svn-id: http://svn.osgeo.org/postgis/branches/2.5@16772 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:07:06 +0000 (06:07 +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/branches/2.5@16728 b70326c6-7e19-0410-871a-916f4a2858ee

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

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

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

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

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

References #4172

git-svn-id: http://svn.osgeo.org/postgis/branches/2.5@16721 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:00 +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/branches/2.5@16716 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:28:08 +0000 (09:28 +0000)]
MVT: Fix resource leak when the first geometry is NULL

References #4163

git-svn-id: http://svn.osgeo.org/postgis/branches/2.5@16709 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:51:44 +0000 (07:51 +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/branches/2.5@16707 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:25:28 +0000 (07:25 +0000)]
Move ST_QuantizeCoordinates from miscellaneous to Editors and fix the first example

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

6 years agoupdate translation files, bump version to 2.5.0rc2dev, update badges
Regina Obe [Sun, 19 Aug 2018 22:16:29 +0000 (22:16 +0000)]
update translation files, bump version to 2.5.0rc2dev, update badges

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

6 years agoBranch 2.5
Regina Obe [Sun, 19 Aug 2018 21:41:46 +0000 (21:41 +0000)]
Branch 2.5

git-svn-id: http://svn.osgeo.org/postgis/branches/2.5@16698 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