]> granicus.if.org Git - postgis/log
postgis
5 years agooptional cgal version
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

5 years agomore changes to allow custom building of version items
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

5 years agoType lookups in FDW fail due to sparse search_path.
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

5 years agoFix wagyu configure dropping CPPFLAGS
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

5 years agoRewrite GiST penalty.
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

5 years ago[raster] Skip NODATA tiles in raster2pgsql.
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

5 years agoadd more pkgconfig and make zlib swappable
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

5 years agofix typo in news
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

5 years agoCommit missing file into SVN
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

5 years agoAdd extended flags area in serialization
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

5 years agoImprove output of lwgeom_summary
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

5 years agoAllow FULL OUTER JOIN on geometry.
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

5 years ago[travis] Lint Python code for syntax errors
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

5 years agoAddress GCC 9 warning
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

5 years agoUse GEOSPrepare also for Points and Multipoints
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

5 years agoTravis: Avoid failing both if codecov download or upload fail
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

5 years ago[drone] Fix yml syntax (pull image)
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

5 years agoRevert r17538
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

5 years agoPROJ cache: Improve the eviction process
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

5 years agoPROJ: Remove the extra MemoryContext for PG9.6+
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

5 years agoPROJ: Remove manual call to proj_context_set_search_paths
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

5 years agoPROJ6: Use proj_trans for single points
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

5 years agoPROJ: Use the cache memory context
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

5 years agoPROJ: Avoid double lookups
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

5 years agoIncrease size of internal PROJ cache
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

5 years agoPROJ6: Speed improvements
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

5 years agoFix NEWS related to 3.0alpha3
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

5 years agolwgeom_transform_from_str: Avoid leaking resources under PROJ6+
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

5 years agoConfigure: Avoid unnecessary errors with PROJ6
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

5 years agoBytebuffer: Ifdef unused code
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

5 years agoTravis: Do not fail if the coverage upload fails
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

5 years agoFix error in bash preventing building
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

5 years agoRespect geodetics when expanding a gbox
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

5 years agoChange handling of index search tolerance, it's already in a prior function
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

5 years agoRefactor decode_geohash_bbox
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

5 years agoset defaults back to old and put projdir back in configure for some reason not pickin...
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

5 years agolookup3: Address GCC warnings
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

5 years agoThrow on invalid characters when decoding geohash
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

5 years agoAvoid pfree'ing the result of getenv
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

5 years agoAdd tolerance from #4081 back in
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

5 years agoBack out another change in geography trees
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

5 years agoBack out to liblwgeom_internal... so some parts of geodetic want a tight tolerance...
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

5 years agoTry and back out geodetic tolerance change... this is scarily tied together with...
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

5 years agoFurther re-organization of gserialized, attempting to hide all knowledge
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

5 years agoAddRasterConstraints: Ignore NULLs when generating constraints
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

5 years agoRaster cunit: Address scanf warning on Windows
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

5 years agoTravis: Do not fail if the coverage upload fails
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

5 years agoRename update sql files
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

5 years agoFix upgrade issues related to renamed function parameters
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

5 years agoAdd header for fabs()
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

5 years agoCast to lwgeom for dimensionality test
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

5 years agoUse flags values instead of raw numbers
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

5 years agoFix build
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

5 years agoStrip out direct calls to FLAGS macros where easy
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

5 years agoReorg and rename gserialized files
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

5 years agoRename cu_tests for gserialized to version 1
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

5 years agoPull gserialized_from_lwgeom_size() back to internal API
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

5 years agoPull gserialized_read_gbox_p and gserialized_peek_gbox_p back in favour of a public...
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

5 years agoPragma the pragma
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

5 years agoThou shalt not attempt to quiet warnings
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

5 years agoBack out usage of liblwgeom_internal.h a little more
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

5 years agoBack out removal of "peek" mode for gbox reading...
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

5 years agoLWGEOM_zmflag: Silence warning in old PG releases
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

5 years agoHide gserialized_peek_gbox_p() inside gserialized_read_gbox_p()
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

5 years agoRemove gserialized_get_zm() since it's barely used
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

5 years agoMove gserialized_header_size() out of the public API
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

5 years agoPerl tidy over postgis_proc_upgrade.pl
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

5 years agoUse CREATE OR REPLACE AGGREGATE for PG12+
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

5 years agoCreate a gserialized_hash function to hide serialized internals
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

5 years agoRemove unused prototype errorIfGeometryCollection
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

5 years agoRemove unused function gserialized_to_string
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

5 years agoRemove unused function gserialized_copy
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

5 years agoRemove un-used prototypes for gserialized_calculate_gbox_geocentric and gserialized_c...
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

5 years agoInclude version number in address_standardizer lib
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

5 years agoClean postgis_config.h.in and related functions
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

5 years agoFix undefined behaviour in implicit conversions
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

5 years agoModernize Python 2 code to get ready for Python 3
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

5 years agoFix ST_EndPoint return type
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

5 years ago[raster] raster2pgsql -t auto tile size follows GeoTIFF Natural Block size
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

5 years agofix typos
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

5 years agoChange default build to use GEOS 3.8 / PROJ 6.1.0 / GDAL 2.4.1, but allow overriding
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

5 years agothis should do it for fixing packaging -- next after would be to upgrade the versions...
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

5 years agoFix packaging - was leaving out the postgis and postgis_raster dlls because of versio...
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

5 years ago[raster] Support NODATA=NaN raster ingestion
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

5 years agoThis should fix it.
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

5 years agooops still had mistake -- hopefully this fixes it
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

5 years agofix accidental break of winnie's build script
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

5 years ago[doc] remove notice about wagyu only
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

5 years agoDisable wagyu for dist building -- might be unrelated (or result of some other librar...
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

5 years agoFlig to 3.0.0alpha3dev
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

5 years agoPrepping for PostGIS 3.0.0alpha2 release
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

5 years agoForce --enable-auto-import, also get rid of other flag settings not needed with pkgco...
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

5 years ago[doc] ST_AsGeoJSON FeatureCollection example
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

5 years agoAdd removed file
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

5 years agoMake upgrade finish notification copy-paste friendly.
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

5 years agotake off --with-wagyu on buildbots now that's the default no longer necessary
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

5 years agoMake build with wagyu the default when protobuf is also enabled
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

5 years agoreorder wagyu line in bessie regress
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

5 years agoChange bessies and debbie to build with wagyu
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

5 years ago[sfcgal] Expose ST_ConstrainedDelaunayTriangles
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