]> granicus.if.org Git - postgis/log
postgis
6 years agoGuard against lookup failure, to avoid segfault in internally called case (references...
Paul Ramsey [Mon, 16 Apr 2018 17:26:57 +0000 (17:26 +0000)]
Guard against lookup failure, to avoid segfault in internally called case (references #4067)

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

6 years agoput back brin check. Brin doesn't work for < 9.5
Regina Obe [Mon, 16 Apr 2018 10:35:25 +0000 (10:35 +0000)]
put back brin check.  Brin doesn't work for < 9.5

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

6 years agoAdd doc notes, NEWS, and regress tests for json/jsonb (also add missing credits to...
Regina Obe [Mon, 16 Apr 2018 08:20:29 +0000 (08:20 +0000)]
Add doc notes, NEWS, and regress tests for json/jsonb (also add missing credits to NEWS)
Closes #4006 for 2.5.0

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

6 years agoDrop support in configure for PostgreSQL < 9.4 and GEOS < 3.5
Regina Obe [Mon, 16 Apr 2018 07:54:21 +0000 (07:54 +0000)]
Drop support in configure for PostgreSQL < 9.4 and GEOS < 3.5
References #4096

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

6 years agorevise to handle use of SOURCE_FOLDER if passed in as an arg
Regina Obe [Wed, 11 Apr 2018 21:02:41 +0000 (21:02 +0000)]
revise to handle use of SOURCE_FOLDER if passed in as an arg

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

6 years agoDisable sfcgal in make dist and regress testing until sfcgal compile issue
Regina Obe [Tue, 10 Apr 2018 04:06:01 +0000 (04:06 +0000)]
Disable sfcgal in make dist and regress testing until sfcgal compile issue
 for CGAL 4.11 / SFCGAL 1.3.3 against PostGIS is fixed
References #4068 for PostGIS 2.5

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

6 years ago#4063, optional false origin point for use in ST_Scale
Paul Ramsey [Fri, 6 Apr 2018 18:52:17 +0000 (18:52 +0000)]
#4063, optional false origin point for use in ST_Scale

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

6 years agoDo not try testing downgrades
Sandro Santilli [Fri, 6 Apr 2018 10:28:00 +0000 (10:28 +0000)]
Do not try testing downgrades

Closes #4064

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

6 years agoAdd upgrade paths for newly released stable versions
Regina Obe [Fri, 6 Apr 2018 07:13:13 +0000 (07:13 +0000)]
Add upgrade paths for newly released stable versions

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

6 years agoGEOSNode is not robust, avoid it in MakeValid.
Darafei Praliaskouski [Fri, 30 Mar 2018 19:05:56 +0000 (19:05 +0000)]
GEOSNode is not robust, avoid it in MakeValid.

Thread: https://lists.osgeo.org/pipermail/postgis-devel/2018-March/027078.html

Closes #4601
Closes https://github.com/postgis/postgis/pull/235

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

6 years agoAvoid incompatible automatic variable length array
Sandro Santilli [Wed, 28 Mar 2018 15:01:18 +0000 (15:01 +0000)]
Avoid incompatible automatic variable length array

Patch by vmo
Closes #4059

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

6 years agoAllow running topology perf test with run_test.pl
Sandro Santilli [Wed, 28 Mar 2018 15:01:12 +0000 (15:01 +0000)]
Allow running topology perf test with run_test.pl

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

6 years agoFix crasher in raster when fed an empty raster (note was tempted to change the def...
Regina Obe [Wed, 28 Mar 2018 08:37:30 +0000 (08:37 +0000)]
Fix crasher in raster when fed an empty raster (note was tempted to change the def of empty raster to include raster with no bands but not sure where else that is used, so just revised the clip check to not try to clip if no bands).
References #3055 for PostGIS 2.5 (trunk),
also minor doc fix references #2925 for PostGIS 2.5 (trunk)

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

6 years agoST_CPAWithin precision fix
Darafei Praliaskouski [Tue, 27 Mar 2018 17:31:51 +0000 (17:31 +0000)]
ST_CPAWithin precision fix

Closes #4032
Closes https://github.com/postgis/postgis/pull/234
References #4025

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

6 years agoRevise postgis extension helper functions to support PostgreSQL 11+ (proisagg replac...
Regina Obe [Sat, 24 Mar 2018 04:58:08 +0000 (04:58 +0000)]
Revise postgis extension helper functions to support PostgreSQL 11+ (proisagg  replaced with prokind)
References #4044 for PostGIS 2.5 (trunk)

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

6 years agonote in docs about soft upgrade that legacy.sql must be rerun for each minor.
Regina Obe [Sat, 24 Mar 2018 02:12:46 +0000 (02:12 +0000)]
note in docs about soft upgrade that legacy.sql must be rerun for each minor.
References #2960 for PostGIS 2.5.0 (trunk)

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

6 years agoAvoid dropping SRID in ST_ClusterIntersecting
Daniel Baston [Fri, 23 Mar 2018 20:40:20 +0000 (20:40 +0000)]
Avoid dropping SRID in ST_ClusterIntersecting

There was not actually a problem with ST_ClusterWithin, and the previous
commit did not resolve the problem with ST_ClusterIntersecting.

References #4055

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

6 years agoAvoid dropping SRID in ST_ClusterWithin
Daniel Baston [Fri, 23 Mar 2018 19:47:53 +0000 (19:47 +0000)]
Avoid dropping SRID in ST_ClusterWithin

Resolves #4055

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

6 years agoFix error message in ST_ChaikinSmoothing per request
Nicklas Avén [Fri, 23 Mar 2018 14:57:29 +0000 (14:57 +0000)]
Fix error message in ST_ChaikinSmoothing per request

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

6 years agoFix file header cu_chaikin.c
Nicklas Avén [Fri, 23 Mar 2018 14:56:46 +0000 (14:56 +0000)]
Fix file header cu_chaikin.c

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

6 years agoAdd function ST_FilterByM #4056
Nicklas Avén [Fri, 23 Mar 2018 14:11:53 +0000 (14:11 +0000)]
Add function ST_FilterByM #4056

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

6 years agoFix memory leak in lwline_chaikin
Raúl Marín Rodríguez [Fri, 23 Mar 2018 09:24:00 +0000 (09:24 +0000)]
Fix memory leak in lwline_chaikin

Closes https://github.com/postgis/postgis/pull/233
Closes #4053

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

6 years agoschema qualify geography functions (including ST_Buffer)
Regina Obe [Fri, 23 Mar 2018 02:43:26 +0000 (02:43 +0000)]
schema qualify geography functions (including ST_Buffer)
Closes #4052 for PostGIS 2.5 (trunk)

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

6 years agofix space indention to tab
Nicklas Avén [Tue, 20 Mar 2018 14:11:54 +0000 (14:11 +0000)]
fix space indention to tab

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

6 years agoAdd ChaikinSmoothing #4050
Nicklas Avén [Tue, 20 Mar 2018 13:11:17 +0000 (13:11 +0000)]
Add ChaikinSmoothing #4050

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

6 years agofixes #4049
Nicklas Avén [Tue, 20 Mar 2018 09:37:03 +0000 (09:37 +0000)]
fixes #4049

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

6 years agoSeems sometimes the postgis_svn_revision.h gets wiped out, so end up with no svn...
Regina Obe [Sun, 18 Mar 2018 22:42:35 +0000 (22:42 +0000)]
Seems sometimes the postgis_svn_revision.h gets wiped out, so end up with no svn number.
Explicitly call svn_repo_revision.pl to ensure we have an svn number to read
References #4047 for PostGIS 2.5 (trunk)

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

6 years agothis for sure will fix revision # this time I tested beforehand
Regina Obe [Sun, 18 Mar 2018 09:11:41 +0000 (09:11 +0000)]
this for sure will fix revision # this time I tested beforehand
References #4047 for PostGIS 2.5 (trunk)

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

6 years agoone more try to get the SVN number in there
Regina Obe [Sun, 18 Mar 2018 05:32:45 +0000 (05:32 +0000)]
one more try to get the SVN number in there

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

6 years agovariable typo
Regina Obe [Sun, 18 Mar 2018 05:16:18 +0000 (05:16 +0000)]
variable typo

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

6 years agobah so close I remarked out an fi by mistake
Regina Obe [Sun, 18 Mar 2018 05:07:55 +0000 (05:07 +0000)]
bah so close I remarked out an fi by mistake
References #4047

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

6 years agoFix sed replace that injects UTC date and SVN revision number
Regina Obe [Sun, 18 Mar 2018 04:59:30 +0000 (04:59 +0000)]
Fix sed replace that injects UTC date and SVN revision number
Change to just build BR and DE for now
References #4047

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

6 years agoFix sed replace call echo out svn number
Regina Obe [Sun, 18 Mar 2018 02:50:10 +0000 (02:50 +0000)]
Fix sed replace call echo out svn number
References #4047

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

6 years agoupdate-po and put back the timestamp, put ? for now for svn rev
Regina Obe [Sun, 18 Mar 2018 02:36:47 +0000 (02:36 +0000)]
update-po and put back the timestamp, put ? for now for svn rev
References #4047

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

6 years agoTake out attempt to add svn number to revision or change the title at all
Regina Obe [Sun, 18 Mar 2018 02:31:23 +0000 (02:31 +0000)]
Take out attempt to add svn number to revision or change the title at all
References #4047

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

6 years agoTurn of translation building for now until debug issue with it
Regina Obe [Sat, 17 Mar 2018 18:25:14 +0000 (18:25 +0000)]
Turn of translation building for now until debug issue with it
References #4047

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

6 years agoST_LocateBetween: document offset parameter, link See Also
Darafei Praliaskouski [Fri, 16 Mar 2018 11:34:33 +0000 (11:34 +0000)]
ST_LocateBetween: document offset parameter, link See Also

https://lists.osgeo.org/pipermail/postgis-devel/2018-February/026966.html

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

6 years agoReplace Style01-Style06 with Style1-Style6 -- we don't have styles called Style0x...
Regina Obe [Fri, 16 Mar 2018 05:01:48 +0000 (05:01 +0000)]
Replace Style01-Style06 with Style1-Style6 -- we don't have styles called Style0x so was breaking the build.
References #4047

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

6 years agowrong path in last commit
Regina Obe [Thu, 15 Mar 2018 18:21:29 +0000 (18:21 +0000)]
wrong path in last commit

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

6 years agoRevise doc building to include the SVN revision number if we are doing dev release
Regina Obe [Thu, 15 Mar 2018 18:18:23 +0000 (18:18 +0000)]
Revise doc building to include the SVN revision number if we are doing dev release

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

6 years agoPut in missing availability notes for ST_Union and ST_Clip and also put in missed...
Regina Obe [Tue, 13 Mar 2018 22:48:09 +0000 (22:48 +0000)]
Put in missing availability notes for ST_Union and ST_Clip and also put in missed schema qualifications on ST_Clip, _ST_Clip functions

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

6 years agoFix fuzzer building since lwgeom uses GEOSNode()
Darafei Praliaskouski [Tue, 13 Mar 2018 17:39:15 +0000 (17:39 +0000)]
Fix fuzzer building since lwgeom uses GEOSNode()

Patch by Even Rouault

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

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

6 years agoST_Subdivide: update documentation and examples.
Darafei Praliaskouski [Mon, 12 Mar 2018 11:29:45 +0000 (11:29 +0000)]
ST_Subdivide: update documentation and examples.

Closes #4041

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

6 years agoFix prototype name
Daniel Baston [Mon, 12 Mar 2018 02:47:13 +0000 (02:47 +0000)]
Fix prototype name

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

6 years agoAdd ST_QuantizeCoordinates
Daniel Baston [Mon, 12 Mar 2018 02:41:56 +0000 (02:41 +0000)]
Add ST_QuantizeCoordinates

Closes #4029
Closes https://github.com/postgis/postgis/pull/225

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

6 years agoLiblwgeom: Fix memory leaks
Raúl Marín Rodríguez [Fri, 9 Mar 2018 17:43:12 +0000 (17:43 +0000)]
Liblwgeom: Fix memory leaks

Closes #4043
Closes #https://github.com/postgis/postgis/pull/230

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

6 years agoPG11: Force order in failing test
Raúl Marín Rodríguez [Fri, 9 Mar 2018 15:37:02 +0000 (15:37 +0000)]
PG11: Force order in failing test

Closes #4033
Closes #https://github.com/postgis/postgis/pull/229

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

6 years agowrong index for pixtype vs code
Bborie Park [Fri, 9 Mar 2018 08:07:06 +0000 (08:07 +0000)]
wrong index for pixtype vs code

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

6 years agoST_Subdivide: improved handling of polygons with many holes.
Darafei Praliaskouski [Wed, 7 Mar 2018 14:59:39 +0000 (14:59 +0000)]
ST_Subdivide: improved handling of polygons with many holes.

Closes #4038
Closes https://github.com/postgis/postgis/pull/202

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

6 years agoFix invalid inputs for GEOS if it cannot process them
Darafei Praliaskouski [Wed, 7 Mar 2018 13:21:45 +0000 (13:21 +0000)]
Fix invalid inputs for GEOS if it cannot process them

Invalid input geometry is fixed with MakeValid for GEOS exceptions in
ST_Intersection, ST_Union, ST_Difference, ST_SymDifference.

Closes #4037
Closes https://github.com/postgis/postgis/pull/228

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

6 years agoDrop pgis_abs and all dependent functions in one go
Paul Ramsey [Tue, 6 Mar 2018 20:18:16 +0000 (20:18 +0000)]
Drop pgis_abs and all dependent functions in one go
Reference #4035

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

6 years agoDrop unused functions for pgis_abs during upgrades
Paul Ramsey [Tue, 6 Mar 2018 13:51:28 +0000 (13:51 +0000)]
Drop unused functions for pgis_abs during upgrades
References #4035

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

6 years agoAnnotate changed function signatures for pgis_abs removal
Paul Ramsey [Mon, 5 Mar 2018 17:42:47 +0000 (17:42 +0000)]
Annotate changed function signatures for pgis_abs removal
References #4035

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

6 years agoST_OffsetCurve: update docs about MULTI*
Darafei Praliaskouski [Mon, 5 Mar 2018 17:30:42 +0000 (17:30 +0000)]
ST_OffsetCurve: update docs about MULTI*

References #2508

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

6 years agoST_OffsetCurve: support for MULTILINESTRING, GEOMETRYCOLLECTION and non-simple inputs
Darafei Praliaskouski [Mon, 5 Mar 2018 16:54:13 +0000 (16:54 +0000)]
ST_OffsetCurve: support for MULTILINESTRING, GEOMETRYCOLLECTION and non-simple inputs

Closes #2508
Closes https://github.com/postgis/postgis/pull/224

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

6 years agoRemove the pgis_abs dummy type and replace with use of 'internal' type.
Paul Ramsey [Mon, 5 Mar 2018 14:14:49 +0000 (14:14 +0000)]
Remove the pgis_abs dummy type and replace with use of 'internal' type.
Closes #4035

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

6 years ago[github][codecov] Fix coverage for files with the same name in different paths
Darafei Praliaskouski [Sat, 3 Mar 2018 09:11:46 +0000 (09:11 +0000)]
[github][codecov] Fix coverage for files with the same name in different paths

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

6 years agoadd Saint standarization
Regina Obe [Sat, 3 Mar 2018 03:31:51 +0000 (03:31 +0000)]
add Saint standarization

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

6 years agoFix some spelling errors
Daniel Baston [Fri, 2 Mar 2018 01:47:41 +0000 (01:47 +0000)]
Fix some spelling errors

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

6 years agoSmall review pass for STYLE document
Sandro Santilli [Wed, 28 Feb 2018 22:24:44 +0000 (22:24 +0000)]
Small review pass for STYLE document

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

6 years agoFix space-indented astyle call
Sandro Santilli [Wed, 28 Feb 2018 22:20:14 +0000 (22:20 +0000)]
Fix space-indented astyle call

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

6 years agoFix astyle call for space-based indent files
Sandro Santilli [Wed, 28 Feb 2018 22:20:08 +0000 (22:20 +0000)]
Fix astyle call for space-based indent files

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

6 years agoHave astyle.sh use same indenting as requested by editorconfig
Sandro Santilli [Wed, 28 Feb 2018 22:07:33 +0000 (22:07 +0000)]
Have astyle.sh use same indenting as requested by editorconfig

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

6 years agoRename "astyle" Makefile rule to "fmt", mark as phony
Sandro Santilli [Wed, 28 Feb 2018 21:58:06 +0000 (21:58 +0000)]
Rename "astyle" Makefile rule to "fmt", mark as phony

otherwise with my version of make I get an "astyle" script created (!)

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

6 years agotest_rect_tree_contains_point: Fix memory leaks
Raúl Marín Rodríguez [Tue, 27 Feb 2018 17:42:55 +0000 (17:42 +0000)]
test_rect_tree_contains_point: Fix memory leaks

Closes #4026
Closes https://github.com/postgis/postgis/pull/216

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

6 years agoDocument and regress linemerge cases from SO
Paul Ramsey [Tue, 27 Feb 2018 14:19:46 +0000 (14:19 +0000)]
Document and regress linemerge cases from SO
Closes #4011

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

6 years agofix xsl script. Was flagging 2.4 items instead of 2.5 for 2.5
Regina Obe [Tue, 27 Feb 2018 10:55:06 +0000 (10:55 +0000)]
fix xsl script.  Was flagging 2.4 items instead of 2.5 for 2.5

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

6 years agoAdd ST_Buffer side=arg enhancement not to the docs.
Regina Obe [Tue, 27 Feb 2018 10:53:34 +0000 (10:53 +0000)]
Add ST_Buffer side=arg enhancement not to the docs.
References #3989

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

6 years agotest case for CPADistance with narrow temporal ranges (references #4025)
Paul Ramsey [Mon, 26 Feb 2018 20:27:24 +0000 (20:27 +0000)]
test case for CPADistance with narrow temporal ranges (references #4025)

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

6 years agoAdd re-generated files, a little after the lexer/parser
Paul Ramsey [Mon, 26 Feb 2018 19:52:01 +0000 (19:52 +0000)]
Add re-generated files, a little after the lexer/parser
so hopefully make stops harassing us for a while
References #4017

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

6 years agoFix memory corruption in case where lexer is interrupted mid-process
Paul Ramsey [Mon, 26 Feb 2018 19:51:25 +0000 (19:51 +0000)]
Fix memory corruption in case where lexer is interrupted mid-process
References #4017

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

6 years agoUse more precise bounds when testing overlap of temporal ranges.
Paul Ramsey [Mon, 26 Feb 2018 18:19:42 +0000 (18:19 +0000)]
Use more precise bounds when testing overlap of temporal ranges.
Fixes #4025

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

6 years agoIgnore build dir
Paul Ramsey [Mon, 26 Feb 2018 17:55:03 +0000 (17:55 +0000)]
Ignore build dir

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

6 years agojsonb type is only available since PostgreSQL 9.4.0
Sandro Santilli [Sat, 24 Feb 2018 16:21:38 +0000 (16:21 +0000)]
jsonb type is only available since PostgreSQL 9.4.0

Closes #4028 (thanks Dronie for finding out)

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

6 years agoClarify ST_Band, ST_AsTIFF description in case any of specified band does not exist.
Mateusz Loskot [Fri, 23 Feb 2018 21:54:22 +0000 (21:54 +0000)]
Clarify ST_Band, ST_AsTIFF description in case any of specified band does not exist.
Correct ST_Band description in case no bands are specified.

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

6 years agoST_LineToCurve is also available since 1.3.0
Sandro Santilli [Fri, 23 Feb 2018 14:18:54 +0000 (14:18 +0000)]
ST_LineToCurve is also available since 1.3.0

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

6 years agoFix availability of ST_CurveToLine
Sandro Santilli [Fri, 23 Feb 2018 13:04:16 +0000 (13:04 +0000)]
Fix availability of ST_CurveToLine

It is 1.3.0, not 1.2.2 (which was never published, btw)

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

6 years agoAdd cache support for rect_node trees and expose for testing
Paul Ramsey [Thu, 22 Feb 2018 19:44:06 +0000 (19:44 +0000)]
Add cache support for rect_node trees and expose for testing
in _ST_DistanceRectTreeCached(geom, geom).
References #2614

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

6 years agoFormat lwgeom_geos_clean.c before digging in
Darafei Praliaskouski [Thu, 22 Feb 2018 15:52:47 +0000 (15:52 +0000)]
Format lwgeom_geos_clean.c before digging in

References #2508

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

6 years agoFix cast from box3d to geometry
Darafei Praliaskouski [Thu, 22 Feb 2018 11:09:37 +0000 (11:09 +0000)]
Fix cast from box3d to geometry

Patch by Matthias Bay

Closes https://github.com/postgis/postgis/pull/214
Closes #4020

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

6 years agolwgeom_geos.c: clean up copy-paste
Darafei Praliaskouski [Thu, 22 Feb 2018 10:09:36 +0000 (10:09 +0000)]
lwgeom_geos.c: clean up copy-paste

Closes https://github.com/postgis/postgis/pull/217
Closes https://trac.osgeo.org/postgis/ticket/4027

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

6 years agominor edits
Regina Obe [Wed, 21 Feb 2018 23:21:33 +0000 (23:21 +0000)]
minor edits

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

6 years agoIntro hasn't been edited in 10 years. Get rid of some statements no longer true and...
Regina Obe [Wed, 21 Feb 2018 23:14:47 +0000 (23:14 +0000)]
Intro hasn't been edited in 10 years. Get rid of some statements no longer true and amend to reflect it's no longer a single company project

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

6 years agoLowercase Algunenano
Sandro Santilli [Wed, 21 Feb 2018 09:06:10 +0000 (09:06 +0000)]
Lowercase Algunenano

All LDAP account names are lowercase

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

6 years agoAdd Raúl Marín Rodríguez to developers list
Regina Obe [Tue, 20 Feb 2018 22:33:29 +0000 (22:33 +0000)]
Add Raúl Marín Rodríguez to developers list

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

6 years agorevert commit r16327 of this file. Was causing parse-address test to fail.
Regina Obe [Tue, 20 Feb 2018 22:11:36 +0000 (22:11 +0000)]
revert commit r16327 of this file.  Was causing parse-address test to fail.
Closes #4024

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

6 years agoSwitch to PostgreSQL 9.6 and libjson-c-dev
Sandro Santilli [Tue, 20 Feb 2018 21:28:36 +0000 (21:28 +0000)]
Switch to PostgreSQL 9.6 and libjson-c-dev

Fixes gitlab-ci build, closes #4023

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

6 years agoEdge tree index on geometries makes distance calculations on large geometries
Paul Ramsey [Tue, 20 Feb 2018 20:40:00 +0000 (20:40 +0000)]
Edge tree index on geometries makes distance calculations on large geometries
go much faster. Needs to be used selectively and potentially with a caching
component for maximum effect. Test it out using _ST_DistanceRectTree(geom, geom)
for now.
References #2614

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

6 years agoFormatting lwgeom_geos.c
Darafei Praliaskouski [Tue, 20 Feb 2018 18:05:57 +0000 (18:05 +0000)]
Formatting lwgeom_geos.c

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

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

6 years agoFix errorneous ticket number.
Darafei Praliaskouski [Tue, 20 Feb 2018 17:55:38 +0000 (17:55 +0000)]
Fix errorneous ticket number.

References #2985

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

6 years agoDrop cstring2text/text2cstring in favor of PostgreSQL functions
Darafei Praliaskouski [Tue, 20 Feb 2018 16:16:45 +0000 (16:16 +0000)]
Drop cstring2text/text2cstring in favor of PostgreSQL functions

Patch by Raúl Marín Rodríguez

Closes https://github.com/postgis/postgis/pull/213
Closes #4022

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

6 years agouse text_to_cstring instead of text2cstring
Bborie Park [Tue, 20 Feb 2018 14:35:50 +0000 (14:35 +0000)]
use text_to_cstring instead of text2cstring

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

6 years agoPROJ: Cleanup point4d_transform and lwproj_from_string
Darafei Praliaskouski [Tue, 20 Feb 2018 14:00:57 +0000 (14:00 +0000)]
PROJ: Cleanup point4d_transform and lwproj_from_string

Patch by Raúl Marín Rodríguez

Closes https://github.com/postgis/postgis/pull/212
Closes #4016

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

6 years agortpg_wkb: Add missing include
Darafei Praliaskouski [Tue, 20 Feb 2018 11:27:16 +0000 (11:27 +0000)]
rtpg_wkb: Add missing include

Patch by Raúl Marín Rodríguez

Closes https://github.com/postgis/postgis/pull/211
Closes #4021
References #2221

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

6 years agoGet rid of lib_envs.sh back to declaring everything locally
Regina Obe [Mon, 19 Feb 2018 22:36:45 +0000 (22:36 +0000)]
Get rid of lib_envs.sh back to declaring everything locally

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

6 years agoMerge branch '2221_WKB_HexWKB'
Bborie Park [Mon, 19 Feb 2018 22:06:20 +0000 (22:06 +0000)]
Merge branch '2221_WKB_HexWKB'

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

6 years agomove library version declare into shared script -- with plans to eventually have...
Regina Obe [Mon, 19 Feb 2018 17:39:56 +0000 (17:39 +0000)]
move library version declare into shared script -- with plans to eventually have postgres start/stop from script as well.

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

6 years agoAdd support to unstroke GEOMETRYCOLLECTION
Darafei Praliaskouski [Sat, 17 Feb 2018 08:46:20 +0000 (08:46 +0000)]
Add support to unstroke GEOMETRYCOLLECTION

Patch by Raúl Marín Rodríguez

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

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

6 years agopj_transform: Reset pj_errno after any error
Darafei Praliaskouski [Sat, 17 Feb 2018 08:42:21 +0000 (08:42 +0000)]
pj_transform: Reset pj_errno after any error

Patch by Raúl Marín Rodríguez

Closes https://github.com/postgis/postgis/pull/210
References #4016

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

6 years ago[github] Configure codecov
Darafei Praliaskouski [Sat, 17 Feb 2018 08:37:54 +0000 (08:37 +0000)]
[github] Configure codecov

Disable comment posting, allow coverage to go down a little bit

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