]> granicus.if.org Git - postgis/log
postgis
7 years agoFix division by zero in lw_dist2d_arc_arc
Paul Ramsey [Thu, 5 Oct 2017 12:41:57 +0000 (12:41 +0000)]
Fix division by zero in lw_dist2d_arc_arc
(References #3879)

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

7 years agoRemove duplicated DATA and useless EXTRA_CLEAN append
Sandro Santilli [Thu, 5 Oct 2017 11:33:02 +0000 (11:33 +0000)]
Remove duplicated DATA and useless EXTRA_CLEAN append

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

7 years agoDrop conditionals on PG 91 (we require 93+ anyway)
Sandro Santilli [Thu, 5 Oct 2017 11:28:42 +0000 (11:28 +0000)]
Drop conditionals on PG 91 (we require 93+ anyway)

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

7 years agoST_AsMVTGeom clarification on semantics of mvt_geom
Björn Harrtell [Thu, 5 Oct 2017 10:50:16 +0000 (10:50 +0000)]
ST_AsMVTGeom clarification on semantics of mvt_geom

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

7 years agoST_AsMVTGeom use lwgeom_grid_in_place
Björn Harrtell [Thu, 5 Oct 2017 10:44:49 +0000 (10:44 +0000)]
ST_AsMVTGeom use lwgeom_grid_in_place

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

7 years agoBe slightly looser in dupe detection in gridding
Paul Ramsey [Wed, 4 Oct 2017 22:40:18 +0000 (22:40 +0000)]
Be slightly looser in dupe detection in gridding
(References #3877)

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

7 years agoFix memory leak in in-place gridding, when
Paul Ramsey [Wed, 4 Oct 2017 21:27:43 +0000 (21:27 +0000)]
Fix memory leak in in-place gridding, when
components collapse out of existence, they
need to be freed (References #3877)

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

7 years agoUpdate travis to use proj 4.9.2 the painful way.
Regina Obe [Wed, 4 Oct 2017 20:49:52 +0000 (20:49 +0000)]
Update travis to use proj 4.9.2 the painful way.
Closes https://github.com/postgis/postgis/pull/149

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

7 years agoMake lwgeom_grid_in_place, and move around function
Paul Ramsey [Wed, 4 Oct 2017 20:29:57 +0000 (20:29 +0000)]
Make lwgeom_grid_in_place, and move around function
signatures in support of the in_place project
(References #3877)

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

7 years agoInstall a single upgrade script and use symlinks for all others
Sandro Santilli [Wed, 4 Oct 2017 18:43:11 +0000 (18:43 +0000)]
Install a single upgrade script and use symlinks for all others

The real file will be named postgis--ANY--<target>.sql

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

7 years agoAdd 2.4.0 and 2.4.0dev to migration options. Get rid of 2.4 alphas and betas
Regina Obe [Wed, 4 Oct 2017 18:20:00 +0000 (18:20 +0000)]
Add 2.4.0 and 2.4.0dev to migration options.  Get rid of 2.4 alphas and betas

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

7 years agoGet rid of trailing spaces
Regina Obe [Wed, 4 Oct 2017 16:57:31 +0000 (16:57 +0000)]
Get rid of trailing spaces

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

7 years agoST_Angle function from Rémi Cura
Regina Obe [Wed, 4 Oct 2017 16:19:29 +0000 (16:19 +0000)]
ST_Angle function from Rémi Cura
Closes https://github.com/postgis/postgis/pull/97
Closes #3876

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

7 years agoupdate news to reflect PostGIS 2.4.0 has been released and start a new section for...
Regina Obe [Wed, 4 Oct 2017 16:17:03 +0000 (16:17 +0000)]
update news to reflect PostGIS 2.4.0 has been released and start a new section for PostGIS 2.5.0

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

7 years agoFix markdown links
Paul Ramsey [Wed, 4 Oct 2017 15:52:17 +0000 (15:52 +0000)]
Fix markdown links

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

7 years agoMove many internal signatures into liblwgeom_internal.h (Closes #3873)
Paul Ramsey [Tue, 3 Oct 2017 19:10:14 +0000 (19:10 +0000)]
Move many internal signatures into liblwgeom_internal.h (Closes #3873)

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

7 years agoST_AsMVT / ST_AsMVTGeom refactor to avoid deep clone
Björn Harrtell [Tue, 3 Oct 2017 18:39:41 +0000 (18:39 +0000)]
ST_AsMVT / ST_AsMVTGeom refactor to avoid deep clone

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

7 years ago[travis] install xmllint to run documentation tests
Sandro Santilli [Tue, 3 Oct 2017 10:14:10 +0000 (10:14 +0000)]
[travis] install xmllint to run documentation tests

Patch by Darafei Praliaskouski

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

7 years ago[travis] ccache to make compilation faster
Sandro Santilli [Tue, 3 Oct 2017 10:14:04 +0000 (10:14 +0000)]
[travis] ccache to make compilation faster

Patch by Darafei Praliaskouski

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

7 years agoFix union issue (References #3871)
Paul Ramsey [Mon, 2 Oct 2017 22:29:12 +0000 (22:29 +0000)]
Fix union issue (References #3871)

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

7 years agoUse type-pun to avoid memcpy in building morton key (Closes #3871)
Paul Ramsey [Mon, 2 Oct 2017 22:01:27 +0000 (22:01 +0000)]
Use type-pun to avoid memcpy in building morton key (Closes #3871)
Fix from Komzpa at https://github.com/postgis/postgis/pull/144

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

7 years agoGracefully handle short-measure issue (Closes #3845)
Paul Ramsey [Mon, 2 Oct 2017 12:52:15 +0000 (12:52 +0000)]
Gracefully handle short-measure issue (Closes #3845)

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

7 years agomark postgis_noop STABLE also for raster input
Sandro Santilli [Mon, 2 Oct 2017 11:51:01 +0000 (11:51 +0000)]
mark postgis_noop STABLE also for raster input

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

7 years agoThere's no reason why postgis_noop should be volatile
Sandro Santilli [Mon, 2 Oct 2017 11:49:32 +0000 (11:49 +0000)]
There's no reason why postgis_noop should be volatile

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

7 years agoAdd -lm to liblwgeom link line
Sandro Santilli [Sat, 30 Sep 2017 18:03:47 +0000 (18:03 +0000)]
Add -lm to liblwgeom link line

References #3869

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

7 years agoFix memory leaks in BTREE operators
Sandro Santilli [Sat, 30 Sep 2017 17:59:54 +0000 (17:59 +0000)]
Fix memory leaks in BTREE operators

References #3864

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

7 years agoDisable accidentally enabled debug
Sandro Santilli [Sat, 30 Sep 2017 17:35:42 +0000 (17:35 +0000)]
Disable accidentally enabled debug

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

7 years agoAttempt to fix yaml syntax in drone config
Sandro Santilli [Sat, 30 Sep 2017 17:30:44 +0000 (17:30 +0000)]
Attempt to fix yaml syntax in drone config

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

7 years agoAdd lwt_Polygonize and lwt_AddLineNoFace functions
Sandro Santilli [Sat, 30 Sep 2017 15:26:28 +0000 (15:26 +0000)]
Add lwt_Polygonize and lwt_AddLineNoFace functions

This were initially written for librttopo. The plan in PostGIS
is to use them for ST_CreateTopoGeo, which already needs to load
all input geometry in memory.

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

7 years agoforgot about proj - bump to 4.9
Regina Obe [Sat, 30 Sep 2017 06:34:10 +0000 (06:34 +0000)]
forgot about proj - bump to 4.9

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

7 years agoUpdate README to reflect new agreed upon requirements of PostgreSQL 9.6+ and GEOS...
Regina Obe [Sat, 30 Sep 2017 06:33:07 +0000 (06:33 +0000)]
Update README to reflect new agreed upon requirements of PostgreSQL 9.6+ and GEOS 3.5.
Will fix configure.ac too after we've upgraded dronie and travis to use newer versions

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

7 years agoMove PostgreSQL conditional at the top of the file
Sandro Santilli [Fri, 29 Sep 2017 08:20:40 +0000 (08:20 +0000)]
Move PostgreSQL conditional at the top of the file

This is an attempt to make the code more clear

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

7 years agoCan't load against PostgreSQL 11 head DatumGetJsonb renamed
Regina Obe [Fri, 29 Sep 2017 04:43:40 +0000 (04:43 +0000)]
Can't load against PostgreSQL 11 head DatumGetJsonb renamed
References #3867 for PostGIS 2.5

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

7 years agoMake all suite names one-word, lowercase
Paul Ramsey [Wed, 27 Sep 2017 20:54:59 +0000 (20:54 +0000)]
Make all suite names one-word, lowercase

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

7 years agoGuard .proto file for not getting trailing blanks
Sandro Santilli [Wed, 27 Sep 2017 05:46:56 +0000 (05:46 +0000)]
Guard .proto file for not getting trailing blanks

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

7 years agoDrop trailing blank from vector_tile.proto
Sandro Santilli [Wed, 27 Sep 2017 05:46:49 +0000 (05:46 +0000)]
Drop trailing blank from vector_tile.proto

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

7 years agoComplete source TODO item, use double access for ptarray reversal
Paul Ramsey [Tue, 26 Sep 2017 21:23:19 +0000 (21:23 +0000)]
Complete source TODO item, use double access for ptarray reversal

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

7 years agoFind all duplicates, even within very short polygons/lines (Closes #3843)
Paul Ramsey [Tue, 26 Sep 2017 20:55:01 +0000 (20:55 +0000)]
Find all duplicates, even within very short polygons/lines (Closes #3843)

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

7 years agoAllow triangles unclosed in M to be parsed in WKT (References #3818)
Paul Ramsey [Tue, 26 Sep 2017 16:58:39 +0000 (16:58 +0000)]
Allow triangles unclosed in M to be parsed in WKT (References #3818)

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

7 years agoIgnore vector_tile.pb-c when checking for trailing blanks
Sandro Santilli [Tue, 26 Sep 2017 16:20:30 +0000 (16:20 +0000)]
Ignore vector_tile.pb-c when checking for trailing blanks

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

7 years agoRemove trailing blank from postgis_config.h.in, prevent them
Sandro Santilli [Tue, 26 Sep 2017 14:09:46 +0000 (14:09 +0000)]
Remove trailing blank from postgis_config.h.in, prevent them

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

7 years agoDo not use .gitignore for checking trailing blank spaces
Sandro Santilli [Tue, 26 Sep 2017 13:55:05 +0000 (13:55 +0000)]
Do not use .gitignore for checking trailing blank spaces

Manually ignore files instead. Re-using .gitignore patterns
isn't easy for grep.

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

7 years agoRemove trailing blanks
Sandro Santilli [Tue, 26 Sep 2017 13:54:58 +0000 (13:54 +0000)]
Remove trailing blanks

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

7 years agoMake check-no-trailing-blanks implementation POSIX compliant
Sandro Santilli [Tue, 26 Sep 2017 13:34:36 +0000 (13:34 +0000)]
Make check-no-trailing-blanks implementation POSIX compliant

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

7 years agoIgnore generated files in check-no-trailing-blanks
Sandro Santilli [Tue, 26 Sep 2017 08:15:51 +0000 (08:15 +0000)]
Ignore generated files in check-no-trailing-blanks

Also be forgiving of a missing .gitignore (but then tests will
fail due to generated files possibly having trailing blanks)

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

7 years agoFlip to 2.5.0 development
Regina Obe [Tue, 26 Sep 2017 01:10:57 +0000 (01:10 +0000)]
Flip to 2.5.0 development

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

7 years agoincrease expected max variable integer
Nicklas Avén [Mon, 25 Sep 2017 20:48:18 +0000 (20:48 +0000)]
increase expected max variable integer

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

7 years agoAdd very large uint64_t test
Paul Ramsey [Mon, 25 Sep 2017 17:00:36 +0000 (17:00 +0000)]
Add very large uint64_t test

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

7 years agost_contains cannot handle curvepolygon / compoundcurve consisting of only straight...
Paul Ramsey [Mon, 25 Sep 2017 13:37:23 +0000 (13:37 +0000)]
st_contains cannot handle curvepolygon / compoundcurve consisting of only straight lines (References #3781)

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

7 years agoadd 2.4.0dev so can upgrade from previous unreleased. Keeping version at rc2 though...
Regina Obe [Sun, 24 Sep 2017 17:32:24 +0000 (17:32 +0000)]
add 2.4.0dev so can upgrade from previous unreleased.  Keeping version at rc2 though until final release.

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

7 years agomore parse error fixes
Regina Obe [Sun, 24 Sep 2017 07:52:46 +0000 (07:52 +0000)]
more parse error fixes

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

7 years agofix some tag issues
Regina Obe [Sun, 24 Sep 2017 07:43:11 +0000 (07:43 +0000)]
fix some tag issues

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

7 years agotypo
Regina Obe [Sun, 24 Sep 2017 07:09:41 +0000 (07:09 +0000)]
typo

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

7 years agoprepping for PostGIS 2.4.0rc2 release
Regina Obe [Sun, 24 Sep 2017 06:58:42 +0000 (06:58 +0000)]
prepping for PostGIS 2.4.0rc2 release

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

7 years agoupdate pos
Regina Obe [Sun, 24 Sep 2017 06:50:28 +0000 (06:50 +0000)]
update pos

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

7 years agomanually pulled from transifex. For some reason this file won't naturally pull down...
Regina Obe [Sun, 24 Sep 2017 06:09:41 +0000 (06:09 +0000)]
manually pulled from transifex.  For some reason this file won't naturally pull down and merge so generates invalid psql comments

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

7 years agoupdate template
Regina Obe [Sun, 24 Sep 2017 02:44:02 +0000 (02:44 +0000)]
update template

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

7 years agoST_AsGeobuf fix double comparison
Björn Harrtell [Sat, 23 Sep 2017 18:35:09 +0000 (18:35 +0000)]
ST_AsGeobuf fix double comparison
References #3840

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

7 years agoST_AsMVTGeom document internals of transform step
Björn Harrtell [Sat, 23 Sep 2017 13:31:35 +0000 (13:31 +0000)]
ST_AsMVTGeom document internals of transform step

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

7 years agofixins for crash testing twkb, ST_GeomFromTWKB, and MVT functions.
Regina Obe [Fri, 22 Sep 2017 21:04:38 +0000 (21:04 +0000)]
fixins for crash testing twkb, ST_GeomFromTWKB, and MVT functions.
Add reference link to ST_GeomFromTWKB to ST_AsTWKB

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

7 years agoAdd twkb large geometry test
Paul Ramsey [Fri, 22 Sep 2017 19:58:11 +0000 (19:58 +0000)]
Add twkb large geometry test

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

7 years agoFix crash on larger geometries, caused by direct freeing
Paul Ramsey [Fri, 22 Sep 2017 19:55:39 +0000 (19:55 +0000)]
Fix crash on larger geometries, caused by direct freeing
of bytebuffer internals

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

7 years agoMake ST_AsGeoBuf more resiliant when fed rows including NULL geometry (Closes #3861)
Paul Ramsey [Fri, 22 Sep 2017 19:06:58 +0000 (19:06 +0000)]
Make ST_AsGeoBuf more resiliant when fed rows including NULL geometry (Closes #3861)

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

7 years agoRemove unused strnicmp macro test (Closes #3862)
Paul Ramsey [Fri, 22 Sep 2017 19:06:11 +0000 (19:06 +0000)]
Remove unused strnicmp macro test (Closes #3862)

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

7 years agoNote twkb improvements in docs.
Regina Obe [Fri, 22 Sep 2017 15:25:22 +0000 (15:25 +0000)]
Note twkb improvements in docs.
Closes #3855

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

7 years agoUse ansi standard names for arg types for ST_AsMVT and ST_AsMVTGeom to be consistent...
Regina Obe [Fri, 22 Sep 2017 14:03:29 +0000 (14:03 +0000)]
Use ansi standard names for arg types for ST_AsMVT and ST_AsMVTGeom to be consistent with rest of docs.  Note that ST_AsMVT should not be used with geometry collection directly, but a geometry collection can be converted to suitable form with ST_AsMVTGeom.
More adjustments to support garden testing ST_AsMVT and ST_AsMVTGeom
Closes #3858

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

7 years agosmall doco spelling
Paul Ramsey [Fri, 22 Sep 2017 12:45:40 +0000 (12:45 +0000)]
small doco spelling

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

7 years agoFix warning
Paul Ramsey [Fri, 22 Sep 2017 12:45:19 +0000 (12:45 +0000)]
Fix warning

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

7 years agorevise garden tests so can exercise anyelement now can generate tests for ST_AsMVT
Regina Obe [Fri, 22 Sep 2017 06:34:36 +0000 (06:34 +0000)]
revise garden tests so can exercise anyelement now can generate tests for ST_AsMVT

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

7 years agoFixes from Andreas Schild via Transifex
Regina Obe [Thu, 21 Sep 2017 23:19:04 +0000 (23:19 +0000)]
Fixes from Andreas Schild via Transifex

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

7 years agoFixes from Andreas Schild via Transifex
Regina Obe [Thu, 21 Sep 2017 22:39:40 +0000 (22:39 +0000)]
Fixes from Andreas Schild via Transifex

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

7 years agoMake ST_AsMVT tolerant of NULL input and return '':bytea
Paul Ramsey [Thu, 21 Sep 2017 22:11:59 +0000 (22:11 +0000)]
Make ST_AsMVT tolerant of NULL input and return '':bytea
(zero length bytea) when provided with only null inputs, or no
inputs. (References #3857)

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

7 years agoST_AsMVTGeom return NULL on EMPTY geometry (References #3857)
Paul Ramsey [Thu, 21 Sep 2017 18:34:27 +0000 (18:34 +0000)]
ST_AsMVTGeom return NULL on EMPTY geometry (References #3857)

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

7 years agoHarmonize behavior of ExteriorRing / InteriorRingN
Paul Ramsey [Thu, 21 Sep 2017 13:49:04 +0000 (13:49 +0000)]
Harmonize behavior of ExteriorRing / InteriorRingN
and NumInteriorRings on returning NULL on bad input
instead of errors, matching the doco
(Closes #3261)

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

7 years agoImprove TWKT performance by avoiding lots of allocations
Paul Ramsey [Wed, 20 Sep 2017 19:58:14 +0000 (19:58 +0000)]
Improve TWKT performance by avoiding lots of allocations
on the heap. (Closes #3855)

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

7 years agoShort circuit ST_RepeatedPoints right away on point inputs (Closes #3854)
Paul Ramsey [Wed, 20 Sep 2017 19:55:56 +0000 (19:55 +0000)]
Short circuit ST_RepeatedPoints right away on point inputs (Closes #3854)

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

7 years agoRemove slicing logic from bounding box reader and
Paul Ramsey [Wed, 20 Sep 2017 15:46:14 +0000 (15:46 +0000)]
Remove slicing logic from bounding box reader and
note why inline with the code so it can be done "right"
in a larger re-work of serialization (postgis 3) that
supports postgis-side compression. (Closes #3853)

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

7 years agoST_ConcaveHull fix for EXtenriorRing is not a polygon
Regina Obe [Wed, 20 Sep 2017 00:12:52 +0000 (00:12 +0000)]
ST_ConcaveHull fix for EXtenriorRing is not a polygon
References #2836 for PostGIS 2.4.0

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

7 years agopo and pot updates
Regina Obe [Wed, 20 Sep 2017 00:04:51 +0000 (00:04 +0000)]
po and pot updates

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

7 years agoRemove the local hacks for float rounding and go
Paul Ramsey [Tue, 19 Sep 2017 21:02:06 +0000 (21:02 +0000)]
Remove the local hacks for float rounding and go
with system level functions, that are hopefully
more optimized. Also, this seems to provide more
correct results than the old code!
(Closes #3852)

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

7 years agotypo and grammar corrections from Andreas Schild
Regina Obe [Tue, 19 Sep 2017 15:36:28 +0000 (15:36 +0000)]
typo and grammar corrections from Andreas Schild

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

7 years agoStrip memcpy from int32 access in gserialized,
Paul Ramsey [Tue, 19 Sep 2017 13:35:43 +0000 (13:35 +0000)]
Strip memcpy from int32 access in gserialized,
and remove the now-unused functions that support
that operation from the overall internal API.
(Closes #3850)

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

7 years agoAdd regression test for trigonometric length calculation
Paul Ramsey [Mon, 18 Sep 2017 13:21:53 +0000 (13:21 +0000)]
Add regression test for trigonometric length calculation
for compoundcurve (references #3774)

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

7 years agoRemove unused declaration of LWLINE
Paul Ramsey [Mon, 18 Sep 2017 12:30:30 +0000 (12:30 +0000)]
Remove unused declaration of LWLINE

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

7 years agoAdd notes on optional protobuf-c dependency and some formatting fixes
Björn Harrtell [Mon, 18 Sep 2017 07:32:57 +0000 (07:32 +0000)]
Add notes on optional protobuf-c dependency and some formatting fixes

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

7 years agotypo
Regina Obe [Sun, 17 Sep 2017 23:41:55 +0000 (23:41 +0000)]
typo

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

7 years agoFix check-no-trailing-blanks to check for .c, not .cpp files
Sandro Santilli [Sun, 17 Sep 2017 20:59:27 +0000 (20:59 +0000)]
Fix check-no-trailing-blanks to check for .c, not .cpp files

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

7 years agoRemove trailing blanks from .c files
Sandro Santilli [Sun, 17 Sep 2017 20:59:20 +0000 (20:59 +0000)]
Remove trailing blanks from .c files

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

7 years agotypo corrections from Andreas Schild via transifex
Regina Obe [Sun, 17 Sep 2017 16:58:25 +0000 (16:58 +0000)]
typo corrections from Andreas Schild via transifex

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

7 years agotypo corrections from Andreas Schild via transifex
Regina Obe [Sun, 17 Sep 2017 02:24:08 +0000 (02:24 +0000)]
typo corrections from Andreas Schild via transifex

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

7 years agotypo corrections from Andreas Schild via transifex
Regina Obe [Sun, 17 Sep 2017 01:40:38 +0000 (01:40 +0000)]
typo corrections from Andreas Schild via transifex

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

7 years ago#3774, compute length of compound on arcs
Paul Ramsey [Fri, 15 Sep 2017 14:19:23 +0000 (14:19 +0000)]
#3774, compute length of compound on arcs

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

7 years agofix parse errors in German de
Regina Obe [Fri, 15 Sep 2017 05:36:10 +0000 (05:36 +0000)]
fix parse errors in German de
Closes #3849 for PostGIS 2.4.0

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

7 years agomake de_DE suffix be de_DE (we might just scrap de_DE at some point.)
Regina Obe [Fri, 15 Sep 2017 04:24:12 +0000 (04:24 +0000)]
make de_DE suffix be de_DE (we might just scrap de_DE at some point.)
Add make file for de and make suffix -de.
References #3848 for PostGIS 2.4.0

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

7 years agoadd de which is further ahead than de_DE
Regina Obe [Fri, 15 Sep 2017 04:00:33 +0000 (04:00 +0000)]
add de which is further ahead than de_DE
References #3848

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

7 years ago#3731, backend crash on stats object with zero-size histogram
Paul Ramsey [Thu, 14 Sep 2017 22:57:54 +0000 (22:57 +0000)]
#3731, backend crash on stats object with zero-size histogram

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

7 years agoQuiet printf warnings in mvt size_t debug messages
Paul Ramsey [Thu, 14 Sep 2017 22:30:44 +0000 (22:30 +0000)]
Quiet printf warnings in mvt size_t debug messages

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

7 years agoupdate pos and pots
Regina Obe [Thu, 14 Sep 2017 18:57:27 +0000 (18:57 +0000)]
update pos and pots

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

7 years agonumerous corrections from Andreas Schild on transifex
Regina Obe [Thu, 14 Sep 2017 18:35:45 +0000 (18:35 +0000)]
numerous corrections from Andreas Schild on transifex

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

7 years agoMatch spacing in the topology.c file
Paul Ramsey [Thu, 14 Sep 2017 17:31:54 +0000 (17:31 +0000)]
Match spacing in the topology.c file

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