]> granicus.if.org Git - postgis/log
postgis
7 years agomake image a little smaller
Regina Obe [Thu, 3 Aug 2017 05:11:20 +0000 (05:11 +0000)]
make image a little smaller

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

7 years agoAdd a graphical example for ST_ClusterDBScan
Regina Obe [Wed, 2 Aug 2017 21:45:43 +0000 (21:45 +0000)]
Add a graphical example for ST_ClusterDBScan

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

7 years agoOSS FUZZ Items must be surrounded by double quote. See ​https://github.com/google...
Regina Obe [Sat, 29 Jul 2017 15:46:00 +0000 (15:46 +0000)]
OSS FUZZ Items must be surrounded by double quote. See ​https://github.com/google/oss-fuzz/issues/746
patch from Even Rouault
Closes #3797

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

7 years agoMark 3D functions and some other missed functions as parallel safe.
Regina Obe [Fri, 28 Jul 2017 04:06:12 +0000 (04:06 +0000)]
Mark 3D functions and some other missed functions as parallel safe.
References #3792 for PostGIS 2.4 (trunk)

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

7 years agoUpdate normalize output to reflect new fields.
Regina Obe [Fri, 28 Jul 2017 03:24:33 +0000 (03:24 +0000)]
Update normalize output to reflect new fields.
References #3747

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

7 years agoSolaris build issues due to missing isfinite define
Regina Obe [Thu, 27 Jul 2017 19:19:22 +0000 (19:19 +0000)]
Solaris build issues due to missing isfinite define
Patch from Julian Schauder
References #3795 for PostGIS 2.4 (trunk)

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

7 years agoadd missing file missed in last commit
Regina Obe [Thu, 27 Jul 2017 17:45:39 +0000 (17:45 +0000)]
add missing file missed in last commit
References #3747

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

7 years agoGeocoder enhancements, add zip4 and address_alphanumeric, adjustments to pagc matching
Regina Obe [Thu, 27 Jul 2017 16:19:13 +0000 (16:19 +0000)]
Geocoder enhancements, add zip4 and address_alphanumeric, adjustments to pagc matching
Closes #3747
Closes #3748

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

7 years agoDrop bugfix NEWS entry from 2.4.0 section (it's already in 2.3.3)
Sandro Santilli [Thu, 27 Jul 2017 08:05:13 +0000 (08:05 +0000)]
Drop bugfix NEWS entry from 2.4.0 section (it's already in 2.3.3)

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

7 years agoAdd enhanced section for 2.4 and backport 2.3.1-2.3.3 release notes
Regina Obe [Wed, 26 Jul 2017 06:10:32 +0000 (06:10 +0000)]
Add enhanced section for 2.4 and backport 2.3.1-2.3.3 release notes

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

7 years agoupdate es po files from transifex
Regina Obe [Mon, 24 Jul 2017 00:25:47 +0000 (00:25 +0000)]
update es po files from transifex
References #3793

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

7 years agoupdate fr po files from transifex
Regina Obe [Sun, 23 Jul 2017 23:09:24 +0000 (23:09 +0000)]
update fr po files from transifex
References #3793

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

7 years agoput in safeguard for PostGIS windows functions. Italians decided they needed to trans...
Regina Obe [Sun, 23 Jul 2017 20:49:28 +0000 (20:49 +0000)]
put in safeguard for PostGIS windows functions. Italians decided they needed to translate the term winset which made this section itemizedlist empty and invalid for pdf.

References #3794 for PostGIS 2.4 (trunk)

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

7 years agoPut in safeguards around availability, changes, enhances so if no match, then doesn...
Regina Obe [Sun, 23 Jul 2017 20:08:43 +0000 (20:08 +0000)]
Put in safeguards around availability, changes, enhances so if no match, then doesn't break xml and latex validation

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

7 years agospecify absolute path to texstyle.sty
Regina Obe [Sun, 23 Jul 2017 18:33:40 +0000 (18:33 +0000)]
specify absolute path to texstyle.sty
references #3794 for PostGIS 2.4

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

7 years agoget rid of utf8 see if resolves pdf compile error
Regina Obe [Sun, 23 Jul 2017 09:23:56 +0000 (09:23 +0000)]
get rid of utf8 see if resolves pdf compile error

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

7 years agoremove other packages just added, but keep utf8 one.
Regina Obe [Sun, 23 Jul 2017 09:21:20 +0000 (09:21 +0000)]
remove other packages just added, but keep utf8 one.

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

7 years agoupdate po files from transifex and fix po typos causing compile failure for pt_BR
Regina Obe [Sun, 23 Jul 2017 09:06:08 +0000 (09:06 +0000)]
update po files from transifex and fix po typos causing compile failure for pt_BR
References #3793 for trunk (PostGIS 2.4)

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

7 years agoSchema qualify function calls in postgis_full_version
Regina Obe [Sun, 23 Jul 2017 08:14:14 +0000 (08:14 +0000)]
Schema qualify function calls in postgis_full_version

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

7 years agotry adding utf8 package (take out CJKutf8 for now), may add back. To try to fix...
Regina Obe [Sun, 23 Jul 2017 07:02:19 +0000 (07:02 +0000)]
try adding utf8 package (take out CJKutf8 for now), may add back.  To try to fix korean/japanese pdf building

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

7 years agoFix errors in po for ko_KR so html can build.
Regina Obe [Sun, 23 Jul 2017 06:38:56 +0000 (06:38 +0000)]
Fix errors in po for ko_KR so html can build.
References #3793

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

7 years agotry to fix Japanese, Korean, Chinese PDF generation by adding CJK support library...
Regina Obe [Sun, 23 Jul 2017 05:43:17 +0000 (05:43 +0000)]
try to fix Japanese, Korean, Chinese PDF generation by adding  CJK support library (already installed on debbie)

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

7 years agoupdate po files from transifex plus patches to fix compile issues
Regina Obe [Sun, 23 Jul 2017 05:09:28 +0000 (05:09 +0000)]
update po files from transifex plus patches to fix compile issues

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

7 years agoAllow postgis_restore.pl to work on directory-style (-Fd) dumps
Sandro Santilli [Mon, 17 Jul 2017 14:38:18 +0000 (14:38 +0000)]
Allow postgis_restore.pl to work on directory-style (-Fd) dumps

Patch by Roger Crew
Closes #3788

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

7 years agoCredit to OSS-Fuzz
Regina Obe [Mon, 17 Jul 2017 04:45:13 +0000 (04:45 +0000)]
Credit to OSS-Fuzz
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2590

References #3786 for PostGIS 2.4/trunk

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

7 years agomark sh scripts as executable
Regina Obe [Mon, 17 Jul 2017 01:36:23 +0000 (01:36 +0000)]
mark sh scripts as executable

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

7 years agominor edit add a depth=1
Regina Obe [Fri, 14 Jul 2017 06:08:07 +0000 (06:08 +0000)]
minor edit add a depth=1

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

7 years agoCommit Fuzzers for liblwgeom wkb OSS FUZZ testing
Regina Obe [Mon, 10 Jul 2017 20:06:12 +0000 (20:06 +0000)]
Commit Fuzzers for liblwgeom wkb OSS FUZZ testing
Fuzzers contributed by Even Rouault
References #3783 for PostGIS 2.4 (trunk)

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

7 years agoInitialize another variable
Sandro Santilli [Mon, 10 Jul 2017 17:51:23 +0000 (17:51 +0000)]
Initialize another variable

otherwise used uninitialized when dumping 0-rows tables or queries

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

7 years agoCheck return from an sprintf
Sandro Santilli [Mon, 10 Jul 2017 17:51:13 +0000 (17:51 +0000)]
Check return from an sprintf

Would be dangerous with field names > 256 characters..

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

7 years agoFix buffer overflow and use of uninitialized value
Sandro Santilli [Mon, 10 Jul 2017 17:29:03 +0000 (17:29 +0000)]
Fix buffer overflow and use of uninitialized value

See #3101 (for trunk)

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

7 years agoMemory leak in lwline_from_wkb_state
Regina Obe [Sun, 9 Jul 2017 14:14:18 +0000 (14:14 +0000)]
Memory leak in lwline_from_wkb_state
References #3782 for PostGIS 2.4 (trunk)
Patch provided by Even Rouault

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

7 years agomissing copying libintl-8.dll needed for the VC++ 32-bit builds for postgis-gui
Regina Obe [Thu, 6 Jul 2017 20:39:41 +0000 (20:39 +0000)]
missing copying libintl-8.dll needed for the VC++ 32-bit builds for postgis-gui

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

7 years agoturn off interrupt tests on winnie. Causing 32-bit to fail.
Regina Obe [Wed, 5 Jul 2017 08:00:02 +0000 (08:00 +0000)]
turn off interrupt tests on winnie.  Causing 32-bit to fail.

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

7 years agoUpdate news to include 2.3 and add missing upgrade paths
Regina Obe [Sat, 1 Jul 2017 04:01:25 +0000 (04:01 +0000)]
Update news to include 2.3 and add missing upgrade paths

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

7 years agoBring performance tips section up to newer versions
Regina Obe [Fri, 30 Jun 2017 18:33:34 +0000 (18:33 +0000)]
Bring performance tips section up to newer versions
References #3746 for PostGIS 2.4 (trunk)

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

7 years agoFixed some typos in docs (give -> given)
Sandro Santilli [Wed, 28 Jun 2017 08:27:14 +0000 (08:27 +0000)]
Fixed some typos in docs (give -> given)

Patch by Sergey Fedoseev <fedoseev.sergey@gmail.com>

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

7 years agolwarc_linearize: fix total angle computation for ccw arcs
Sandro Santilli [Wed, 28 Jun 2017 08:03:31 +0000 (08:03 +0000)]
lwarc_linearize: fix total angle computation for ccw arcs

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

7 years agoFix angle reminder computation
Sandro Santilli [Tue, 27 Jun 2017 12:37:07 +0000 (12:37 +0000)]
Fix angle reminder computation

Closes #3772 again (see comment:6)
Add specific testcase

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

7 years agoFix debug build
Sandro Santilli [Mon, 26 Jun 2017 20:56:28 +0000 (20:56 +0000)]
Fix debug build

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

7 years agoChange ST_Clip from Error to Notice when ST_Clip can compute no band
Regina Obe [Sat, 24 Jun 2017 04:57:54 +0000 (04:57 +0000)]
Change ST_Clip from Error to Notice when ST_Clip can compute no band
References #3730 for PostGIS 2.4

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

7 years agoUpdate 3D example and put a note about function may return the same geometry.
Regina Obe [Sat, 24 Jun 2017 04:34:19 +0000 (04:34 +0000)]
Update 3D example and put a note about function may return the same geometry.
References #3702 for PostGIS 2.4 (trunk)
Last commit was for PostGIS 2.3.3 (mistakenly noted as 2.4)
Closes #3702

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

7 years agoIncrease LIMIT clause on tests so can more readily catch issues like #3704.
Regina Obe [Sat, 24 Jun 2017 04:08:20 +0000 (04:08 +0000)]
Increase LIMIT clause on tests so can more readily catch issues like #3704.

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

7 years agoFix lwgeom_cmp return code
Sandro Santilli [Fri, 23 Jun 2017 22:16:59 +0000 (22:16 +0000)]
Fix lwgeom_cmp return code

See #3777

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

7 years agoFix handling of EMPTY geometries in btree operator
Sandro Santilli [Fri, 23 Jun 2017 14:47:13 +0000 (14:47 +0000)]
Fix handling of EMPTY geometries in btree operator

Includes regress test

See #3777

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

7 years agoFix markdown of build badges
Sandro Santilli [Fri, 23 Jun 2017 11:40:21 +0000 (11:40 +0000)]
Fix markdown of build badges

For some reason GitHub doesn't like newlines :/

NOTE: Gogs and GitLab are both happy with the previous syntax...

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

7 years agoST_AsX3D handle empty geometries
Regina Obe [Fri, 23 Jun 2017 06:00:59 +0000 (06:00 +0000)]
ST_AsX3D handle empty geometries
References #3704 for PostGIS 2.4 (trunk)

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

7 years agoEscape double quotes issue in pgsql2shp
Regina Obe [Fri, 23 Jun 2017 05:13:22 +0000 (05:13 +0000)]
Escape double quotes issue in pgsql2shp
Include test for boolean and quotes
References #3701 for PostGIS 2.4 (trunk)

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

7 years agosimplification per strk's request. I undersimplified on last commit.
Regina Obe [Wed, 21 Jun 2017 11:23:11 +0000 (11:23 +0000)]
simplification per strk's request. I undersimplified on last commit.

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

7 years agoClean up of formatting of r15406.
Regina Obe [Tue, 20 Jun 2017 23:29:37 +0000 (23:29 +0000)]
Clean up of formatting of r15406.
Add some explanation of change from CASE to UNION ALL
change SELECT ST_Dump to FROM ST_Dump per strk's suggestion
References #3764
For more details refer to https://www.postgresql.org/message-id/000001d2d5de%24d8d66170%248a832450%24%40pcorp.us
and commit that I think introduced the original problem - https://www.postgresql.org/message-id/E1cTy4K-00085H-5v@gemulon.postgresql.org

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

7 years agorefix for PostgreSQL 10 changed CASE WHEN set returning behavior
Regina Obe [Tue, 20 Jun 2017 22:16:18 +0000 (22:16 +0000)]
refix for PostgreSQL 10 changed CASE WHEN set returning behavior
Don't use CASE using UNION ALL instead with a WHERE that when resolves to false skips the output call.
Closes #3764 for PostGIS 2.4 (trunk)

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

7 years agoAvoid ever-growing postgis extension upgrade scripts
Sandro Santilli [Mon, 19 Jun 2017 20:35:21 +0000 (20:35 +0000)]
Avoid ever-growing postgis extension upgrade scripts

Fixes #3775

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

7 years agoStyle only change: remove trailing spaces
Sandro Santilli [Mon, 19 Jun 2017 20:35:14 +0000 (20:35 +0000)]
Style only change: remove trailing spaces

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

7 years agoIt's multi-arc, not multi-arch (typo)
Sandro Santilli [Mon, 19 Jun 2017 16:10:16 +0000 (16:10 +0000)]
It's multi-arc, not multi-arch (typo)

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

7 years agoAdd NEWS items about new ST_CurveToLine signature
Sandro Santilli [Mon, 19 Jun 2017 16:08:52 +0000 (16:08 +0000)]
Add NEWS items about new ST_CurveToLine signature

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

7 years agoAdd test for multi-arch curve
Sandro Santilli [Mon, 19 Jun 2017 16:07:08 +0000 (16:07 +0000)]
Add test for multi-arch curve

It shows how MaxError configuration for ST_CurveToLine is useful
as it results in different number of segments per quadrant based
on radius of each arc...

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

7 years agoImplement extended ST_CurveToLine signature
Sandro Santilli [Mon, 19 Jun 2017 16:06:59 +0000 (16:06 +0000)]
Implement extended ST_CurveToLine signature

Adds lwcurve_linearize function at liblwgeom level.
Turns lwgeom_stroke into a wrapper, keept it for backward compatibility.
Reduces allocations in linearization procedures.

Implements SYMMETRIC and RETAIN_ANGLE flags.
Implements MAX_DEVIATION, MAX_ANGLE and SEGS_PER_QUADRANT configs.

Includes unit and SQL tests.
Includes documentation.

Closes #2464 (maxError configuration is MAX_DEVIATION)
Closes #3772 (balanced output is SYMMETRIC and RETAIN_ANGLE flags)

Document the new ST_CurveToLine signature

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

7 years agoStyle only change: remove trailing blanks
Sandro Santilli [Tue, 13 Jun 2017 13:29:29 +0000 (13:29 +0000)]
Style only change: remove trailing blanks

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

7 years agoStyle-only change: remove trailing blanks
Sandro Santilli [Tue, 13 Jun 2017 13:29:21 +0000 (13:29 +0000)]
Style-only change: remove trailing blanks

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

7 years agogeomentry -> geometry
Sandro Santilli [Mon, 12 Jun 2017 15:17:00 +0000 (15:17 +0000)]
geomentry -> geometry

Thanks Andreas Schild via
https://www.transifex.com/postgis/postgis/translate/#de/using_postgis_datamanxmlpot/19191543/

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

7 years agoRemove confusing statement
Sandro Santilli [Mon, 12 Jun 2017 13:35:47 +0000 (13:35 +0000)]
Remove confusing statement

As reported by Andreas Schild in
https://www.transifex.com/postgis/postgis/translate/#de/using_postgis_datamanxmlpot/19191379/

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

7 years agoexample for ST_CreateOverview
Regina Obe [Fri, 9 Jun 2017 15:23:37 +0000 (15:23 +0000)]
example for ST_CreateOverview
and more examples for ST_GDALFromRaster that shows how to use to output to filesystem.

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

7 years agoMark functions that are currently stable or volatile (or missing parallel) as immutab...
Regina Obe [Wed, 7 Jun 2017 07:43:14 +0000 (07:43 +0000)]
Mark functions that are currently stable or volatile (or missing parallel) as immutable parallel that should have been immutable parallel.  First pass
More cleanup of missed schema qualification.
References #3769

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

7 years agohave formatting conform to editorconfig. Fix clean logic, wasn't deleting all files...
Regina Obe [Wed, 7 Jun 2017 03:33:07 +0000 (03:33 +0000)]
have formatting conform to editorconfig.  Fix clean logic, wasn't deleting all files in sql folder before.

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

7 years agoSpeep up -> Speed up
Sandro Santilli [Tue, 6 Jun 2017 12:27:11 +0000 (12:27 +0000)]
Speep up -> Speed up

Thanks Andreas Schild via
https://www.transifex.com/postgis/postgis/translate/#de/release_notesxmlpot/74993598/

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

7 years agoshp2pgsql locale fixes are #3084, not #3048
Sandro Santilli [Tue, 6 Jun 2017 12:18:31 +0000 (12:18 +0000)]
shp2pgsql locale fixes are #3084, not #3048

Thanks Andreas Schild via
https://www.transifex.com/postgis/postgis/translate/#de/release_notesxmlpot/74993584/

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

7 years agoUse SVG format for Travis badge
Sandro Santilli [Wed, 31 May 2017 15:35:55 +0000 (15:35 +0000)]
Use SVG format for Travis badge

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

7 years agoIt looks like .h.in files use spaces indent
Sandro Santilli [Mon, 29 May 2017 18:29:27 +0000 (18:29 +0000)]
It looks like .h.in files use spaces indent

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

7 years agoRequest tab indentation by default for SQL files
Sandro Santilli [Mon, 29 May 2017 18:16:59 +0000 (18:16 +0000)]
Request tab indentation by default for SQL files

Still keep sfcgal.sql and topology SQL files with spaces, to
reflect the current state.

See #3767

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

7 years agoMark all raster aggregate functions as parallel safe.
Regina Obe [Mon, 29 May 2017 18:07:55 +0000 (18:07 +0000)]
Mark all raster aggregate functions as parallel safe.
Also more schema qualification, still a lot not schema qualified
flip ST_Intersection to be immutable parallel safe
references #3752 for PostGIS 2.4 (trunk)

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

7 years agoIgnore generated geobuffer sources
Sandro Santilli [Sun, 28 May 2017 20:48:31 +0000 (20:48 +0000)]
Ignore generated geobuffer sources

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

7 years agoTopology SQL files want space indent
Sandro Santilli [Sun, 28 May 2017 20:35:56 +0000 (20:35 +0000)]
Topology SQL files want space indent

See #3767

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

7 years agoList parent partition tables and have geography_view only list things like tables...
Regina Obe [Sat, 27 May 2017 17:07:42 +0000 (17:07 +0000)]
List parent partition tables and have geography_view only list things like tables (exclude helper types)
Closes #3766

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

7 years agoreplace tabs with spaces from last commit
Regina Obe [Sat, 27 May 2017 16:40:48 +0000 (16:40 +0000)]
replace tabs with spaces from last commit

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

7 years agoChange log table name
Regina Obe [Sat, 27 May 2017 13:34:23 +0000 (13:34 +0000)]
Change log table name

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

7 years agoFix topology PostgreSQL 10 regress errors
Regina Obe [Fri, 26 May 2017 19:35:19 +0000 (19:35 +0000)]
Fix topology PostgreSQL 10 regress errors
Change CASE WHEN SRF to use constant
Evidentally they also removed a bunch of columns from sequence table struct
I'm guessing has to do with intro of IDENTITY column type, so had to revise copytopology regress
Closes #3764

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

7 years agoRevise rt_union test so passes equally on PostgreSQL 10 and lower. Lower calls SRF...
Regina Obe [Fri, 26 May 2017 06:25:16 +0000 (06:25 +0000)]
Revise rt_union test so passes equally on PostgreSQL 10 and lower.  Lower calls SRF for each column, triggering the same error notice multiple times, PostgreSQL 10 called SRF only once. Revised syntax so old versions call SRF only once.

Closes #3763 for trunk PostGIS 2.4.0

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

7 years agoRevise to use substring function instead of regexp_matches.
Regina Obe [Fri, 26 May 2017 04:41:19 +0000 (04:41 +0000)]
Revise to use substring function instead of regexp_matches.
This fixes most of the raster regress issues noted in #3759 and
Closes #3760 for PostGIS 2.4.0 (trunk)

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

7 years agorevert previous change to this file accidentally committed for #3761
Regina Obe [Fri, 26 May 2017 04:05:43 +0000 (04:05 +0000)]
revert previous change to this file accidentally committed for #3761
But this is a work in progress for different item, not ready for commit.

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

7 years agoGet rid of all if def needed for versions of PostgreSQL lower than 9.3 and GEOS 3.3
Regina Obe [Fri, 26 May 2017 04:03:17 +0000 (04:03 +0000)]
Get rid of all if def needed for versions of PostgreSQL lower than 9.3 and GEOS 3.3
Document dropping support for PostgreSQL 9.2
Note didn't change postgis/gserialized_estimate.c which also has an ifdef (leaving that for pramsey)
References #3761 for PostGIS 2.4

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

7 years ago#3758, regression failure on stats. Add test data as static COPY,
Paul Ramsey [Wed, 24 May 2017 18:55:17 +0000 (18:55 +0000)]
#3758, regression failure on stats. Add test data as static COPY,
not dynamic generation, since change in generate_series caused probs

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

7 years agoNew function ST_FrechetDistance (patch from Shinichi Sugiyama)
Regina Obe [Tue, 23 May 2017 04:39:55 +0000 (04:39 +0000)]
New function ST_FrechetDistance (patch from Shinichi Sugiyama)
Closes #3677
Closes https://github.com/postgis/postgis/pull/120

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

7 years agoAdd comment to topology schema
Sandro Santilli [Mon, 22 May 2017 16:36:11 +0000 (16:36 +0000)]
Add comment to topology schema

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

7 years agoPostgreSQL 10 beta1 fails compile in gserialized_estimate
Regina Obe [Sun, 21 May 2017 03:15:45 +0000 (03:15 +0000)]
PostgreSQL 10 beta1 fails compile in gserialized_estimate
Revise to use new api for get_attstatsslot function for PostgreSQL >= 10
References #3758

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

7 years agoRevise the PGVERSION numbering scheme so also works for PostgreSQL 10beta1 and for...
Regina Obe [Sat, 20 May 2017 17:49:52 +0000 (17:49 +0000)]
Revise the PGVERSION numbering scheme so also works for PostgreSQL 10beta1 and for all future PostgreSQL after 10
Note previous patch put in did not consider the case of when 10.11 comes, that would end up ranking higher than 11.0 (110 vs. 1011).
So we need to totally disregard the minor version for PostgreSQL  >= 10
Closes #3614

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

7 years agoFix mismatch between actual and documented output
Regina Obe [Fri, 19 May 2017 01:59:22 +0000 (01:59 +0000)]
Fix mismatch between actual and documented output
Closes https://github.com/postgis/postgis/pull/118

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

7 years agoNote about ST_Equals does not support geometry collection
Regina Obe [Fri, 19 May 2017 01:54:46 +0000 (01:54 +0000)]
Note about ST_Equals does not support geometry collection
Closes pull reguest - https://github.com/postgis/postgis/pull/131 from lb1c

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

7 years agoST_AsMVT Forgot to initialize to NULL
Björn Harrtell [Wed, 17 May 2017 18:18:17 +0000 (18:18 +0000)]
ST_AsMVT Forgot to initialize to NULL

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

7 years agoST_AsMVT avoid mutating the input LWGEOM
Björn Harrtell [Wed, 17 May 2017 17:52:38 +0000 (17:52 +0000)]
ST_AsMVT avoid mutating the input LWGEOM

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

7 years agoGist penalty speed improvement for 2d and nd points
Regina Obe [Thu, 11 May 2017 23:44:39 +0000 (23:44 +0000)]
Gist penalty speed improvement for 2d and nd points
References #3753 for PostGIS 2.4.0

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

7 years agotry to add libgdal1h dependency in attempt to fix libgdal-dev install issue on travis
Regina Obe [Thu, 11 May 2017 18:17:10 +0000 (18:17 +0000)]
try to add libgdal1h dependency in attempt to fix libgdal-dev install issue on travis

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

7 years agoST_AsMVT Document JSONB support
Björn Harrtell [Thu, 4 May 2017 20:22:16 +0000 (20:22 +0000)]
ST_AsMVT Document JSONB support
References #3749

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

7 years agoST_AsMVT Normalize output to make sure it will be identical regardless of GEOS version
Björn Harrtell [Thu, 4 May 2017 18:40:26 +0000 (18:40 +0000)]
ST_AsMVT Normalize output to make sure it will be identical regardless of GEOS version
References #3749

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

7 years agoST_AsMVT JSONB support and regression tests conditional on PG >= 94
Björn Harrtell [Thu, 4 May 2017 17:15:16 +0000 (17:15 +0000)]
ST_AsMVT JSONB support and regression tests conditional on PG >= 94
Fixes #3749

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

7 years agoUse local RUNTESTFLAGS env variable (global doesn't seem to work)
Sandro Santilli [Thu, 4 May 2017 05:07:46 +0000 (05:07 +0000)]
Use local RUNTESTFLAGS env variable (global doesn't seem to work)

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

7 years agoST_AsMVT parse JSONB into keys/values
Björn Harrtell [Wed, 3 May 2017 22:32:09 +0000 (22:32 +0000)]
ST_AsMVT parse JSONB into keys/values
References #3749

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

7 years agoST_AsMVT make sure valid/clockwise even after collection extraction
Björn Harrtell [Wed, 3 May 2017 13:38:11 +0000 (13:38 +0000)]
ST_AsMVT make sure valid/clockwise even after collection extraction

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

7 years ago@ operator not schema qualified and ~ not schema qualified in some places
Regina Obe [Wed, 3 May 2017 03:12:37 +0000 (03:12 +0000)]
@ operator not schema qualified and ~ not schema qualified in some places
apply patch with adjustments. Patch provided by Shane StClair (Axiom Data Science)
References #3750 for trunk PostGIS 2.4.0

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

7 years agoBoolean (FTLogical) should be 1 byte not 2 bytes
Regina Obe [Mon, 1 May 2017 02:39:06 +0000 (02:39 +0000)]
Boolean (FTLogical) should be 1 byte not 2 bytes
closes #3682 for PostGIS 2.4.0 (trunk)

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

7 years agoReadd homogenize and expect empty output on collapsed polygon
Björn Harrtell [Sun, 30 Apr 2017 21:36:48 +0000 (21:36 +0000)]
Readd homogenize and expect empty output on collapsed polygon

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