]> granicus.if.org Git - postgis/log
postgis
6 years agoTravis: Add missing task file
Raúl Marín Rodríguez [Thu, 22 Nov 2018 15:24:41 +0000 (15:24 +0000)]
Travis: Add missing task file

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

6 years agoTravis: Run CI under clang's ubsan
Raúl Marín Rodríguez [Thu, 22 Nov 2018 15:19:44 +0000 (15:19 +0000)]
Travis: Run CI under clang's ubsan

References #4244
Closes https://github.com/postgis/postgis/pull/337

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

6 years agoFix undefined behaviour in ST_3DDistance
Raúl Marín Rodríguez [Thu, 22 Nov 2018 13:44:47 +0000 (13:44 +0000)]
Fix undefined behaviour in ST_3DDistance

Closes #4246
Closes https://github.com/postgis/postgis/pull/338

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

6 years agoReplace pg_constraint.consrc for pg_get_constraintdef fix for topology
Regina Obe [Thu, 22 Nov 2018 07:33:52 +0000 (07:33 +0000)]
Replace pg_constraint.consrc for pg_get_constraintdef  fix for topology
References #4231 for PostGIS 3.0.0

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

6 years agoUniformize how PGXS is used
Raúl Marín Rodríguez [Wed, 21 Nov 2018 16:21:52 +0000 (16:21 +0000)]
Uniformize how PGXS is used

Closes #4250
Closes https://github.com/postgis/postgis/pull/341

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

6 years agoFix undefined behaviour in raster intersection
Raúl Marín Rodríguez [Wed, 21 Nov 2018 14:14:01 +0000 (14:14 +0000)]
Fix undefined behaviour in raster intersection

Closes #4249
Closes https://github.com/postgis/postgis/pull/340

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

6 years agoAvoid undefined behaviour in next_float functions (Raúl Marín)
Raúl Marín Rodríguez [Wed, 21 Nov 2018 11:46:43 +0000 (11:46 +0000)]
Avoid undefined behaviour in next_float functions (Raúl Marín)

Closes #4247
Closes https://github.com/postgis/postgis/pull/339

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

6 years agoTravis: Run CI under GCC's undefined behavior sanitizer
Raúl Marín Rodríguez [Mon, 19 Nov 2018 16:21:03 +0000 (16:21 +0000)]
Travis: Run CI under GCC's undefined behavior sanitizer

References #4244
Closes https://github.com/postgis/postgis/pull/335

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

6 years agoFix undefined behaviour in gserialized_spgist_picksplit_nd
Raúl Marín Rodríguez [Mon, 19 Nov 2018 14:27:33 +0000 (14:27 +0000)]
Fix undefined behaviour in gserialized_spgist_picksplit_nd

Closes #4233
Closes https://github.com/postgis/postgis/pull/331

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

6 years agoOne more error in raster change - hopefully this is it
Regina Obe [Mon, 19 Nov 2018 01:12:55 +0000 (01:12 +0000)]
One more error in raster change - hopefully this is it
References #4231 for PostGIS 3.0

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

6 years agoRevert accidental commit
Regina Obe [Mon, 19 Nov 2018 00:07:39 +0000 (00:07 +0000)]
Revert accidental commit
References #4231 for PostGIS 3.0

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

6 years agoPut back deprecated functions removed in r17029, but patch them to use newer pg_get_c...
Regina Obe [Sun, 18 Nov 2018 23:57:16 +0000 (23:57 +0000)]
Put back deprecated functions removed in r17029, but patch them to use newer pg_get_constraintdef function.
Also mark them as undeprecated cause they are used in other management functions, and it's too messy to change those to use teh raw sql.
We maybe stuck with these forever :(
Closes #4243 for PostGIS 3.0

Also fix error in raster patching
References #4231 for PostGIS 3.0

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

6 years agoRemove deprecated functions postgis_constraint_srid, postgis_constraint_dims, postgis...
Regina Obe [Sun, 18 Nov 2018 23:12:34 +0000 (23:12 +0000)]
Remove deprecated functions postgis_constraint_srid, postgis_constraint_dims, postgis_constraint_type
Replace use of pg_constraint.consrc with ​pg_get_constraintdef(oid) pg_constraint.consrc was removed in PostgreSQL 12 and pg_get_constraintdef function has existed at least since PostgreSQL 9.4 (our lowest supported for 2.5), so safe to use across all our supported versions
References #4321 for PostGIS 3.0

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

6 years agoAvoid undefined behaviour in gserialized_estimate
Raúl Marín Rodríguez [Thu, 15 Nov 2018 16:10:36 +0000 (16:10 +0000)]
Avoid undefined behaviour in gserialized_estimate

Closes #4190
Closes https://github.com/postgis/postgis/pull/315

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

6 years agoAllocate enough memory in gidx_to_string
Raúl Marín Rodríguez [Thu, 15 Nov 2018 09:08:17 +0000 (09:08 +0000)]
Allocate enough memory in gidx_to_string

Close #4236

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

6 years agoDocument maxerr in ST_Rescale.
Darafei Praliaskouski [Wed, 14 Nov 2018 13:38:10 +0000 (13:38 +0000)]
Document maxerr in ST_Rescale.

Patch by Sunveer Singh.

Closes https://github.com/postgis/postgis/pull/334
Closes #2921

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

6 years ago[travis] Build coverage and debug builds in separate jobs
Darafei Praliaskouski [Tue, 13 Nov 2018 21:56:56 +0000 (21:56 +0000)]
[travis] Build coverage and debug builds in separate jobs

Makes builds twice as fast.

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

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

6 years ago[drone] Don't test PostGIS 3.0 on Postgres 9.4
Darafei Praliaskouski [Tue, 13 Nov 2018 20:41:38 +0000 (20:41 +0000)]
[drone] Don't test PostGIS 3.0 on Postgres 9.4

References #4230

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

6 years ago[travis] run debug build in parallel
Darafei Praliaskouski [Tue, 13 Nov 2018 20:40:37 +0000 (20:40 +0000)]
[travis] run debug build in parallel

References #4235

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

6 years agoSP-GiST within got into 3.0.0 not 2.5.0.
Darafei Praliaskouski [Tue, 13 Nov 2018 19:47:59 +0000 (19:47 +0000)]
SP-GiST within got into 3.0.0 not 2.5.0.

References #4230

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

6 years agoMake Travis catch compilation errors with debug logging enabled
Daniel Baston [Tue, 13 Nov 2018 12:59:41 +0000 (12:59 +0000)]
Make Travis catch compilation errors with debug logging enabled

References #4235
Closes https://github.com/postgis/postgis/pull/330

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

6 years agoRemove ISFINITE macros
Raúl Marín Rodríguez [Tue, 13 Nov 2018 11:10:07 +0000 (11:10 +0000)]
Remove ISFINITE macros

No longer needed since gnu99 is mandatory

Closes #4234

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

6 years agoUn-break build with debug logs
Raúl Marín Rodríguez [Tue, 13 Nov 2018 10:49:06 +0000 (10:49 +0000)]
Un-break build with debug logs

Related to #4235

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

6 years agoUpgrade script generator fix
Darafei Praliaskouski [Tue, 13 Nov 2018 07:17:28 +0000 (07:17 +0000)]
Upgrade script generator fix

References #4230

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

6 years agoST_Scale: Document the availability of the origin parameter
Raúl Marín Rodríguez [Mon, 12 Nov 2018 09:16:08 +0000 (09:16 +0000)]
ST_Scale: Document the availability of the origin parameter

Closes #4232

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

6 years agoGiST and SP-GiST GiST and SP-GiST n-D indexes (based on GIDX) with overlaps, contains...
Darafei Praliaskouski [Sun, 11 Nov 2018 10:55:03 +0000 (10:55 +0000)]
GiST and SP-GiST GiST and SP-GiST n-D indexes (based on GIDX) with overlaps, contains, within, and equals operators

Files not added in previous commit.

Patch by Esteban Zimányi and Arthur Lesuisse from Université Libre de Bruxelles (ULB)

Closes #4230

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

6 years agoGiST and SP-GiST n-D indexes (based on GIDX) with overlaps, contains, within, and...
Darafei Praliaskouski [Sun, 11 Nov 2018 10:39:57 +0000 (10:39 +0000)]
GiST and SP-GiST n-D indexes (based on GIDX) with overlaps, contains, within, and equals operators

Patch by Esteban Zimányi and Arthur Lesuisse from Université Libre de Bruxelles (ULB)

Closes https://github.com/postgis/postgis/pull/327
Closes https://github.com/postgis/postgis/pull/293
Closes #4230

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

6 years agoSpecified 1-indexing in ST_SetValues
Darafei Praliaskouski [Sun, 11 Nov 2018 10:26:13 +0000 (10:26 +0000)]
Specified 1-indexing in ST_SetValues

Patch by Sunveer Singh

Closes https://github.com/postgis/postgis/pull/328
Closes #2835

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

6 years agoFix new GCC warnings.
Darafei Praliaskouski [Sun, 11 Nov 2018 10:00:30 +0000 (10:00 +0000)]
Fix new GCC warnings.

Updating GCC on travis to Debian Unstable exposed strncpy and if body alignment warnings.

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

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

6 years agoImpose min number of segments per arc during linearization
Daniel Baston [Thu, 8 Nov 2018 12:14:54 +0000 (12:14 +0000)]
Impose min number of segments per arc during linearization

This commit sets a fixed minimum of two segments per non-circular arc and three
segments per circular arc.

Funded by City of Helsinki.

Fixes #3719
Closes https://github.com/postgis/postgis/pull/320

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

6 years agoDocumentation for AddRasterConstraint optional parameters
Darafei Praliaskouski [Thu, 8 Nov 2018 06:56:40 +0000 (06:56 +0000)]
Documentation for AddRasterConstraint optional parameters

Patch by Sunveer Singh

Closes #2767
Closes https://github.com/postgis/postgis/pull/325

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

6 years agoHonestly, trailing spaces?
Paul Ramsey [Wed, 7 Nov 2018 15:40:20 +0000 (15:40 +0000)]
Honestly, trailing spaces?

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

6 years agoAdd missing schema qualifications for raster _ST_Intersects
Regina Obe [Wed, 7 Nov 2018 15:37:42 +0000 (15:37 +0000)]
Add missing schema qualifications for raster _ST_Intersects
references #4129 for PostGIS 3.0

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

6 years agoMention how to use psql environment variables in long install version and how to...
Regina Obe [Wed, 7 Nov 2018 15:08:22 +0000 (15:08 +0000)]
Mention how to use psql environment variables in long install version and how to test extensions.
References #2214 for PostGIS 3.0

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

6 years agoMove to "postgis blue" #468
Paul Ramsey [Tue, 6 Nov 2018 20:30:16 +0000 (20:30 +0000)]
Move to "postgis blue" #468

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

6 years agoPatch over bad behaviour for near-parallel boxes and distancetree.
Paul Ramsey [Mon, 5 Nov 2018 22:41:31 +0000 (22:41 +0000)]
Patch over bad behaviour for near-parallel boxes and distancetree.
Unfortunately, this "fix" is probably breakable, just put the boxes closer and closer together until we get "close enough to be the same" results from the edge normal comparison again. Only way around this is to do dot product and comparisons in higher-than-double space
References #4223

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

6 years agoFlip tiger loading to load 2018, also switched to ftp site from www because even...
Regina Obe [Sun, 4 Nov 2018 19:41:49 +0000 (19:41 +0000)]
Flip tiger loading to load 2018, also switched to ftp site from www because even though it blocks, it at leasts waits instead of returning a 503 error. So far doesn't look like any changes, but still testing to confirm

References #4225

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

6 years agoAdd links from loader generate state and nation to corresponding drop table scripts
Regina Obe [Sun, 4 Nov 2018 09:36:57 +0000 (09:36 +0000)]
Add links from loader generate state and nation to corresponding drop table scripts

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

6 years agoTry for a responsive font size?
Paul Ramsey [Fri, 2 Nov 2018 22:15:13 +0000 (22:15 +0000)]
Try for a responsive font size?

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

6 years agoFix sfcgal regress failure - Delete 4326 entry before readding. Also use integer...
Regina Obe [Wed, 31 Oct 2018 03:25:23 +0000 (03:25 +0000)]
Fix sfcgal regress failure - Delete 4326 entry before readding. Also use integer format instead of string format.
References #4210

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

6 years agoIgnore docbook.css
Paul Ramsey [Tue, 30 Oct 2018 21:37:12 +0000 (21:37 +0000)]
Ignore docbook.css

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

6 years agoChange to use chunked-html-web version to log doc stats complement to r16960
Regina Obe [Tue, 30 Oct 2018 18:40:53 +0000 (18:40 +0000)]
Change to use chunked-html-web version to log doc stats complement to r16960

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

6 years agoAdd env vars to control valgrind for cunit tests
Daniel Baston [Tue, 30 Oct 2018 18:18:06 +0000 (18:18 +0000)]
Add env vars to control  valgrind for cunit tests

Valgrind will be run with CUNIT_VALGRIND_FLAGS when
CUNIT_WITH_VALGRIND is set to YES.

Also update the Travis configuration to use valgrind.

Closes #4219
Closes https://github.com/postgis/postgis/pull/323

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

6 years agoTidy lwline_clip_to_ordinate_range
Darafei Praliaskouski [Tue, 30 Oct 2018 02:57:55 +0000 (02:57 +0000)]
Tidy lwline_clip_to_ordinate_range

Fix memory leak.

Closes #4218
Closes https://github.com/postgis/postgis/pull/324

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

6 years agoMore style tweaks and add 'chucked-html-web' target for
Paul Ramsey [Mon, 29 Oct 2018 22:20:48 +0000 (22:20 +0000)]
More style tweaks and add 'chucked-html-web' target for
building ref docs with google analytics code embedded

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

6 years agoIgnore generated files
Paul Ramsey [Mon, 29 Oct 2018 20:22:41 +0000 (20:22 +0000)]
Ignore generated files

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

6 years agoUse TupleDescAttr instead of its internal representation
Raúl Marín Rodríguez [Mon, 29 Oct 2018 13:52:42 +0000 (13:52 +0000)]
Use TupleDescAttr instead of its internal representation

Closes https://trac.osgeo.org/postgis/ticket/4213
Closes https://github.com/postgis/postgis/pull/322

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

6 years agoST_Subdivide: don't crash if on some iteration you need to subdivide Empty
Darafei Praliaskouski [Mon, 29 Oct 2018 03:18:07 +0000 (03:18 +0000)]
ST_Subdivide: don't crash if on some iteration you need to subdivide Empty

Closes #4217
Closes https://github.com/postgis/postgis/pull/321

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

6 years agoST_LocateBetween[Elevations]: support TIN and TRIANGLE clipping.
Darafei Praliaskouski [Sat, 27 Oct 2018 10:23:03 +0000 (10:23 +0000)]
ST_LocateBetween[Elevations]: support TIN and TRIANGLE clipping.

Triangle is converted into a TIN that has several triangles with same orientation.

Committed in Paris Airport.

Closes #4155

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

6 years agoclang-format config file.
Darafei Praliaskouski [Sat, 27 Oct 2018 10:21:00 +0000 (10:21 +0000)]
clang-format config file.

Best to use with clang-format-7 and git-clang-format-7.
Not obligatory to use, just a common copy so that people who use it use the same rules.

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

6 years agoST_LocateBetween[Elevations]: support POLYGON
Darafei Praliaskouski [Thu, 25 Oct 2018 23:16:02 +0000 (23:16 +0000)]
ST_LocateBetween[Elevations]: support POLYGON

Output may be invalid for non-convex, area is preserved.

References #4155
Closes https://github.com/postgis/postgis/pull/319

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

6 years agoRemove accidentially committed configure support for openmp.
Darafei Praliaskouski [Thu, 25 Oct 2018 14:25:19 +0000 (14:25 +0000)]
Remove accidentially committed configure support for openmp.

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

6 years agoFix typo in upgrade message
Daniel Baston [Thu, 25 Oct 2018 11:52:10 +0000 (11:52 +0000)]
Fix typo in upgrade message

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

6 years agoST_LocateBetween[Elevations]: Support GEOMETRYCOLLECTION
Darafei Praliaskouski [Wed, 24 Oct 2018 21:56:42 +0000 (21:56 +0000)]
ST_LocateBetween[Elevations]: Support GEOMETRYCOLLECTION

References #4155

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

6 years ago[raster] Use GDALFPolygonize unconditionally
Darafei Praliaskouski [Wed, 24 Oct 2018 14:02:34 +0000 (14:02 +0000)]
[raster] Use GDALFPolygonize unconditionally

GDAL 1.10 is already required and 1.9 contains it, so no check needed.

Closes #4215

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

6 years ago[raster] Fix envelope Contains shortcut in ST_Clip
Darafei Praliaskouski [Tue, 23 Oct 2018 12:58:02 +0000 (12:58 +0000)]
[raster] Fix envelope Contains shortcut in ST_Clip

Patch by Sai-bot

Closes #3457

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

6 years ago[doc][raster] Fix typos in function names in ST_Intersection, interlink
Darafei Praliaskouski [Tue, 23 Oct 2018 12:19:59 +0000 (12:19 +0000)]
[doc][raster] Fix typos in function names in ST_Intersection, interlink

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

6 years agoST_Subdivide: support rect hole in rect shell
Darafei Praliaskouski [Mon, 22 Oct 2018 15:23:38 +0000 (15:23 +0000)]
ST_Subdivide: support rect hole in rect shell

Closes #4211
Closes https://github.com/postgis/postgis/pull/317

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

6 years agoFix support for overriding RUNTESTFLAGS via env variable
Sandro Santilli [Mon, 22 Oct 2018 08:02:50 +0000 (08:02 +0000)]
Fix support for overriding RUNTESTFLAGS via env variable

otherwise --sfcgal gets missing

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

6 years agoStub empty install/uninstall rules under regress/ dir
Sandro Santilli [Mon, 22 Oct 2018 06:36:43 +0000 (06:36 +0000)]
Stub empty install/uninstall rules under regress/ dir

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

6 years agoAvoid running core and sfcgal regress tests in parallel
Sandro Santilli [Mon, 22 Oct 2018 06:36:37 +0000 (06:36 +0000)]
Avoid running core and sfcgal regress tests in parallel

... the alternative would be using different databases but lets
change things incrementally ...

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

6 years agoFix "make check" on platforms without SFCGAL support
Sandro Santilli [Mon, 22 Oct 2018 06:23:34 +0000 (06:23 +0000)]
Fix "make check" on platforms without SFCGAL support

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

6 years agoFix SFCGAL tests
Sandro Santilli [Sun, 21 Oct 2018 10:19:25 +0000 (10:19 +0000)]
Fix SFCGAL tests

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

6 years agoRe-enable accidentally disabled dumper tests
Sandro Santilli [Sun, 21 Oct 2018 09:59:48 +0000 (09:59 +0000)]
Re-enable accidentally disabled dumper tests

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

6 years agoDo not check before making all
Sandro Santilli [Sun, 21 Oct 2018 07:23:11 +0000 (07:23 +0000)]
Do not check before making all

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

6 years agoSplit core and sfcgal tests allowing to run one w/out the other
Sandro Santilli [Fri, 19 Oct 2018 23:06:30 +0000 (23:06 +0000)]
Split core and sfcgal tests allowing to run one w/out the other

Closes #4200

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

6 years agoHave "installcheck" also test CREATE EXTENSION from unpackaged
Sandro Santilli [Fri, 19 Oct 2018 06:30:58 +0000 (06:30 +0000)]
Have "installcheck" also test CREATE EXTENSION from unpackaged

Closes #4205

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

6 years agoDo not run upgrade tests twice
Sandro Santilli [Thu, 18 Oct 2018 22:36:34 +0000 (22:36 +0000)]
Do not run upgrade tests twice

Somehow closes #4201

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

6 years ago[run_test.pl] Properly upgrade raster from unpackaged
Sandro Santilli [Thu, 18 Oct 2018 22:16:41 +0000 (22:16 +0000)]
[run_test.pl] Properly upgrade raster from unpackaged

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

6 years agoDo not mark extention objects during pre-extension upgrades
Sandro Santilli [Thu, 18 Oct 2018 22:16:36 +0000 (22:16 +0000)]
Do not mark extention objects during pre-extension upgrades

Fixes CREATE EXTENSION postgis_topology FROM unpackaged
Closes #2503

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

6 years ago[check_all_upgrads] Enable testing of upgrades from unpackaged
Sandro Santilli [Thu, 18 Oct 2018 22:16:30 +0000 (22:16 +0000)]
[check_all_upgrads] Enable testing of upgrades from unpackaged

Closes #4204

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

6 years agoMake generation of upgrade path scripts more verbose
Sandro Santilli [Thu, 18 Oct 2018 21:33:29 +0000 (21:33 +0000)]
Make generation of upgrade path scripts more verbose

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

6 years agoGet a little hard-core on NaN representation, hopefully won't break obscure architect...
Paul Ramsey [Thu, 18 Oct 2018 17:40:52 +0000 (17:40 +0000)]
Get a little hard-core on NaN representation, hopefully won't break obscure architectures (more than they are already broken)
References #4173

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

6 years agoFix support for PostgreSQL-12 ("getrelid" macro removed)
Sandro Santilli [Wed, 17 Oct 2018 14:23:59 +0000 (14:23 +0000)]
Fix support for PostgreSQL-12 ("getrelid" macro removed)

The call is replaced with its expansion which should work
as back as PostgreSQL-9.1 which is before the oldest version
PostGIS-2.2 (our oldest maintained branch) supports.

This is then safe to backport to all branches till 2.2.

Patch by Laurenz Albe

References #4306 in trunk

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

6 years agoUpdates to doc introduction
Daniel Baston [Tue, 16 Oct 2018 22:24:18 +0000 (22:24 +0000)]
Updates to doc introduction

- Use bulleted lists for individual and corporate contributors
- Include URLs for corporate contributors, where available
- Remove final section of intro (largely duplicated links)
- Avoid listing contributors of dependency projects
- Update various URLs
- Minor formatting changes

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

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

6 years ago[check_all_upgrades] Enable topology and raster tests
Sandro Santilli [Tue, 16 Oct 2018 03:28:26 +0000 (03:28 +0000)]
[check_all_upgrades] Enable topology and raster tests

... rather than just core testing, this should now include
raster and topology.

Closes #4199

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

6 years agoFix spatial_ref_sys.sql target in multi-process make
Sandro Santilli [Mon, 15 Oct 2018 13:11:46 +0000 (13:11 +0000)]
Fix spatial_ref_sys.sql target in multi-process make

.. and drop all refs to sql_bits

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

6 years agoOnly drop function IF EXISTS ...
Sandro Santilli [Mon, 15 Oct 2018 11:46:32 +0000 (11:46 +0000)]
Only drop function IF EXISTS ...

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

6 years ago[topology] properly drop removed internal functions on upgrade
Sandro Santilli [Mon, 15 Oct 2018 10:35:58 +0000 (10:35 +0000)]
[topology] properly drop removed internal functions on upgrade

References #4202 in trunk

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

6 years ago[run_test.pl] Fix handling of split raster, broken in r16893
Sandro Santilli [Mon, 15 Oct 2018 06:54:20 +0000 (06:54 +0000)]
[run_test.pl] Fix handling of split raster, broken in r16893

A syntax typo made "has_split_raster" always return 1

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

6 years ago[run_test.pl] some debug lines added
Sandro Santilli [Mon, 15 Oct 2018 06:54:14 +0000 (06:54 +0000)]
[run_test.pl] some debug lines added

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

6 years agoMatch memory management functions, so that lwalloc is not freed with pfree.
Darafei Praliaskouski [Sun, 14 Oct 2018 23:13:39 +0000 (23:13 +0000)]
Match memory management functions, so that lwalloc is not freed with pfree.

Currently swapping lwalloc to be malloc instead of palloc results in non-functional build.

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

6 years agoregress: stabilize sort order in regress/clean.sql
Darafei Praliaskouski [Sun, 14 Oct 2018 23:08:46 +0000 (23:08 +0000)]
regress: stabilize sort order in regress/clean.sql

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

6 years ago[travis] re-enable logbt on dockerized builds
Darafei Praliaskouski [Sun, 14 Oct 2018 23:06:22 +0000 (23:06 +0000)]
[travis] re-enable logbt on dockerized builds

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

6 years ago[run_test.pl] honour -v upon postgis extension drop failure
Sandro Santilli [Sun, 14 Oct 2018 13:38:16 +0000 (13:38 +0000)]
[run_test.pl] honour -v upon postgis extension drop failure

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

6 years ago[run_test.pl] upgrades from unpackaged always have split raster
Sandro Santilli [Sun, 14 Oct 2018 07:57:22 +0000 (07:57 +0000)]
[run_test.pl] upgrades from unpackaged always have split raster

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

6 years agoRemove unused file
Sandro Santilli [Sun, 14 Oct 2018 07:31:40 +0000 (07:31 +0000)]
Remove unused file

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

6 years agoRemove dropshadow from WKT examples
Paul Ramsey [Fri, 12 Oct 2018 21:24:45 +0000 (21:24 +0000)]
Remove dropshadow from WKT examples

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

6 years agoFormatting
Paul Ramsey [Fri, 12 Oct 2018 21:15:03 +0000 (21:15 +0000)]
Formatting

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

6 years agoFix entity
Paul Ramsey [Fri, 12 Oct 2018 21:12:27 +0000 (21:12 +0000)]
Fix entity

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

6 years agoStyle abstract and toc titles
Paul Ramsey [Fri, 12 Oct 2018 21:11:14 +0000 (21:11 +0000)]
Style abstract and toc titles

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

6 years agoStyle <important> blocks
Paul Ramsey [Fri, 12 Oct 2018 20:59:17 +0000 (20:59 +0000)]
Style <important> blocks

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

6 years agoLighten and ungreenify
Paul Ramsey [Fri, 12 Oct 2018 20:50:22 +0000 (20:50 +0000)]
Lighten and ungreenify

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

6 years agoReformat example
Paul Ramsey [Fri, 12 Oct 2018 20:41:35 +0000 (20:41 +0000)]
Reformat example

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

6 years agoPass clean html parameter, fix a couple old references that should be <warning>
Paul Ramsey [Fri, 12 Oct 2018 20:33:09 +0000 (20:33 +0000)]
Pass clean html parameter, fix a couple old references that should be <warning>

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

6 years agoUpdate the CSS styling a little bit
Paul Ramsey [Fri, 12 Oct 2018 19:57:59 +0000 (19:57 +0000)]
Update the CSS styling a little bit

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

6 years ago[proc-upgrade] Don't print more lines after oneliner GRANTs
Sandro Santilli [Wed, 10 Oct 2018 21:09:26 +0000 (21:09 +0000)]
[proc-upgrade] Don't print more lines after oneliner GRANTs

Fixes #4197

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

6 years agoMark postgis_extensions_upgrade as volatile
Sandro Santilli [Wed, 10 Oct 2018 20:41:27 +0000 (20:41 +0000)]
Mark postgis_extensions_upgrade as volatile

NOTE: does not solve the problem of not noticing
      repackaging (reported in
      https://trac.osgeo.org/postgis/ticket/4196#comment:4)

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

6 years agoHave postgis_extensions_upgrade() package unpackaged extensions
Sandro Santilli [Wed, 10 Oct 2018 20:36:51 +0000 (20:36 +0000)]
Have postgis_extensions_upgrade() package unpackaged extensions

See #4196

NOTE: it doesn't re-package tiger geocoder because I would not
      know how to tell if the support for it is installed and
      it does't re-package topology due to bug #2503

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

6 years agonote that apache conf file needs to have path changed ffor versionless docs. Other...
Regina Obe [Mon, 8 Oct 2018 09:03:54 +0000 (09:03 +0000)]
note that apache conf file needs to have path changed ffor versionless docs.  Other minor edits.

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