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

6 years agoAdd single-sided buffer option
Daniel Baston [Thu, 15 Feb 2018 03:03:49 +0000 (03:03 +0000)]
Add single-sided buffer option

Patch from Stephen Knox, modified by me
Resolves #3989

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

6 years agoUse -p call in bison instead of name-prefix in .y file
Paul Ramsey [Tue, 13 Feb 2018 17:52:29 +0000 (17:52 +0000)]
Use -p call in bison instead of name-prefix in .y file
to allow ancient versions of bison to build parser

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

6 years agocheck_gdal: Don't assume failure when the datapath is invalid
Darafei Praliaskouski [Tue, 13 Feb 2018 13:30:33 +0000 (13:30 +0000)]
check_gdal: Don't assume failure when the datapath is invalid

Patch by Raúl Marín Rodríguez

Closes https://github.com/postgis/postgis/pull/206
Closes #4013

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

6 years agoAddress warnings across liblwgeom/ and postgis/
Darafei Praliaskouski [Tue, 13 Feb 2018 13:08:25 +0000 (13:08 +0000)]
Address warnings across liblwgeom/ and postgis/

Patch by Raúl Marín Rodríguez

Closes https://github.com/postgis/postgis/pull/207
Closes #4014

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

6 years agohard-code CGAL 4.11 to try to fix sfcgal 1.3.2 compileN
Regina Obe [Sat, 10 Feb 2018 21:08:18 +0000 (21:08 +0000)]
hard-code CGAL 4.11 to try to fix sfcgal 1.3.2 compileN

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

6 years agoFix build tests around geometric median (Raúl Marín Rodríguez)
Paul Ramsey [Thu, 8 Feb 2018 20:59:20 +0000 (20:59 +0000)]
Fix build tests around geometric median (Raúl Marín Rodríguez)
Closes https://github.com/postgis/postgis/pull/205
Closes #4012

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

6 years ago#4006, cast json/jsonb to text in ST_GeomFromGeoJSON
Paul Ramsey [Thu, 8 Feb 2018 19:11:45 +0000 (19:11 +0000)]
#4006, cast json/jsonb to text in ST_GeomFromGeoJSON

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

6 years agoAdd ST_SetBandPath (#4007) and ST_SetBandIndex (#4008). Update signature
Bborie Park [Wed, 7 Feb 2018 07:47:55 +0000 (07:47 +0000)]
Add ST_SetBandPath (#4007) and ST_SetBandIndex (#4008). Update signature
of ST_BandMetaData to include external raster band index

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

6 years agoFix versions to be compatible with what SFCGAL was compiled with.
Regina Obe [Sat, 3 Feb 2018 04:46:42 +0000 (04:46 +0000)]
Fix versions to be compatible with what SFCGAL was compiled with.

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

6 years agoApply node sorting before descent to CIRC_NODE trees for
Paul Ramsey [Fri, 2 Feb 2018 22:23:31 +0000 (22:23 +0000)]
Apply node sorting before descent to CIRC_NODE trees for
faster calculation of geography distances.
Closes #4010

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

6 years agoQuiet compiler warnings regarding abs/fabs
Paul Ramsey [Fri, 2 Feb 2018 21:42:12 +0000 (21:42 +0000)]
Quiet compiler warnings regarding abs/fabs

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

6 years agoAdd files missed in last commit
Daniel Baston [Fri, 2 Feb 2018 17:10:42 +0000 (17:10 +0000)]
Add files missed in last commit

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

6 years agoAdd ST_OrientedEnvelope
Daniel Baston [Fri, 2 Feb 2018 17:10:07 +0000 (17:10 +0000)]
Add ST_OrientedEnvelope

Resolves #3176

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

6 years agoadditional information for systemd Ubuntu
Bborie Park [Thu, 1 Feb 2018 02:32:33 +0000 (02:32 +0000)]
additional information for systemd Ubuntu

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

6 years agolwgeom_median: Avoid division by zero
Paul Ramsey [Fri, 26 Jan 2018 15:18:40 +0000 (15:18 +0000)]
lwgeom_median: Avoid division by zero
(Raúl Marín Rodríguez)
Closes #3997
Closes https://github.com/postgis/postgis/pull/198

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

6 years agolwprint_double: Avoid undefined behaviour with infinity
Paul Ramsey [Fri, 26 Jan 2018 15:10:58 +0000 (15:10 +0000)]
lwprint_double: Avoid undefined behaviour with infinity
(Raúl Marín Rodríguez)
Closes #4005
Closes https://github.com/postgis/postgis/pull/200

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

6 years agolwpoly_construct_circle: Avoid division by zero (Raúl Marín Rodríguez)
Paul Ramsey [Fri, 26 Jan 2018 15:01:15 +0000 (15:01 +0000)]
lwpoly_construct_circle: Avoid division by zero (Raúl Marín Rodríguez)
Closes #4003
Closes #199

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

6 years agoAvoid memory exhaustion when building a btree index (references #4004)
Paul Ramsey [Fri, 26 Jan 2018 12:43:51 +0000 (12:43 +0000)]
Avoid memory exhaustion when building a btree index (references #4004)
From Edmund Horner

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

6 years agoRemove unneeded casts
Daniel Baston [Wed, 24 Jan 2018 01:51:53 +0000 (01:51 +0000)]
Remove unneeded casts

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

6 years ago[drone] Use trisquel2 image, test all pgsql versions and upgrades
Sandro Santilli [Mon, 22 Jan 2018 11:14:54 +0000 (11:14 +0000)]
[drone] Use trisquel2 image, test all pgsql versions and upgrades

The new docker image also uses newer GEOS (3.6.2).
References #3813 taking a step in the GEOS upgrade direction for Dronie

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

6 years agoSet availability of support function for KNN index
Sandro Santilli [Mon, 22 Jan 2018 09:55:45 +0000 (09:55 +0000)]
Set availability of support function for KNN index

Fixes upgrade from 2.1 to 2.2+
References #3978 in trunk (2.5.0+)
Should be backported up to 2.2 branch

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

6 years agoInclude minor upgrade in sfcgal unpackaged upgrade
Sandro Santilli [Sat, 20 Jan 2018 09:20:44 +0000 (09:20 +0000)]
Include minor upgrade in sfcgal unpackaged upgrade

Closes #3913 again (for sfcgal) and hopefully fixes #4000

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

6 years agoImprove check for probin consistency
Sandro Santilli [Sat, 20 Jan 2018 08:32:44 +0000 (08:32 +0000)]
Improve check for probin consistency

See #4000

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

6 years ago[run_test.pl] Do not assume OPT_UPGRADE_FROM was given
Sandro Santilli [Fri, 19 Jan 2018 22:43:55 +0000 (22:43 +0000)]
[run_test.pl] Do not assume OPT_UPGRADE_FROM was given

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

6 years agoAddress configure issues for unusual CC/CFLAGS
Darafei Praliaskouski [Fri, 19 Jan 2018 17:52:33 +0000 (17:52 +0000)]
Address configure issues for unusual CC/CFLAGS

Patch by Raúl Marín Rodríguez.

Closes #3995
Closes https://github.com/postgis/postgis/pull/195

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

6 years agoFix bug in iterate_4d.
Darafei Praliaskouski [Fri, 19 Jan 2018 17:50:51 +0000 (17:50 +0000)]
Fix bug in iterate_4d.

Patch by Raúl Marín Rodríguez.

Closes #3997
Closes https://github.com/postgis/postgis/pull/196

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

6 years agoMake OPT_UPGRADE_FROM visible from subroutines (I think)
Sandro Santilli [Fri, 19 Jan 2018 16:33:47 +0000 (16:33 +0000)]
Make OPT_UPGRADE_FROM visible from subroutines (I think)

Fixes make check RUNTESTFLAGS="--sfcgal --upgrade --extension"

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

6 years agoMore debugging outputs from run_test.pl
Sandro Santilli [Fri, 19 Jan 2018 16:33:26 +0000 (16:33 +0000)]
More debugging outputs from run_test.pl

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

6 years agoProperly handle upgrade of sfcgal and topology from unpackaged.
Sandro Santilli [Fri, 19 Jan 2018 11:13:35 +0000 (11:13 +0000)]
Properly handle upgrade of sfcgal and topology from unpackaged.

Also add some more informational output

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

6 years ago[debbie] pass -v swith to run_test.pl consistently
Sandro Santilli [Fri, 19 Jan 2018 09:27:17 +0000 (09:27 +0000)]
[debbie] pass -v swith to run_test.pl consistently

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

6 years agoForgot to add pkg.m4 macro in r16324
Sandro Santilli [Thu, 18 Jan 2018 21:46:00 +0000 (21:46 +0000)]
Forgot to add pkg.m4 macro in r16324

See #3992

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