]>
granicus.if.org Git - postgis/log
Paul Ramsey [Wed, 12 Jun 2019 22:24:17 +0000 (22:24 +0000)]
Try and back out geodetic tolerance change... this is scarily tied together with the cartesian tolerance
git-svn-id: http://svn.osgeo.org/postgis/trunk@17518
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Wed, 12 Jun 2019 22:04:58 +0000 (22:04 +0000)]
Further re-organization of gserialized, attempting to hide all knowledge
of the underlying structure behind the API
git-svn-id: http://svn.osgeo.org/postgis/trunk@17517
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Wed, 12 Jun 2019 13:08:50 +0000 (13:08 +0000)]
AddRasterConstraints: Ignore NULLs when generating constraints
Closes https://github.com/postgis/postgis/pull/418
References #4388
git-svn-id: http://svn.osgeo.org/postgis/trunk@17511
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Wed, 12 Jun 2019 11:38:52 +0000 (11:38 +0000)]
Raster cunit: Address scanf warning on Windows
Closes #3252
git-svn-id: http://svn.osgeo.org/postgis/trunk@17510
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Wed, 12 Jun 2019 11:01:21 +0000 (11:01 +0000)]
Travis: Do not fail if the coverage upload fails
git-svn-id: http://svn.osgeo.org/postgis/trunk@17509
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Wed, 12 Jun 2019 10:30:22 +0000 (10:30 +0000)]
Rename update sql files
postgis/postgis_drop_after.sql -> postgis/postgis_after_upgrade.sql
postgis/postgis_drop_before.sql -> postgis/postgis_before_upgrade.sql
Closes #4334
git-svn-id: http://svn.osgeo.org/postgis/trunk@17508
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Wed, 12 Jun 2019 09:49:20 +0000 (09:49 +0000)]
Fix upgrade issues related to renamed function parameters
References #4334
Closes https://github.com/postgis/postgis/pull/415
git-svn-id: http://svn.osgeo.org/postgis/trunk@17507
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Tue, 11 Jun 2019 22:02:11 +0000 (22:02 +0000)]
Add header for fabs()
git-svn-id: http://svn.osgeo.org/postgis/trunk@17506
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Tue, 11 Jun 2019 21:41:03 +0000 (21:41 +0000)]
Cast to lwgeom for dimensionality test
git-svn-id: http://svn.osgeo.org/postgis/trunk@17505
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Tue, 11 Jun 2019 21:26:14 +0000 (21:26 +0000)]
Use flags values instead of raw numbers
git-svn-id: http://svn.osgeo.org/postgis/trunk@17504
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Tue, 11 Jun 2019 21:24:03 +0000 (21:24 +0000)]
Fix build
git-svn-id: http://svn.osgeo.org/postgis/trunk@17503
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Tue, 11 Jun 2019 20:49:13 +0000 (20:49 +0000)]
Strip out direct calls to FLAGS macros where easy
git-svn-id: http://svn.osgeo.org/postgis/trunk@17502
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Tue, 11 Jun 2019 20:13:13 +0000 (20:13 +0000)]
Reorg and rename gserialized files
git-svn-id: http://svn.osgeo.org/postgis/trunk@17501
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Tue, 11 Jun 2019 18:39:07 +0000 (18:39 +0000)]
Rename cu_tests for gserialized to version 1
git-svn-id: http://svn.osgeo.org/postgis/trunk@17500
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Tue, 11 Jun 2019 18:31:23 +0000 (18:31 +0000)]
Pull gserialized_from_lwgeom_size() back to internal API
git-svn-id: http://svn.osgeo.org/postgis/trunk@17499
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Tue, 11 Jun 2019 18:24:40 +0000 (18:24 +0000)]
Pull gserialized_read_gbox_p and gserialized_peek_gbox_p back in favour of a public gserialized_fast_gbox_p. Pull liblwgeom_internal out of mvt.c
git-svn-id: http://svn.osgeo.org/postgis/trunk@17498
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Tue, 11 Jun 2019 18:09:50 +0000 (18:09 +0000)]
Pragma the pragma
Closes https://github.com/postgis/postgis/pull/416
git-svn-id: http://svn.osgeo.org/postgis/trunk@17497
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Tue, 11 Jun 2019 17:39:16 +0000 (17:39 +0000)]
Thou shalt not attempt to quiet warnings
git-svn-id: http://svn.osgeo.org/postgis/trunk@17496
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Tue, 11 Jun 2019 17:31:21 +0000 (17:31 +0000)]
Back out usage of liblwgeom_internal.h a little more
(MVT usage is problematical...)
git-svn-id: http://svn.osgeo.org/postgis/trunk@17495
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Tue, 11 Jun 2019 17:27:46 +0000 (17:27 +0000)]
Back out removal of "peek" mode for gbox reading...
Seems like it is more widely used and sufficiently different
from "read" mode that it needs to stay for now
git-svn-id: http://svn.osgeo.org/postgis/trunk@17494
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Tue, 11 Jun 2019 16:30:53 +0000 (16:30 +0000)]
LWGEOM_zmflag: Silence warning in old PG releases
git-svn-id: http://svn.osgeo.org/postgis/trunk@17493
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Tue, 11 Jun 2019 16:30:46 +0000 (16:30 +0000)]
Hide gserialized_peek_gbox_p() inside gserialized_read_gbox_p()
git-svn-id: http://svn.osgeo.org/postgis/trunk@17492
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Tue, 11 Jun 2019 15:42:03 +0000 (15:42 +0000)]
Remove gserialized_get_zm() since it's barely used
git-svn-id: http://svn.osgeo.org/postgis/trunk@17491
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Tue, 11 Jun 2019 15:06:12 +0000 (15:06 +0000)]
Move gserialized_header_size() out of the public API
git-svn-id: http://svn.osgeo.org/postgis/trunk@17490
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Tue, 11 Jun 2019 10:20:39 +0000 (10:20 +0000)]
Perl tidy over postgis_proc_upgrade.pl
To match PostgreSQL convenctions I've used
perltidy -b -bl -nsfs -naws -l=100 -ole=unix postgis_proc_upgrade.pl
Closes #4352
git-svn-id: http://svn.osgeo.org/postgis/trunk@17489
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Tue, 11 Jun 2019 10:18:21 +0000 (10:18 +0000)]
Use CREATE OR REPLACE AGGREGATE for PG12+
References #4352
git-svn-id: http://svn.osgeo.org/postgis/trunk@17488
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 10 Jun 2019 22:12:00 +0000 (22:12 +0000)]
Create a gserialized_hash function to hide serialized internals
within the gserialized module, closes #4424
git-svn-id: http://svn.osgeo.org/postgis/trunk@17487
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 10 Jun 2019 20:32:44 +0000 (20:32 +0000)]
Remove unused prototype errorIfGeometryCollection
git-svn-id: http://svn.osgeo.org/postgis/trunk@17486
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 10 Jun 2019 20:29:39 +0000 (20:29 +0000)]
Remove unused function gserialized_to_string
git-svn-id: http://svn.osgeo.org/postgis/trunk@17485
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 10 Jun 2019 20:25:59 +0000 (20:25 +0000)]
Remove unused function gserialized_copy
git-svn-id: http://svn.osgeo.org/postgis/trunk@17484
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 10 Jun 2019 20:23:20 +0000 (20:23 +0000)]
Remove un-used prototypes for gserialized_calculate_gbox_geocentric and gserialized_calculate_gbox_geocentric_p
git-svn-id: http://svn.osgeo.org/postgis/trunk@17483
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Mon, 10 Jun 2019 15:12:25 +0000 (15:12 +0000)]
Include version number in address_standardizer lib
Reverts r15933
Closes https://trac.osgeo.org/postgis/ticket/4414
Closes https://github.com/postgis/postgis/pull/413
git-svn-id: http://svn.osgeo.org/postgis/trunk@17482
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Mon, 10 Jun 2019 13:56:14 +0000 (13:56 +0000)]
Clean postgis_config.h.in and related functions
Closes https://github.com/postgis/postgis/pull/412
Closes #4423
git-svn-id: http://svn.osgeo.org/postgis/trunk@17481
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Mon, 10 Jun 2019 10:55:10 +0000 (10:55 +0000)]
Fix undefined behaviour in implicit conversions
Cleans up errors in raster and topology and adds an
extra sanitizer build in Travis
Closes #4383
Closes https://github.com/postgis/postgis/pull/398
git-svn-id: http://svn.osgeo.org/postgis/trunk@17480
b70326c6 -7e19-0410-871a-
916f4a2858ee
Darafei Praliaskouski [Sun, 9 Jun 2019 11:31:34 +0000 (11:31 +0000)]
Modernize Python 2 code to get ready for Python 3
Patch by Christian Clauss
Closes #4422
Closes https://github.com/postgis/postgis/pull/410
git-svn-id: http://svn.osgeo.org/postgis/trunk@17479
b70326c6 -7e19-0410-871a-
916f4a2858ee
Martin Davis [Tue, 4 Jun 2019 23:40:25 +0000 (23:40 +0000)]
Fix ST_EndPoint return type
git-svn-id: http://svn.osgeo.org/postgis/trunk@17471
b70326c6 -7e19-0410-871a-
916f4a2858ee
Darafei Praliaskouski [Tue, 4 Jun 2019 14:55:39 +0000 (14:55 +0000)]
[raster] raster2pgsql -t auto tile size follows GeoTIFF Natural Block size
Commonly found in Cloud Optimized GeoTIFFs.
Closes https://github.com/postgis/postgis/pull/408
Closes #4413
git-svn-id: http://svn.osgeo.org/postgis/trunk@17470
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Tue, 4 Jun 2019 00:30:38 +0000 (00:30 +0000)]
fix typos
git-svn-id: http://svn.osgeo.org/postgis/trunk@17469
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Mon, 3 Jun 2019 22:23:29 +0000 (22:23 +0000)]
Change default build to use GEOS 3.8 / PROJ 6.1.0 / GDAL 2.4.1, but allow overriding
git-svn-id: http://svn.osgeo.org/postgis/trunk@17468
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Mon, 3 Jun 2019 20:55:09 +0000 (20:55 +0000)]
this should do it for fixing packaging -- next after would be to upgrade the versions of things
git-svn-id: http://svn.osgeo.org/postgis/trunk@17467
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Mon, 3 Jun 2019 04:45:23 +0000 (04:45 +0000)]
Fix packaging - was leaving out the postgis and postgis_raster dlls because of version change
git-svn-id: http://svn.osgeo.org/postgis/trunk@17466
b70326c6 -7e19-0410-871a-
916f4a2858ee
Darafei Praliaskouski [Mon, 3 Jun 2019 02:16:28 +0000 (02:16 +0000)]
[raster] Support NODATA=NaN raster ingestion
Notable example of such raster is Facebook Population Density.
Closes #4412
Closes https://github.com/postgis/postgis/pull/407
git-svn-id: http://svn.osgeo.org/postgis/trunk@17465
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sun, 2 Jun 2019 18:43:17 +0000 (18:43 +0000)]
This should fix it.
git-svn-id: http://svn.osgeo.org/postgis/trunk@17464
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sun, 2 Jun 2019 17:29:09 +0000 (17:29 +0000)]
oops still had mistake -- hopefully this fixes it
git-svn-id: http://svn.osgeo.org/postgis/trunk@17463
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sun, 2 Jun 2019 15:47:49 +0000 (15:47 +0000)]
fix accidental break of winnie's build script
git-svn-id: http://svn.osgeo.org/postgis/trunk@17462
b70326c6 -7e19-0410-871a-
916f4a2858ee
Darafei Praliaskouski [Sun, 2 Jun 2019 11:16:50 +0000 (11:16 +0000)]
[doc] remove notice about wagyu only
Closes #4411
git-svn-id: http://svn.osgeo.org/postgis/trunk@17461
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sun, 2 Jun 2019 03:35:09 +0000 (03:35 +0000)]
Disable wagyu for dist building -- might be unrelated (or result of some other library upgrade when installing mvt stuff) but seems debbie's doc building started failing after she started building with wagyu
git-svn-id: http://svn.osgeo.org/postgis/trunk@17460
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sun, 2 Jun 2019 02:35:12 +0000 (02:35 +0000)]
Flig to 3.0.0alpha3dev
git-svn-id: http://svn.osgeo.org/postgis/trunk@17459
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sun, 2 Jun 2019 02:19:51 +0000 (02:19 +0000)]
Prepping for PostGIS 3.0.0alpha2 release
git-svn-id: http://svn.osgeo.org/postgis/trunk@17457
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sun, 2 Jun 2019 01:21:03 +0000 (01:21 +0000)]
Force --enable-auto-import, also get rid of other flag settings not needed with pkgconfig usage.
This is needed for some reason to get wagyu to link (before --disable-auto-import was being dragged in)
Closes #4408
git-svn-id: http://svn.osgeo.org/postgis/trunk@17456
b70326c6 -7e19-0410-871a-
916f4a2858ee
Darafei Praliaskouski [Sat, 1 Jun 2019 17:32:20 +0000 (17:32 +0000)]
[doc] ST_AsGeoJSON FeatureCollection example
git-svn-id: http://svn.osgeo.org/postgis/trunk@17455
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Sat, 1 Jun 2019 16:24:53 +0000 (16:24 +0000)]
Add removed file
git-svn-id: http://svn.osgeo.org/postgis/trunk@17454
b70326c6 -7e19-0410-871a-
916f4a2858ee
Darafei Praliaskouski [Sat, 1 Jun 2019 13:02:26 +0000 (13:02 +0000)]
Make upgrade finish notification copy-paste friendly.
git-svn-id: http://svn.osgeo.org/postgis/trunk@17453
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sat, 1 Jun 2019 02:10:06 +0000 (02:10 +0000)]
take off --with-wagyu on buildbots now that's the default no longer necessary
Revise winnie's builds to use pkgconfig where available instead of the --with-<something>=path commands
git-svn-id: http://svn.osgeo.org/postgis/trunk@17452
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sat, 1 Jun 2019 01:29:14 +0000 (01:29 +0000)]
Make build with wagyu the default when protobuf is also enabled
Closes https://github.com/postgis/postgis/pull/406
git-svn-id: http://svn.osgeo.org/postgis/trunk@17451
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Fri, 31 May 2019 21:37:49 +0000 (21:37 +0000)]
reorder wagyu line in bessie regress
configure winnie to test with wagyu to better troubleshoot issue
References #4408
git-svn-id: http://svn.osgeo.org/postgis/trunk@17450
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Fri, 31 May 2019 20:01:11 +0000 (20:01 +0000)]
Change bessies and debbie to build with wagyu
For testing what happens when wagyu becomes the default
References https://github.com/postgis/postgis/pull/406
git-svn-id: http://svn.osgeo.org/postgis/trunk@17449
b70326c6 -7e19-0410-871a-
916f4a2858ee
Darafei Praliaskouski [Fri, 31 May 2019 19:59:40 +0000 (19:59 +0000)]
[sfcgal] Expose ST_ConstrainedDelaunayTriangles
Closes #4198
Closes https://github.com/postgis/postgis/pull/405
git-svn-id: http://svn.osgeo.org/postgis/trunk@17448
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Wed, 29 May 2019 13:57:59 +0000 (13:57 +0000)]
Update GEOS recommendation to 3.7.0
Doesn't make sense to recommend 3.6 if it takes 3.7 to use all
features of PostGIS...
git-svn-id: http://svn.osgeo.org/postgis/trunk@17447
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 27 May 2019 21:28:06 +0000 (21:28 +0000)]
Fix selectivity issue with support functions, wherein... default
selectivities were the only thing we were returning.
Closes #4404
git-svn-id: http://svn.osgeo.org/postgis/trunk@17446
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sun, 26 May 2019 20:51:28 +0000 (20:51 +0000)]
Flip version to alpha2dev (hopefully we won't need another alpha), but just in case
git-svn-id: http://svn.osgeo.org/postgis/trunk@17445
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sun, 26 May 2019 11:37:48 +0000 (11:37 +0000)]
put in date
git-svn-id: http://svn.osgeo.org/postgis/trunk@17443
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sun, 26 May 2019 01:02:42 +0000 (01:02 +0000)]
Prep for 3.0.0alpha1 release
git-svn-id: http://svn.osgeo.org/postgis/trunk@17442
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sun, 26 May 2019 00:59:07 +0000 (00:59 +0000)]
schema qualify usage
git-svn-id: http://svn.osgeo.org/postgis/trunk@17441
b70326c6 -7e19-0410-871a-
916f4a2858ee
Martin Davis [Tue, 21 May 2019 23:56:47 +0000 (23:56 +0000)]
Improve ST_ConvexHull doc
git-svn-id: http://svn.osgeo.org/postgis/trunk@17440
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Thu, 16 May 2019 06:20:34 +0000 (06:20 +0000)]
[git] Add .mailmap file
Useful for output of: git shortlog -ens
git-svn-id: http://svn.osgeo.org/postgis/trunk@17439
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Wed, 15 May 2019 14:07:33 +0000 (14:07 +0000)]
Simple TIN support to allow viz in QGIS
Closes #4380
git-svn-id: http://svn.osgeo.org/postgis/trunk@17438
b70326c6 -7e19-0410-871a-
916f4a2858ee
Darafei Praliaskouski [Tue, 14 May 2019 19:43:46 +0000 (19:43 +0000)]
Format lwlinearreferencing.c
Closes #3163
git-svn-id: http://svn.osgeo.org/postgis/trunk@17436
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Thu, 9 May 2019 16:14:36 +0000 (16:14 +0000)]
Add note to valid regarding 2d-only nature
closes #4364
git-svn-id: http://svn.osgeo.org/postgis/trunk@17435
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Thu, 9 May 2019 13:21:17 +0000 (13:21 +0000)]
Give meaningful error upon missing flex/bison
git-svn-id: http://svn.osgeo.org/postgis/trunk@17434
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Thu, 9 May 2019 13:21:09 +0000 (13:21 +0000)]
[gitlab-ci] Test make maintainer-clean
Also install flex
git-svn-id: http://svn.osgeo.org/postgis/trunk@17433
b70326c6 -7e19-0410-871a-
916f4a2858ee
Martin Davis [Fri, 3 May 2019 22:34:44 +0000 (22:34 +0000)]
Improve doc Reference types section
git-svn-id: http://svn.osgeo.org/postgis/trunk@17432
b70326c6 -7e19-0410-871a-
916f4a2858ee
Martin Davis [Fri, 3 May 2019 22:05:26 +0000 (22:05 +0000)]
Improve doc Reference Constructors
git-svn-id: http://svn.osgeo.org/postgis/trunk@17431
b70326c6 -7e19-0410-871a-
916f4a2858ee
Martin Davis [Thu, 2 May 2019 17:34:38 +0000 (17:34 +0000)]
Improve ST_AsMVT doc
git-svn-id: http://svn.osgeo.org/postgis/trunk@17430
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Thu, 2 May 2019 17:17:22 +0000 (17:17 +0000)]
[gitlab-ci] Install bison
git-svn-id: http://svn.osgeo.org/postgis/trunk@17429
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Thu, 2 May 2019 16:44:40 +0000 (16:44 +0000)]
Fix badge links to use "branch" instead of "ref"
git-svn-id: http://svn.osgeo.org/postgis/trunk@17428
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Thu, 2 May 2019 16:44:31 +0000 (16:44 +0000)]
Add badge from cloud.drone.io in README.md
git-svn-id: http://svn.osgeo.org/postgis/trunk@17427
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Thu, 2 May 2019 16:03:04 +0000 (16:03 +0000)]
turn off logbt on debbie, needs to be reconfigured giving error - [logbt] unexpected core_pattern: |/usr/share/apport/apport
git-svn-id: http://svn.osgeo.org/postgis/trunk@17425
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Thu, 2 May 2019 15:33:03 +0000 (15:33 +0000)]
update cunit output for postgis vector
git-svn-id: http://svn.osgeo.org/postgis/trunk@17424
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Wed, 1 May 2019 21:32:41 +0000 (21:32 +0000)]
Re-add ST_GeoJSON documentation
git-svn-id: http://svn.osgeo.org/postgis/trunk@17423
b70326c6 -7e19-0410-871a-
916f4a2858ee
Martin Davis [Wed, 1 May 2019 20:12:19 +0000 (20:12 +0000)]
Fix Doc XML structure in Ref file
git-svn-id: http://svn.osgeo.org/postgis/trunk@17422
b70326c6 -7e19-0410-871a-
916f4a2858ee
Martin Davis [Wed, 1 May 2019 18:27:06 +0000 (18:27 +0000)]
Improve Doc Ref section - add missing files
git-svn-id: http://svn.osgeo.org/postgis/trunk@17421
b70326c6 -7e19-0410-871a-
916f4a2858ee
Martin Davis [Wed, 1 May 2019 17:40:51 +0000 (17:40 +0000)]
Improve Doc reference section (Inputs, Outputs, Accessors etc)
git-svn-id: http://svn.osgeo.org/postgis/trunk@17420
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Wed, 1 May 2019 16:59:08 +0000 (16:59 +0000)]
Change GeoJSON example to be self-contained
git-svn-id: http://svn.osgeo.org/postgis/trunk@17419
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Tue, 30 Apr 2019 16:45:35 +0000 (16:45 +0000)]
Add json casts to doc, set json cast precision
to defaults used in other functions
git-svn-id: http://svn.osgeo.org/postgis/trunk@17418
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 29 Apr 2019 16:16:56 +0000 (16:16 +0000)]
Add missing files from previous commits
References #1833 and #3687
git-svn-id: http://svn.osgeo.org/postgis/trunk@17417
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 29 Apr 2019 16:05:21 +0000 (16:05 +0000)]
Casts from geometry to json and jsonb
Allows to_json and to_jsonb to serialize geometry columns into json
for more intuitive json handling.
Closes #3687
git-svn-id: http://svn.osgeo.org/postgis/trunk@17416
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 29 Apr 2019 16:04:10 +0000 (16:04 +0000)]
ST_AsGeoJSON(record) implementation from Joe Conway
Closes #1833
git-svn-id: http://svn.osgeo.org/postgis/trunk@17415
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Wed, 24 Apr 2019 11:07:56 +0000 (11:07 +0000)]
Multiple fixes for undefined behaviour in implicit conversions
shp2pgsql-core.c:839:22: runtime error: implicit conversion from type 'int' of value -1 (32-bit, signed) to type 'DBFFieldType' changed the value to
4294967295 (32-bit, unsigned)
runtime error: implicit conversion from type 'int32' (aka 'int') of value -1 (32-bit, signed) to type 'uint32' (aka 'unsigned int') changed the value to
4294967295 (32-bit, unsigned)
UndefinedBehaviorSanitizer: undefined-behavior lwgeom_functions_basic.c:2237:10 in
runtime error: implicit conversion from type 'unsigned int' of value
4294967295 (32-bit, unsigned) to type 'int' changed the value to -1 (32-bit, signed)
UndefinedBehaviorSanitizer: undefined-behavior ptarray.c:333:13 in
runtime error: implicit conversion from type 'unsigned int' of value
4294967295 (32-bit, unsigned) to type 'int' changed the value to -1 (32-bit, signed)
UndefinedBehaviorSanitizer: undefined-behavior ptarray.c:333:13 in
References #4383
git-svn-id: http://svn.osgeo.org/postgis/trunk@17414
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Wed, 24 Apr 2019 11:03:39 +0000 (11:03 +0000)]
lwout_twkb.c: Address implicit type conversion with value change
lwout_twkb.c:170:9: runtime error: implicit conversion from type 'long long' of value
10000000000 (64-bit, signed) to type 'int' changed the value to
1410065408 (32-bit, signed)
References #4383
git-svn-id: http://svn.osgeo.org/postgis/trunk@17413
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Wed, 24 Apr 2019 11:02:21 +0000 (11:02 +0000)]
lwout_wkb.c: Address implicit type conversion with value change
lwout_wkb.c:288:16: runtime error: implicit conversion from type 'char' of value -16 (8-bit, signed) to type 'uint8_t' (aka 'unsigned char') changed the value to 240 (8-bit, unsigned)
lwout_wkb.c:654:27: runtime error: implicit conversion from type 'uint32_t' (aka 'unsigned int') of value
2147483663 (32-bit, unsigned) to type 'int' changed the value to -
2147483633 (32-bit, signed)
lwout_wkb.c:213:16: runtime error: implicit conversion from type 'char' of value -128 (8-bit, signed) to type 'uint8_t' (aka 'unsigned char') changed the value to 128 (8-bit, unsigned)
lwout_wkb.c:607:27: runtime error: implicit conversion from type 'uint32_t' (aka 'unsigned int') of value
2147483651 (32-bit, unsigned) to type 'int' changed the value to -
2147483645 (32-bit, signed)
References #4383
git-svn-id: http://svn.osgeo.org/postgis/trunk@17412
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Wed, 24 Apr 2019 10:59:37 +0000 (10:59 +0000)]
Fix several issues when building cunit tests
- loader cunit: Add missing $(CFLAGS) to the main binary
- liblwgeom cunit: Avoid link issues with some sanitizers
References #4383
git-svn-id: http://svn.osgeo.org/postgis/trunk@17411
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Wed, 24 Apr 2019 10:44:27 +0000 (10:44 +0000)]
Always use int32_t for srid
The main declaration was already using it, but some
places still had int or mistakenly used uint32_t
Closes #4384
git-svn-id: http://svn.osgeo.org/postgis/trunk@17410
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Wed, 24 Apr 2019 10:04:42 +0000 (10:04 +0000)]
Style changes from the previous commits
Also addresses some warnings in debug logs
Note: SPI_processed was 32b until PG9.5 (still supported)
git-svn-id: http://svn.osgeo.org/postgis/trunk@17409
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Wed, 24 Apr 2019 10:03:07 +0000 (10:03 +0000)]
Use uint64 to handle row counts in the topology extension
References #4141
git-svn-id: http://svn.osgeo.org/postgis/trunk@17408
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Mon, 22 Apr 2019 12:09:06 +0000 (12:09 +0000)]
Reorder LWGEOM struct members to minimize extra padding
Closes https://github.com/postgis/postgis/pull/390
References #4368
git-svn-id: http://svn.osgeo.org/postgis/trunk@17407
b70326c6 -7e19-0410-871a-
916f4a2858ee
Darafei Praliaskouski [Mon, 22 Apr 2019 10:54:29 +0000 (10:54 +0000)]
ST_Union: allocate correct size of memory in right context
Thanks Raul for finding the cause.
References #4382
Closes https://github.com/postgis/postgis/pull/397
git-svn-id: http://svn.osgeo.org/postgis/trunk@17406
b70326c6 -7e19-0410-871a-
916f4a2858ee
Darafei Praliaskouski [Sun, 21 Apr 2019 15:52:00 +0000 (15:52 +0000)]
Call POSTGIS2GEOS in aggregate context.
References #4382
git-svn-id: http://svn.osgeo.org/postgis/trunk@17405
b70326c6 -7e19-0410-871a-
916f4a2858ee
Darafei Praliaskouski [Sun, 21 Apr 2019 13:41:50 +0000 (13:41 +0000)]
Satisfy ISO C90.
References #4382
git-svn-id: http://svn.osgeo.org/postgis/trunk@17404
b70326c6 -7e19-0410-871a-
916f4a2858ee
Darafei Praliaskouski [Sun, 21 Apr 2019 12:58:43 +0000 (12:58 +0000)]
Reallocate Union state in aggregate context.
References #4382
git-svn-id: http://svn.osgeo.org/postgis/trunk@17403
b70326c6 -7e19-0410-871a-
916f4a2858ee