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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 years agoRe-enable upgrade testing in debbie, chances are sfcgal is now fixed
Sandro Santilli [Thu, 18 Jan 2018 21:43:17 +0000 (21:43 +0000)]
Re-enable upgrade testing in debbie, chances are sfcgal is now fixed

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

7 years agoFix sfcgal upgrade in run_test.pl
Sandro Santilli [Thu, 18 Jan 2018 21:41:32 +0000 (21:41 +0000)]
Fix sfcgal upgrade in run_test.pl

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

7 years agoDon't run upgrade tests until we've resolved the sfcgal issue
Regina Obe [Thu, 18 Jan 2018 19:31:53 +0000 (19:31 +0000)]
Don't run upgrade tests until we've resolved the sfcgal issue

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

7 years agoturn off update-po for now until can figure out what is issue with transifex errors
Regina Obe [Thu, 18 Jan 2018 15:49:38 +0000 (15:49 +0000)]
turn off update-po for now until can figure out what is issue with transifex errors

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

7 years agoTweak a couple string allocation to use the "just right" pgsql call
Paul Ramsey [Thu, 18 Jan 2018 14:21:46 +0000 (14:21 +0000)]
Tweak a couple string allocation to use the "just right" pgsql call

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

7 years agoST_AsText now has second argument to limit decimal digits.
Darafei Praliaskouski [Thu, 18 Jan 2018 12:49:41 +0000 (12:49 +0000)]
ST_AsText now has second argument to limit decimal digits.

Patch by Marc Ducobu, reworked by Darafei Praliaskouski.

Closes #3986
Closes https://github.com/postgis/postgis/pull/194

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

7 years agoFormatting: remove trailing whitespace from .sql files.
Darafei Praliaskouski [Wed, 17 Jan 2018 20:39:03 +0000 (20:39 +0000)]
Formatting: remove trailing whitespace from .sql files.

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

7 years agoUse bigint in regress_lots_of_points* to make 32bit tuple alignment consistent with...
Darafei Praliaskouski [Tue, 16 Jan 2018 22:47:58 +0000 (22:47 +0000)]
Use bigint in regress_lots_of_points* to make 32bit tuple alignment consistent with 64bit.

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

7 years agoUse PKG_PROG_PKG_CONFIG macro from pkg.m4 to detect pkg-config
Sandro Santilli [Tue, 16 Jan 2018 20:47:02 +0000 (20:47 +0000)]
Use PKG_PROG_PKG_CONFIG macro from pkg.m4 to detect pkg-config

Patch by Bas Couwenberg
Closes #3992

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

7 years agointerpolate_point4d: PARANOIA check should be on raw value instead of absolute
Darafei Praliaskouski [Tue, 16 Jan 2018 17:24:00 +0000 (17:24 +0000)]
interpolate_point4d: PARANOIA check should be on raw value instead of absolute

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

7 years ago[travis] Enable -Wall
Darafei Praliaskouski [Tue, 16 Jan 2018 17:03:43 +0000 (17:03 +0000)]
[travis] Enable -Wall

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

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

7 years agoFix warnings.
Darafei Praliaskouski [Tue, 16 Jan 2018 14:21:44 +0000 (14:21 +0000)]
Fix warnings.

Remove unreachable code.
Fix pointer dereference and null check order.
Fix HAS_Z/M and g1/g2 mixup in conditions.
Fix typmod variables to be signed.
Fix & and && in conditions.
Cover ST_AsGML with tests. Check option bitmask for unsupported bits.
Cover typmod_in/typmod_out with tests.
Reorder *free* to happen before *return*.

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

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

7 years agoRemove warning: unsigned is always positive
Paul Ramsey [Tue, 16 Jan 2018 13:48:47 +0000 (13:48 +0000)]
Remove warning: unsigned is always positive

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

7 years agofix typo in condition
Regina Obe [Tue, 16 Jan 2018 08:57:12 +0000 (08:57 +0000)]
fix typo in condition

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

7 years agostrip the microversion in the doc generation of doc-html tar, pdf, epub
Regina Obe [Tue, 16 Jan 2018 08:38:16 +0000 (08:38 +0000)]
strip the microversion in the doc generation of doc-html tar, pdf, epub
if this is a development release

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

7 years agochange to call with bash instead of sh, get rid of re-autogen would have been already...
Regina Obe [Mon, 15 Jan 2018 23:23:17 +0000 (23:23 +0000)]
change to call with bash instead of sh, get rid of re-autogen would have been already done.

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

7 years agogit-svn-id: http://svn.osgeo.org/postgis/trunk@16310 b70326c6-7e19-0410-871a-916f4a2858ee
Regina Obe [Mon, 15 Jan 2018 22:53:35 +0000 (22:53 +0000)]
git-svn-id: http://svn.osgeo.org/postgis/trunk@16310 b70326c6-7e19-0410-871a-916f4a2858ee

7 years agoone more try to get this bash logic right
Regina Obe [Mon, 15 Jan 2018 22:28:08 +0000 (22:28 +0000)]
one more try to get this bash logic right

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

7 years agotry again
Regina Obe [Mon, 15 Jan 2018 22:17:44 +0000 (22:17 +0000)]
try again

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

7 years agofix typo
Regina Obe [Mon, 15 Jan 2018 22:13:42 +0000 (22:13 +0000)]
fix typo

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

7 years agoinject a dev timestamp into the docs only when in development
Regina Obe [Mon, 15 Jan 2018 22:08:09 +0000 (22:08 +0000)]
inject a dev timestamp into the docs only when in development

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

7 years agoadd missing 2.3.5, 2.3.6, 2.4.3 to extensions upgrade,
Regina Obe [Mon, 15 Jan 2018 21:24:32 +0000 (21:24 +0000)]
add missing 2.3.5, 2.3.6, 2.4.3 to extensions upgrade,
revise doc build to not have SVN placeholder (may bring back later)

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

7 years agowith_interrupt_tests using non-standard extension
Regina Obe [Mon, 15 Jan 2018 00:16:46 +0000 (00:16 +0000)]
with_interrupt_tests using non-standard extension
Patch from Greg Troxel
References #3988 for PostGIS 2.5 (trunk)

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

7 years agoSynchronize coordinate output functins.
Darafei Praliaskouski [Sun, 14 Jan 2018 16:56:14 +0000 (16:56 +0000)]
Synchronize coordinate output functins.

Closes #3987
Closes https://github.com/postgis/postgis/pull/190

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

7 years agoremove no longer valid steps from HOWTO_RELEASE
Regina Obe [Sun, 14 Jan 2018 15:37:28 +0000 (15:37 +0000)]
remove no longer valid steps from HOWTO_RELEASE
closes #3985 for PostGIS 2.5 (trunk)

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

7 years agorevise doc build to build html tar ball. Revise how to release to skip make dist...
Regina Obe [Sat, 13 Jan 2018 18:54:39 +0000 (18:54 +0000)]
revise doc build to build html tar ball.  Revise how to release to skip make dist and doc build, and to just have these downloaded from site
References #3985 for PostGIS 2.5 (trunk)

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

7 years agoAdd missing pgpath variable to doc build, get rid of invalid clause in make_dist...
Regina Obe [Sat, 13 Jan 2018 18:22:38 +0000 (18:22 +0000)]
Add missing pgpath variable to doc build, get rid of invalid clause in make_dist (-v)

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

7 years agoAdd step to make the PDF, html and other docs.
Regina Obe [Sat, 13 Jan 2018 18:16:26 +0000 (18:16 +0000)]
Add step to make the PDF, html and other docs.
References #3985 for PostGIS 2.5 (trunk)

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

7 years agorevise make_dist.sh to allow overriding the package name
Regina Obe [Sat, 13 Jan 2018 17:48:28 +0000 (17:48 +0000)]
revise make_dist.sh to allow overriding the package name
References #3985

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

7 years agono need to cd down, already in root
Regina Obe [Sat, 13 Jan 2018 07:05:29 +0000 (07:05 +0000)]
no need to cd down, already in root

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

7 years agoFirst draft
Regina Obe [Sat, 13 Jan 2018 06:59:34 +0000 (06:59 +0000)]
First draft
References #3985

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

7 years agoFix install and clean rules
Sandro Santilli [Fri, 12 Jan 2018 19:17:20 +0000 (19:17 +0000)]
Fix install and clean rules

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

7 years agoUse fixed width integers.
Darafei Praliaskouski [Fri, 12 Jan 2018 13:34:32 +0000 (13:34 +0000)]
Use fixed width integers.

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

Closes #3970
Closes https://github.com/postgis/postgis/pull/183

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

7 years agoGenerate control file from Makefile rather than ./configure
Sandro Santilli [Fri, 12 Jan 2018 12:39:37 +0000 (12:39 +0000)]
Generate control file from Makefile rather than ./configure

Simplifies code to be more localized, fixed distclean and clean
to drop those generated files

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

7 years ago[travis] fix RUNTESTFLAGS to hold --verbose even when there is --dumprestore specified
Darafei Praliaskouski [Fri, 12 Jan 2018 10:29:34 +0000 (10:29 +0000)]
[travis] fix RUNTESTFLAGS to hold --verbose even when there is --dumprestore specified

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

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

7 years agoEncoded Polyline of EMPTY
Darafei Praliaskouski [Fri, 12 Jan 2018 08:18:39 +0000 (08:18 +0000)]
Encoded Polyline of EMPTY

Closes #3982
Closes https://github.com/postgis/postgis/pull/189

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

7 years agoWhen looking up SRID numbers, assume that spatial_ref_sys will
Paul Ramsey [Thu, 11 Jan 2018 22:09:35 +0000 (22:09 +0000)]
When looking up SRID numbers, assume that spatial_ref_sys will
share a schema will the calling function (st_transform, usually)
and look for spatial_ref_sys there. (References #3975)

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

7 years agoDo not try to install sfcgal extension when not available
Sandro Santilli [Thu, 11 Jan 2018 21:36:35 +0000 (21:36 +0000)]
Do not try to install sfcgal extension when not available

When testing upgrade from a version < 2.2.0 and requesting sfcgal
avoid to create it initially and create it directly at upgrade
time.

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

7 years agoFix editorconfig specification for perl scripts
Sandro Santilli [Thu, 11 Jan 2018 21:36:27 +0000 (21:36 +0000)]
Fix editorconfig specification for perl scripts

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

7 years agoAdd lost mention of Shoaib Burq.
Darafei Praliaskouski [Thu, 11 Jan 2018 17:41:42 +0000 (17:41 +0000)]
Add lost mention of Shoaib Burq.

Reformat Encoded Polyline out function to fit 80 columns per strk's request.

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

7 years agoDo not try to test upgrade from-to the same version
Sandro Santilli [Thu, 11 Jan 2018 16:43:53 +0000 (16:43 +0000)]
Do not try to test upgrade from-to the same version

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