]>
granicus.if.org Git - postgis/log
Raúl Marín Rodríguez [Tue, 9 Jul 2019 15:43:19 +0000 (15:43 +0000)]
Speed up ST_GeometryType
Closes https://github.com/postgis/postgis/pull/434
Closes #4450
git-svn-id: http://svn.osgeo.org/postgis/trunk@17586
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Tue, 9 Jul 2019 15:33:24 +0000 (15:33 +0000)]
Fix the calculation of gserialized_max_header_size
Closes #4451
Closes https://github.com/postgis/postgis/pull/433
git-svn-id: http://svn.osgeo.org/postgis/trunk@17585
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Tue, 9 Jul 2019 15:30:01 +0000 (15:30 +0000)]
Address compiler warning in 32b systems
git-svn-id: http://svn.osgeo.org/postgis/trunk@17584
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 8 Jul 2019 21:08:55 +0000 (21:08 +0000)]
Ignore TiledAutoSkipNoData.tif
git-svn-id: http://svn.osgeo.org/postgis/trunk@17583
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Tue, 2 Jul 2019 19:47:06 +0000 (19:47 +0000)]
Strip out getMachineEndian() in favour of configure-time check
git-svn-id: http://svn.osgeo.org/postgis/trunk@17582
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Tue, 2 Jul 2019 09:00:54 +0000 (09:00 +0000)]
Fix bug in lwgeom_le
Closes #4445
git-svn-id: http://svn.osgeo.org/postgis/trunk@17580
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Tue, 2 Jul 2019 08:44:46 +0000 (08:44 +0000)]
Improve hash changes NEWS
Since the output of the function has changed, any
index using it must be reindexed
References #4433
git-svn-id: http://svn.osgeo.org/postgis/trunk@17577
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Mon, 1 Jul 2019 19:01:42 +0000 (19:01 +0000)]
get rid of -e in packaging (causing error to be thrown if tries to remove zip not present), minor adjustments to packaging.
git-svn-id: http://svn.osgeo.org/postgis/trunk@17576
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Mon, 1 Jul 2019 18:15:25 +0000 (18:15 +0000)]
fix for 32-bit hash
Closes #4433
Closes https://github.com/postgis/postgis/pull/429
git-svn-id: http://svn.osgeo.org/postgis/trunk@17575
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Mon, 1 Jul 2019 14:03:24 +0000 (14:03 +0000)]
Flip to 3.0.0alpha4dev
git-svn-id: http://svn.osgeo.org/postgis/trunk@17574
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Mon, 1 Jul 2019 07:31:51 +0000 (07:31 +0000)]
Prep for 3.0.0alpha3 release
git-svn-id: http://svn.osgeo.org/postgis/trunk@17572
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Mon, 1 Jul 2019 03:37:02 +0000 (03:37 +0000)]
optional cgal version
git-svn-id: http://svn.osgeo.org/postgis/trunk@17571
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Mon, 1 Jul 2019 01:27:27 +0000 (01:27 +0000)]
more changes to allow custom building of version items
git-svn-id: http://svn.osgeo.org/postgis/trunk@17570
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Fri, 28 Jun 2019 16:49:59 +0000 (16:49 +0000)]
Type lookups in FDW fail due to sparse search_path.
References #4440
git-svn-id: http://svn.osgeo.org/postgis/trunk@17567
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Fri, 28 Jun 2019 15:39:05 +0000 (15:39 +0000)]
Fix wagyu configure dropping CPPFLAGS
Closes #4443
git-svn-id: http://svn.osgeo.org/postgis/trunk@17566
b70326c6 -7e19-0410-871a-
916f4a2858ee
Darafei Praliaskouski [Fri, 28 Jun 2019 10:00:18 +0000 (10:00 +0000)]
Rewrite GiST penalty.
Use value of 0 as often as possible, as it's special code path in Postgres.
Fix picksplit to use correct penalty function.
Drop dead code.
Closes #4441
Closes https://github.com/postgis/postgis/pull/425
git-svn-id: http://svn.osgeo.org/postgis/trunk@17565
b70326c6 -7e19-0410-871a-
916f4a2858ee
Darafei Praliaskouski [Fri, 28 Jun 2019 09:42:49 +0000 (09:42 +0000)]
[raster] Skip NODATA tiles in raster2pgsql.
Closes #4442
Closes https://github.com/postgis/postgis/pull/427
git-svn-id: http://svn.osgeo.org/postgis/trunk@17564
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Thu, 27 Jun 2019 20:15:29 +0000 (20:15 +0000)]
add more pkgconfig and make zlib swappable
git-svn-id: http://svn.osgeo.org/postgis/trunk@17563
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Thu, 27 Jun 2019 14:15:38 +0000 (14:15 +0000)]
fix typo in news
git-svn-id: http://svn.osgeo.org/postgis/trunk@17562
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Thu, 27 Jun 2019 01:52:33 +0000 (01:52 +0000)]
Commit missing file into SVN
git-svn-id: http://svn.osgeo.org/postgis/trunk@17561
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Wed, 26 Jun 2019 22:34:24 +0000 (22:34 +0000)]
Add extended flags area in serialization
Closes #4438
git-svn-id: http://svn.osgeo.org/postgis/trunk@17560
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Wed, 26 Jun 2019 08:04:14 +0000 (08:04 +0000)]
Improve output of lwgeom_summary
- Do not print a useless newline
- Use plural/singular correctly
- Prepend a colon to elements listing
git-svn-id: http://svn.osgeo.org/postgis/trunk@17559
b70326c6 -7e19-0410-871a-
916f4a2858ee
Darafei Praliaskouski [Sat, 22 Jun 2019 20:08:40 +0000 (20:08 +0000)]
Allow FULL OUTER JOIN on geometry.
Closes #4394
Closes https://github.com/postgis/postgis/pull/409
git-svn-id: http://svn.osgeo.org/postgis/trunk@17557
b70326c6 -7e19-0410-871a-
916f4a2858ee
Darafei Praliaskouski [Sat, 22 Jun 2019 20:05:00 +0000 (20:05 +0000)]
[travis] Lint Python code for syntax errors
Patch by Christian Clauss
Closes #411
git-svn-id: http://svn.osgeo.org/postgis/trunk@17556
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Fri, 21 Jun 2019 13:45:04 +0000 (13:45 +0000)]
Address GCC 9 warning
shpopen.c:1757:22: error: ‘. Probably broken SHP file’ directive
output may be truncated writing 26 bytes into a region of size
between 25 and 48 [-Werror=format-truncation=]
git-svn-id: http://svn.osgeo.org/postgis/trunk@17555
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Fri, 21 Jun 2019 10:49:32 +0000 (10:49 +0000)]
Use GEOSPrepare also for Points and Multipoints
This was removed waiting for a fix that was introduced
in GEOS 3.6, which is now the minimum required version.
Basic tests show this makes ST_Intersects with cached
points 30x faster.
Closes #3437
git-svn-id: http://svn.osgeo.org/postgis/trunk@17554
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Thu, 20 Jun 2019 16:28:41 +0000 (16:28 +0000)]
Travis: Avoid failing both if codecov download or upload fail
git-svn-id: http://svn.osgeo.org/postgis/trunk@17553
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Thu, 20 Jun 2019 07:38:57 +0000 (07:38 +0000)]
[drone] Fix yml syntax (pull image)
git-svn-id: http://svn.osgeo.org/postgis/trunk@17551
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Wed, 19 Jun 2019 16:57:22 +0000 (16:57 +0000)]
Revert r17538
Some of the bots didn't like it
git-svn-id: http://svn.osgeo.org/postgis/trunk@17549
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Wed, 19 Jun 2019 15:26:37 +0000 (15:26 +0000)]
PROJ cache: Improve the eviction process
Instead of selecting a projection that doesn't match
the input source srid and silently drop all cache elements
after it (potentially dropping the whole cache), we keep
a count to know how many item each element has been used
and only drop the element with less uses.
Closes #4372
git-svn-id: http://svn.osgeo.org/postgis/trunk@17548
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Wed, 19 Jun 2019 15:23:33 +0000 (15:23 +0000)]
PROJ: Remove the extra MemoryContext for PG9.6+
In PG9.6+ we can allocate callbacks in the parent node
and associate them directly without creating new contextes
References #4372
git-svn-id: http://svn.osgeo.org/postgis/trunk@17547
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Wed, 19 Jun 2019 15:21:29 +0000 (15:21 +0000)]
PROJ: Remove manual call to proj_context_set_search_paths
AFAIK, we don't provide PROJ files inside our postgis installation
anymore and this is conflicting with PROJ6, as changing the
search path makes it unable to find the proj.db in the
default PATH.
git-svn-id: http://svn.osgeo.org/postgis/trunk@17546
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Wed, 19 Jun 2019 15:19:31 +0000 (15:19 +0000)]
PROJ6: Use proj_trans for single points
It's slighly faster to use it for single points,
and improves it to match PROJ5 performance
References #4372
git-svn-id: http://svn.osgeo.org/postgis/trunk@17545
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Wed, 19 Jun 2019 15:17:19 +0000 (15:17 +0000)]
PROJ: Use the cache memory context
Before it was using malloc/free manually, so with
this change we depend fully on Postgres allocator
References #4372
git-svn-id: http://svn.osgeo.org/postgis/trunk@17544
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Wed, 19 Jun 2019 15:16:15 +0000 (15:16 +0000)]
PROJ: Avoid double lookups
References #4372
git-svn-id: http://svn.osgeo.org/postgis/trunk@17543
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Wed, 19 Jun 2019 15:15:34 +0000 (15:15 +0000)]
Increase size of internal PROJ cache
Creating PROJ projections is specially slow for PROJ6, so
we want to avoid recalculating them as much as possible
This is specially important for ST_Buffer(geography) since
it decides the SRID, and thus the projection, dinamically
based on the geometry position around the globe.
References #4372
git-svn-id: http://svn.osgeo.org/postgis/trunk@17542
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Wed, 19 Jun 2019 15:12:21 +0000 (15:12 +0000)]
PROJ6: Speed improvements
Caches more elements to avoid recalculation per row
References #4372
git-svn-id: http://svn.osgeo.org/postgis/trunk@17541
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Wed, 19 Jun 2019 15:09:25 +0000 (15:09 +0000)]
Fix NEWS related to 3.0alpha3
git-svn-id: http://svn.osgeo.org/postgis/trunk@17540
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Wed, 19 Jun 2019 15:07:49 +0000 (15:07 +0000)]
lwgeom_transform_from_str: Avoid leaking resources under PROJ6+
Closes #4429
git-svn-id: http://svn.osgeo.org/postgis/trunk@17539
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Wed, 19 Jun 2019 15:02:57 +0000 (15:02 +0000)]
Configure: Avoid unnecessary errors with PROJ6
No point on checking proj_api.h for PROJ6, just check
for proj.h directly
Related to #4372
git-svn-id: http://svn.osgeo.org/postgis/trunk@17538
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Wed, 19 Jun 2019 11:57:19 +0000 (11:57 +0000)]
Bytebuffer: Ifdef unused code
Raises the coverage of the file
I was going to delete it, but convinced otherwise
git-svn-id: http://svn.osgeo.org/postgis/trunk@17537
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Tue, 18 Jun 2019 15:33:32 +0000 (15:33 +0000)]
Travis: Do not fail if the coverage upload fails
In a previous commit I'd only fixed run_coverage
git-svn-id: http://svn.osgeo.org/postgis/trunk@17536
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Fri, 14 Jun 2019 22:52:39 +0000 (22:52 +0000)]
Fix error in bash preventing building
git-svn-id: http://svn.osgeo.org/postgis/trunk@17535
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Fri, 14 Jun 2019 17:47:07 +0000 (17:47 +0000)]
Respect geodetics when expanding a gbox
git-svn-id: http://svn.osgeo.org/postgis/trunk@17534
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Fri, 14 Jun 2019 16:49:54 +0000 (16:49 +0000)]
Change handling of index search tolerance, it's already in a prior function
git-svn-id: http://svn.osgeo.org/postgis/trunk@17533
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Fri, 14 Jun 2019 08:55:37 +0000 (08:55 +0000)]
Refactor decode_geohash_bbox
Applied suggestion by Michael Entin and some extra cleanup
git-svn-id: http://svn.osgeo.org/postgis/trunk@17532
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Thu, 13 Jun 2019 23:54:32 +0000 (23:54 +0000)]
set defaults back to old and put projdir back in configure for some reason not picking up proj
git-svn-id: http://svn.osgeo.org/postgis/trunk@17531
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Thu, 13 Jun 2019 14:54:46 +0000 (14:54 +0000)]
lookup3: Address GCC warnings
git-svn-id: http://svn.osgeo.org/postgis/trunk@17530
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Thu, 13 Jun 2019 11:57:13 +0000 (11:57 +0000)]
Throw on invalid characters when decoding geohash
Closes #4406
Closes https://github.com/postgis/postgis/pull/420
git-svn-id: http://svn.osgeo.org/postgis/trunk@17529
b70326c6 -7e19-0410-871a-
916f4a2858ee
Raúl Marín Rodríguez [Thu, 13 Jun 2019 07:42:31 +0000 (07:42 +0000)]
Avoid pfree'ing the result of getenv
References #4327
Closes https://github.com/postgis/postgis/pull/419/
git-svn-id: http://svn.osgeo.org/postgis/trunk@17522
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Wed, 12 Jun 2019 22:57:51 +0000 (22:57 +0000)]
Add tolerance from #4081 back in
git-svn-id: http://svn.osgeo.org/postgis/trunk@17521
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Wed, 12 Jun 2019 22:37:01 +0000 (22:37 +0000)]
Back out another change in geography trees
git-svn-id: http://svn.osgeo.org/postgis/trunk@17520
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Wed, 12 Jun 2019 22:29:51 +0000 (22:29 +0000)]
Back out to liblwgeom_internal... so some parts of geodetic want a tight tolerance and others wand a loose one... ug
git-svn-id: http://svn.osgeo.org/postgis/trunk@17519
b70326c6 -7e19-0410-871a-
916f4a2858ee
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