]> granicus.if.org Git - postgis/log
postgis
5 years ago_postgis_drop_function_if_needed: Update ST_GeoJSON args
Raúl Marín Rodríguez [Fri, 30 Aug 2019 14:58:55 +0000 (14:58 +0000)]
_postgis_drop_function_if_needed: Update ST_GeoJSON args

Related to #4483

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

5 years agoFix ST_RemoveRepeatedPoints output having an outdated bbox
Raúl Marín Rodríguez [Fri, 30 Aug 2019 13:31:10 +0000 (13:31 +0000)]
Fix ST_RemoveRepeatedPoints output having an outdated bbox

References #4493
Closes https://github.com/postgis/postgis/pull/472

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

5 years agoFix ST_Simplify output having an outdated bbox
Raúl Marín Rodríguez [Thu, 29 Aug 2019 15:17:07 +0000 (15:17 +0000)]
Fix ST_Simplify output having an outdated bbox

References #4494

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

5 years agoFix ST_Simplify ignoring the value of the 3rd parameter
Raúl Marín Rodríguez [Thu, 29 Aug 2019 11:51:54 +0000 (11:51 +0000)]
Fix ST_Simplify ignoring the value of the 3rd parameter

References #4492
Closes https://github.com/postgis/postgis/pull/469

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

5 years agoBe less assertive in debug message printed when missing table stats
Sandro Santilli [Thu, 29 Aug 2019 08:59:26 +0000 (08:59 +0000)]
Be less assertive in debug message printed when missing table stats

... running ANALYZE won't always fix the missing stats

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

5 years agoExpand info about polygon orientation functions in 2.4 section
Sandro Santilli [Wed, 28 Aug 2019 14:37:34 +0000 (14:37 +0000)]
Expand info about polygon orientation functions in 2.4 section

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

5 years agoAdd availability info for orientation checking and forcing functions
Sandro Santilli [Wed, 28 Aug 2019 14:25:14 +0000 (14:25 +0000)]
Add availability info for orientation checking and forcing functions

These are:

 ST_IsPolygonCW
 ST_IsPolygonCCW
 ST_ForcePolygonCW
 ST_ForcePolygonCCW

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

5 years agoConfigure: Fix --with-wagyu flag
Raúl Marín Rodríguez [Mon, 26 Aug 2019 15:10:45 +0000 (15:10 +0000)]
Configure: Fix --with-wagyu flag

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

5 years agoLink AddTopoGeometryColumn to DropTopoGeometryColumn
Sandro Santilli [Mon, 26 Aug 2019 11:44:01 +0000 (11:44 +0000)]
Link AddTopoGeometryColumn to DropTopoGeometryColumn

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

5 years ago[drone] Reorganize configuration to use external script
Sandro Santilli [Fri, 23 Aug 2019 15:58:43 +0000 (15:58 +0000)]
[drone] Reorganize configuration to use external script

Also add installcheck step

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

5 years agoSupport 2D TINs in ST_3DIntersection
Darafei Praliaskouski [Fri, 23 Aug 2019 09:56:37 +0000 (09:56 +0000)]
Support 2D TINs in ST_3DIntersection

Brings TIN into dist2d calculation. Removes homebrew atan2.

Closes #4328
Closes https://github.com/postgis/postgis/pull/461

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

5 years ago[travis] Revert travis recipes modifications
Sandro Santilli [Fri, 23 Aug 2019 06:37:52 +0000 (06:37 +0000)]
[travis] Revert travis recipes modifications

This reverts commit dd601071c093c2233f3eeeba12af41373075bae8.
This reverts commit e8b5c3993e288e00a840b7a41f643901a280f5a9.

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

5 years agoReorder Makefile dependencies to avoid duplicated build
Sandro Santilli [Fri, 23 Aug 2019 06:37:42 +0000 (06:37 +0000)]
Reorder Makefile dependencies to avoid duplicated build

Mark most check targets as dependent on "all" rule

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

5 years ago[travis] More "make" before "make check"
Sandro Santilli [Thu, 22 Aug 2019 18:56:32 +0000 (18:56 +0000)]
[travis] More "make" before "make check"

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

5 years agoMove geobuf testing solely into configure
Paul Ramsey [Thu, 22 Aug 2019 18:27:44 +0000 (18:27 +0000)]
Move geobuf testing solely into configure

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

5 years ago[travis] don't assume "make check" will work parallel w/out "make"
Sandro Santilli [Thu, 22 Aug 2019 18:07:17 +0000 (18:07 +0000)]
[travis] don't assume "make check" will work parallel w/out "make"

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

5 years agoRemove apparently unhelpful dependency lines
Paul Ramsey [Thu, 22 Aug 2019 18:00:27 +0000 (18:00 +0000)]
Remove apparently unhelpful dependency lines

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

5 years agoAnd return to original form
Paul Ramsey [Thu, 22 Aug 2019 17:33:42 +0000 (17:33 +0000)]
And return to original form

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

5 years agoJust note needed libraries, don't be clever
Paul Ramsey [Thu, 22 Aug 2019 17:32:24 +0000 (17:32 +0000)]
Just note needed libraries, don't be clever

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

5 years agoBe explicit about how to build liblwgeom and libpgcommon libs
Paul Ramsey [Thu, 22 Aug 2019 17:23:29 +0000 (17:23 +0000)]
Be explicit about how to build liblwgeom and libpgcommon libs

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

5 years agoMove geobuf version test into one place and strip expr calls from makefiles
Paul Ramsey [Thu, 22 Aug 2019 16:33:42 +0000 (16:33 +0000)]
Move geobuf version test into one place and strip expr calls from makefiles

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

5 years agoQuote expr arguments, consistently use variables
Sandro Santilli [Thu, 22 Aug 2019 15:59:39 +0000 (15:59 +0000)]
Quote expr arguments, consistently use variables

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

5 years agoAdd support for extension sequences in create_unpackaged.pl
Sandro Santilli [Thu, 22 Aug 2019 14:59:53 +0000 (14:59 +0000)]
Add support for extension sequences in create_unpackaged.pl

Should fix topology dump-restore
References #4488

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

5 years agoSplit "check" into "check-regress" and "check-unit"
Sandro Santilli [Thu, 22 Aug 2019 13:36:59 +0000 (13:36 +0000)]
Split "check" into "check-regress" and "check-unit"

Makes "installcheck" only run "check-regress"

Closes #4487

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

5 years agoHave postgis_extensions_upgrade repackage topology as well
Sandro Santilli [Thu, 22 Aug 2019 12:13:42 +0000 (12:13 +0000)]
Have postgis_extensions_upgrade repackage topology as well

Closes #4486
References #2503

See failure here:
https://gitlab.com/postgis/postgis/-/jobs/277847404

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

5 years ago[gitlab-ci] Use env variable rather than make parameter, for RUNTESTFLAGS
Sandro Santilli [Thu, 22 Aug 2019 11:44:26 +0000 (11:44 +0000)]
[gitlab-ci] Use env variable rather than make parameter, for RUNTESTFLAGS

I suspect gitlab-ci provided make is not compatible with parameter

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

5 years ago[HOWTO_RELEASE] Add note that bots need to be all green for release
Sandro Santilli [Thu, 22 Aug 2019 09:21:08 +0000 (09:21 +0000)]
[HOWTO_RELEASE] Add note that bots need to be all green for release

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

5 years agocheck-all-upgrades: stop checking upgrades from latest unpackaged
Sandro Santilli [Thu, 22 Aug 2019 09:20:59 +0000 (09:20 +0000)]
check-all-upgrades: stop checking upgrades from latest unpackaged

... as this is already done by 'make installcheck'

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

5 years agoHave 'installcheck' also check with upgrade-from-function
Sandro Santilli [Thu, 22 Aug 2019 09:20:50 +0000 (09:20 +0000)]
Have 'installcheck' also check with upgrade-from-function

Closes #4485

Adds an installcheck-upgrade-byfunc target,
dependency of installcheck-upgrade

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

5 years ago[run_test] Allow requesting function upgrade also w/out :auto
Sandro Santilli [Thu, 22 Aug 2019 09:20:42 +0000 (09:20 +0000)]
[run_test] Allow requesting function upgrade also w/out :auto

Append an exlamation mark to any target version in upgrade-path
to request upgrade via function...

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

5 years ago[check-all-upgrades] Fix retrival of :auto version
Sandro Santilli [Thu, 22 Aug 2019 06:47:50 +0000 (06:47 +0000)]
[check-all-upgrades] Fix retrival of :auto version

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

5 years ago[run_test] Fix logic for use postgis_extension_upgrade()
Sandro Santilli [Wed, 21 Aug 2019 08:57:18 +0000 (08:57 +0000)]
[run_test] Fix logic for use postgis_extension_upgrade()

The version before 3.0.0 did not repackage extensions, so we still
need to do the packaging ourselves.

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

5 years agoDocument that postgis_extensions_upgrade re-pakcages from 3.0.0
Sandro Santilli [Wed, 21 Aug 2019 08:57:10 +0000 (08:57 +0000)]
Document that postgis_extensions_upgrade re-pakcages from 3.0.0

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

5 years ago[run_test.pl] Allow using postgis_extensions_upgrade from unpackaged
Sandro Santilli [Wed, 21 Aug 2019 07:28:00 +0000 (07:28 +0000)]
[run_test.pl] Allow using postgis_extensions_upgrade from unpackaged

And warn when it cannot be used due to too old source version.

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

5 years agoRemove 32-bit build warnings
Paul Ramsey [Tue, 20 Aug 2019 22:02:28 +0000 (22:02 +0000)]
Remove 32-bit build warnings

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

5 years agorun_test.pl: always repackage raster when upgrading via function
Sandro Santilli [Tue, 20 Aug 2019 19:29:09 +0000 (19:29 +0000)]
run_test.pl: always repackage raster when upgrading via function

This is because the upgrade function invoked may be coming from the
a pre-split version and thus not know anything about repackaging.

See #4485

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

5 years agoReplace aliasing with memcpy
Paul Ramsey [Tue, 20 Aug 2019 18:33:34 +0000 (18:33 +0000)]
Replace aliasing with memcpy
References #4319

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

5 years agoQuiet warnings from centos 6 build
Paul Ramsey [Tue, 20 Aug 2019 18:33:00 +0000 (18:33 +0000)]
Quiet warnings from centos 6 build

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

5 years agoChange run-time endianness checks to compile-time
Paul Ramsey [Tue, 20 Aug 2019 16:01:52 +0000 (16:01 +0000)]
Change run-time endianness checks to compile-time
Leave 3rd party code unchanged
Closes #4439

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

5 years ago[check_all_upgrades] support :auto and :auto! upgrade targets
Sandro Santilli [Tue, 20 Aug 2019 15:17:36 +0000 (15:17 +0000)]
[check_all_upgrades] support :auto and :auto! upgrade targets

See #4485

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

5 years agoAdd support for :auto and :auto! upgrade-path targets in run_test.pl
Sandro Santilli [Tue, 20 Aug 2019 15:17:14 +0000 (15:17 +0000)]
Add support for :auto and :auto! upgrade-path targets in run_test.pl

The former will request upgrading to default version, the latter
to do so using the postgis_extension_upgrade() function.

See #4485

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

5 years agoUpdate postgis_extensions_upgrade docs to reflect new return value
Sandro Santilli [Tue, 20 Aug 2019 14:03:39 +0000 (14:03 +0000)]
Update postgis_extensions_upgrade docs to reflect new return value

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

5 years agoAdd test for postgis_full_version()
Sandro Santilli [Tue, 20 Aug 2019 11:38:06 +0000 (11:38 +0000)]
Add test for postgis_full_version()

Closes #4485

NOTE: the test is only included in the core tests, might need to
      be replicated for sfcgal/topology/raster

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

5 years agoSimplify perl code
Sandro Santilli [Tue, 20 Aug 2019 11:37:50 +0000 (11:37 +0000)]
Simplify perl code

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

5 years agooss-fuzz: add geojson seed corpus.
Darafei Praliaskouski [Tue, 20 Aug 2019 11:06:18 +0000 (11:06 +0000)]
oss-fuzz: add geojson seed corpus.

Closes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=16564

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

5 years agoFix perl syntax
Sandro Santilli [Tue, 20 Aug 2019 09:24:39 +0000 (09:24 +0000)]
Fix perl syntax

Can't "last" outside a loop block ...

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

5 years ago[check_all_upgrades] Test upgrades from old versions unpackaged
Sandro Santilli [Tue, 20 Aug 2019 09:03:46 +0000 (09:03 +0000)]
[check_all_upgrades] Test upgrades from old versions unpackaged

See #4485

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

5 years ago[run_test] Add support for upgrading from unpackaged<version>
Sandro Santilli [Tue, 20 Aug 2019 09:03:36 +0000 (09:03 +0000)]
[run_test] Add support for upgrading from unpackaged<version>

See #4485

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

5 years agoFix typo
Sandro Santilli [Mon, 19 Aug 2019 20:19:08 +0000 (20:19 +0000)]
Fix typo

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

5 years agoChange 'protobuf version' to protobuf-c to be more explicit
Paul Ramsey [Mon, 19 Aug 2019 16:14:47 +0000 (16:14 +0000)]
Change 'protobuf version' to protobuf-c to be more explicit

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

5 years ago[doc] geometry polygon ST_Intersects example
Darafei Praliaskouski [Sun, 18 Aug 2019 12:55:01 +0000 (12:55 +0000)]
[doc] geometry polygon ST_Intersects example

Closes #4248

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

5 years agopostgis_sfcgal_noop().
Darafei Praliaskouski [Sun, 18 Aug 2019 12:18:59 +0000 (12:18 +0000)]
postgis_sfcgal_noop().

Patch by Lucas C. Villa Real <lucasvr@br.ibm.com>, tweaks by Darafei Praliaskouski

Closes #3979

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

5 years agoOSS Fuzz for geojson.
Darafei Praliaskouski [Sun, 18 Aug 2019 11:27:31 +0000 (11:27 +0000)]
OSS Fuzz for geojson.

Enable allocation testing for other fuzzers.

Closes #4387
Closes https://github.com/postgis/postgis/pull/462

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

5 years agoTry and harmonize function parameter names for ST_AsGEoJSON(record)
Paul Ramsey [Fri, 16 Aug 2019 21:26:05 +0000 (21:26 +0000)]
Try and harmonize function parameter names for ST_AsGEoJSON(record)
References #4483

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

5 years agoRemove SRID error lines because that's a silly thing to test
Paul Ramsey [Thu, 15 Aug 2019 19:43:53 +0000 (19:43 +0000)]
Remove SRID error lines because that's a silly thing to test

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

5 years agoGuard against reading into pointarrays when size of array == 0
Paul Ramsey [Thu, 15 Aug 2019 17:00:19 +0000 (17:00 +0000)]
Guard against reading into pointarrays when size of array == 0

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

5 years agoAdd missing macro file
Paul Ramsey [Wed, 14 Aug 2019 22:29:10 +0000 (22:29 +0000)]
Add missing macro file

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

5 years agoReorganize protobuf detection so that separate directories can be specified, and...
Paul Ramsey [Wed, 14 Aug 2019 22:07:40 +0000 (22:07 +0000)]
Reorganize protobuf detection so that separate directories can be specified, and make version detection more robust over different protobuf installs.
References #4481

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

5 years ago[check-all-upgrades] Fix handling of bogus commandline
Sandro Santilli [Wed, 14 Aug 2019 11:06:20 +0000 (11:06 +0000)]
[check-all-upgrades] Fix handling of bogus commandline

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

5 years agoFix syntax error in expr line
Sandro Santilli [Wed, 14 Aug 2019 11:06:13 +0000 (11:06 +0000)]
Fix syntax error in expr line

Closes #4477

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

5 years agoUpdate ST_AsGeoJSON doco to harmonize number of digits default
Paul Ramsey [Tue, 13 Aug 2019 20:54:18 +0000 (20:54 +0000)]
Update ST_AsGeoJSON doco to harmonize number of digits default

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

5 years agoLower default precision produced by ST_AsGeoJSON
Paul Ramsey [Tue, 13 Aug 2019 18:00:13 +0000 (18:00 +0000)]
Lower default precision produced by ST_AsGeoJSON
References #4468

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

5 years agoGeography Distance inconsistent with Intersects
Paul Ramsey [Tue, 13 Aug 2019 16:59:20 +0000 (16:59 +0000)]
Geography Distance inconsistent with Intersects
Closes #4480

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

5 years agoflip to 3.0.0alpha5dev
Regina Obe [Sun, 11 Aug 2019 06:24:50 +0000 (06:24 +0000)]
flip to 3.0.0alpha5dev

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

5 years agoPrep for 3.0.0alpha4 release
Regina Obe [Sun, 11 Aug 2019 06:15:14 +0000 (06:15 +0000)]
Prep for 3.0.0alpha4 release

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

5 years agoAdd upgrade install paths for address_standardizer
Regina Obe [Sun, 11 Aug 2019 02:36:53 +0000 (02:36 +0000)]
Add upgrade install paths for address_standardizer
Closese #4420 for PostGIS 3.0 (trunk)

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

5 years agoPrepping for release tomorrow
Regina Obe [Fri, 9 Aug 2019 23:51:16 +0000 (23:51 +0000)]
Prepping for release tomorrow

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

5 years agoPut libiconv back evidentally still need that one
Regina Obe [Fri, 9 Aug 2019 22:52:55 +0000 (22:52 +0000)]
Put libiconv back evidentally still need that one
References #4474

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

5 years agoMove protobuf specific ticket lines to mvt test
Regina Obe [Fri, 9 Aug 2019 22:50:19 +0000 (22:50 +0000)]
Move protobuf specific ticket lines to mvt test
Closes #4472

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

5 years agoTry to fix bessie32 Undefined symbol "_ZNKSt8__detail20_Prime_rehash_policy11_M_next_...
Regina Obe [Fri, 9 Aug 2019 22:44:58 +0000 (22:44 +0000)]
Try to fix bessie32 Undefined symbol "_ZNKSt8__detail20_Prime_rehash_policy11_M_next_bktEj" by getting rid of redundant configure lines that should be pulled in via pkg-config
References #4474 for PostGIS 3.0

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

5 years agoTry to get berrie to return fail code if regress fails - try 2
Regina Obe [Fri, 9 Aug 2019 22:21:12 +0000 (22:21 +0000)]
Try to get berrie to return fail code if regress fails - try 2

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

5 years agoTry to get berrie to return fail code if regress fails
Regina Obe [Fri, 9 Aug 2019 21:55:25 +0000 (21:55 +0000)]
Try to get berrie to return fail code if regress fails

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

5 years agoImprove GeoJSON SRID handling.
Darafei Praliaskouski [Tue, 6 Aug 2019 19:15:24 +0000 (19:15 +0000)]
Improve GeoJSON SRID handling.

If SRID is not specified, set it to 4326 by default on parsing, following RFC7946.
If SRID is not 4326 on serialization, it will be marked in JSON unless disabled, making round trips almost lossless.

Fixes spatial_ref_sys truncation in all the tests.
Closes #4377
Closes https://github.com/postgis/postgis/pull/455

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

5 years agolwarc_linearize: Iterate over the number of segments
Raúl Marín Rodríguez [Tue, 6 Aug 2019 15:59:22 +0000 (15:59 +0000)]
lwarc_linearize: Iterate over the number of segments

Closes https://github.com/postgis/postgis/pull/458
Closes #4407
References #3719

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

5 years agoLink ST_Tesselate to ST_(Constrained)DelaunayTriangles
Darafei Praliaskouski [Sun, 4 Aug 2019 12:01:32 +0000 (12:01 +0000)]
Link ST_Tesselate to ST_(Constrained)DelaunayTriangles
Closes #4458

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

5 years ago[doc] Note about mulitlinestring in ST_OffsetCurve
Darafei Praliaskouski [Sun, 4 Aug 2019 11:52:29 +0000 (11:52 +0000)]
[doc] Note about mulitlinestring in ST_OffsetCurve
Closes #2553

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

5 years agoTriangle and TIN output support
Darafei Praliaskouski [Sun, 4 Aug 2019 11:43:42 +0000 (11:43 +0000)]
Triangle and TIN output support

Make all the "Unsupported geometry type" name themselves by __func__.
In case output format doesn't know about TIN/Triangle, output them as GeometryCollection/Polygon.

Closes #4399
Closes https://github.com/postgis/postgis/pull/454

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

5 years agoBetter error messages for SRID mismatch.
Darafei Praliaskouski [Sun, 4 Aug 2019 11:37:34 +0000 (11:37 +0000)]
Better error messages for SRID mismatch.
Closes #4110
Closes https://github.com/postgis/postgis/pull/455

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

5 years agoST_GeomFromGeoJSON crash on empty rings
Darafei Praliaskouski [Sun, 4 Aug 2019 07:45:16 +0000 (07:45 +0000)]
ST_GeomFromGeoJSON crash on empty rings

Closes #4470
Closes https://github.com/postgis/postgis/pull/453

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

5 years agoST_Subdivide crash on intermediate EMPTY fix.
Darafei Praliaskouski [Sun, 4 Aug 2019 07:08:37 +0000 (07:08 +0000)]
ST_Subdivide crash on intermediate EMPTY fix.

Closes #4459
Closes https://github.com/postgis/postgis/pull/456

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

5 years agoUpdate documentation translations from transifex.
Darafei Praliaskouski [Sat, 3 Aug 2019 21:48:49 +0000 (21:48 +0000)]
Update documentation translations from transifex.

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

5 years agoUpdate translation templates.
Darafei Praliaskouski [Sat, 3 Aug 2019 21:04:11 +0000 (21:04 +0000)]
Update translation templates.

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

5 years agoMove out GEOS 3.8 specific result into a version-tested file
Paul Ramsey [Fri, 2 Aug 2019 20:06:12 +0000 (20:06 +0000)]
Move out GEOS 3.8 specific result into a version-tested file

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

5 years agoHarmonize calls so tests return same results on multiple Pg versions
Paul Ramsey [Thu, 1 Aug 2019 20:31:12 +0000 (20:31 +0000)]
Harmonize calls so tests return same results on multiple Pg versions
References #4464

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

5 years agobugfix to fix for #4461
Nicklas Avén [Thu, 1 Aug 2019 13:28:52 +0000 (13:28 +0000)]
bugfix to fix for #4461

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

5 years agoRemove duplicate points with ST_AsTWKB also when apearing before min npoints Closes...
Nicklas Avén [Thu, 1 Aug 2019 08:20:13 +0000 (08:20 +0000)]
Remove duplicate points with ST_AsTWKB also when apearing before min npoints Closes #4461

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

5 years agoHandle POINT EMPTY in shape loader/dumper
Paul Ramsey [Wed, 31 Jul 2019 21:42:20 +0000 (21:42 +0000)]
Handle POINT EMPTY in shape loader/dumper
Closes #4437

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

5 years agoTravis: Use PG12 image by default
Raúl Marín Rodríguez [Wed, 31 Jul 2019 15:22:19 +0000 (15:22 +0000)]
Travis: Use PG12 image by default

Closes #4446

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

5 years agoUse protobuf version to enable/disable mvt/geobuf
Paul Ramsey [Tue, 30 Jul 2019 22:27:22 +0000 (22:27 +0000)]
Use protobuf version to enable/disable mvt/geobuf
Closes #4419

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

5 years agoAdd test case and update test case for null-handling behaviour
Paul Ramsey [Mon, 29 Jul 2019 17:36:47 +0000 (17:36 +0000)]
Add test case and update test case for null-handling behaviour
References #4209

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

5 years agoadd in -d transform into enhancements list, move bug fixes into a separate section...
Regina Obe [Mon, 29 Jul 2019 16:58:16 +0000 (16:58 +0000)]
add in -d transform into enhancements list, move bug fixes into a separate section from enhancements.
This is to make it easier to spot and drop bug fixes if they are backported to older versions of PostGIS (as they won't be new things in PostGIS 3.0)

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

5 years agoMatch JSON pretty print param name to one used in pgsql
Paul Ramsey [Mon, 29 Jul 2019 16:33:57 +0000 (16:33 +0000)]
Match JSON pretty print param name to one used in pgsql

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

5 years agoHandle NULL geometry values in pgsql2shp
Paul Ramsey [Mon, 29 Jul 2019 16:32:03 +0000 (16:32 +0000)]
Handle NULL geometry values in pgsql2shp
References #4209

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

5 years agoFix undefined behaviour in _postgis_gserialized_stats
Raúl Marín Rodríguez [Mon, 29 Jul 2019 15:34:52 +0000 (15:34 +0000)]
Fix undefined behaviour in _postgis_gserialized_stats

Closes #4466

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

5 years agoHave run_test include full shp2pgsql commandline on failure
Sandro Santilli [Mon, 29 Jul 2019 14:00:07 +0000 (14:00 +0000)]
Have run_test include full shp2pgsql commandline on failure

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

5 years agoDo not free state->geo_col, and do not strdup when assigning defaults
Sandro Santilli [Mon, 29 Jul 2019 14:00:00 +0000 (14:00 +0000)]
Do not free state->geo_col, and do not strdup when assigning defaults

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

5 years agoFix memory leaks in shp2pgsql
Sandro Santilli [Mon, 29 Jul 2019 13:59:52 +0000 (13:59 +0000)]
Fix memory leaks in shp2pgsql

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

5 years agoRemove unused variable from loader state
Sandro Santilli [Mon, 29 Jul 2019 13:35:43 +0000 (13:35 +0000)]
Remove unused variable from loader state

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

5 years agoUse a single variable for column names
Sandro Santilli [Mon, 29 Jul 2019 13:28:21 +0000 (13:28 +0000)]
Use a single variable for column names

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

5 years agoMissed a spot - get rid of hard-coding of 4326 for geography srid
Regina Obe [Mon, 29 Jul 2019 02:01:37 +0000 (02:01 +0000)]
Missed a spot - get rid of hard-coding of 4326 for geography srid
References #4466

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