]> granicus.if.org Git - postgis/log
postgis
5 years agoschema qualify usage
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

5 years agoImprove ST_ConvexHull doc
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

5 years ago[git] Add .mailmap file
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

5 years agoSimple TIN support to allow viz in QGIS
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

5 years agoFormat lwlinearreferencing.c
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

5 years agoAdd note to valid regarding 2d-only nature
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

5 years agoGive meaningful error upon missing flex/bison
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

5 years ago[gitlab-ci] Test make maintainer-clean
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

5 years agoImprove doc Reference types section
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

5 years agoImprove doc Reference Constructors
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

5 years agoImprove ST_AsMVT doc
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

5 years ago[gitlab-ci] Install bison
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

5 years agoFix badge links to use "branch" instead of "ref"
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

5 years agoAdd badge from cloud.drone.io in README.md
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

5 years agoturn off logbt on debbie, needs to be reconfigured giving error - [logbt] unexpected...
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

5 years agoupdate cunit output for postgis vector
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

5 years agoRe-add ST_GeoJSON documentation
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

5 years agoFix Doc XML structure in Ref file
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

5 years agoImprove Doc Ref section - add missing files
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

5 years agoImprove Doc reference section (Inputs, Outputs, Accessors etc)
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

5 years agoChange GeoJSON example to be self-contained
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

5 years agoAdd json casts to doc, set json cast precision
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

5 years agoAdd missing files from previous commits
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

5 years agoCasts from geometry to json and jsonb
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

5 years agoST_AsGeoJSON(record) implementation from Joe Conway
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

5 years agoMultiple fixes for undefined behaviour in implicit conversions
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

5 years agolwout_twkb.c: Address implicit type conversion with value change
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

5 years agolwout_wkb.c: Address implicit type conversion with value change
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

5 years agoFix several issues when building cunit tests
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

5 years agoAlways use int32_t for srid
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

5 years agoStyle changes from the previous commits
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

5 years agoUse uint64 to handle row counts in the topology extension
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

5 years agoReorder LWGEOM struct members to minimize extra padding
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

5 years agoST_Union: allocate correct size of memory in right context
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

5 years agoCall POSTGIS2GEOS in aggregate context.
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

5 years agoSatisfy ISO C90.
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

5 years agoReallocate Union state in aggregate context.
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

5 years ago[travis] add run_garden.sh lost in previous commit
Darafei Praliaskouski [Sun, 21 Apr 2019 10:19:24 +0000 (10:19 +0000)]
[travis] add run_garden.sh lost in previous commit

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

5 years ago[travis] run garden tests on CI.
Darafei Praliaskouski [Sun, 21 Apr 2019 09:33:12 +0000 (09:33 +0000)]
[travis] run garden tests on CI.

Crashes of documented things will get reported.

Closes https://github.com/postgis/postgis/pull/396

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

5 years agoReenable logbt on debbie
Regina Obe [Sat, 20 Apr 2019 20:40:43 +0000 (20:40 +0000)]
Reenable logbt on debbie

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

5 years ago[garden] fix gardan test launch. To test, make garden.
Darafei Praliaskouski [Sat, 20 Apr 2019 08:20:34 +0000 (08:20 +0000)]
[garden] fix gardan test launch. To test, make garden.

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

5 years agoST_Union: allow to input more than 1GB of geometries.
Darafei Praliaskouski [Thu, 18 Apr 2019 19:56:30 +0000 (19:56 +0000)]
ST_Union: allow to input more than 1GB of geometries.

Output still has to be below 1GB due to postgres tuple length limit.

Closes #4340
Closes https://github.com/postgis/postgis/pull/394

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

5 years agoRemove ST_Accum. Please use array_agg instead.
Darafei Praliaskouski [Thu, 18 Apr 2019 05:35:07 +0000 (05:35 +0000)]
Remove ST_Accum. Please use array_agg instead.

Closes #4356
Closes https://github.com/postgis/postgis/pull/393

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

5 years agoAllow passing TINs to GEOS functions.
Darafei Praliaskouski [Wed, 17 Apr 2019 06:31:04 +0000 (06:31 +0000)]
Allow passing TINs to GEOS functions.

Closes #4378
Closes https://github.com/postgis/postgis/pull/392

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

5 years agoRemove duplicated entry for mdavis in authors file
Sandro Santilli [Mon, 15 Apr 2019 06:37:00 +0000 (06:37 +0000)]
Remove duplicated entry for mdavis in authors file

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

5 years agoAdd Martin's contact in authors (also fixes sync scripts)
Sandro Santilli [Mon, 15 Apr 2019 05:07:58 +0000 (05:07 +0000)]
Add Martin's contact in authors (also fixes sync scripts)

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

5 years agohave make dist build without raster so no risk of system GDAL dragging in a proj...
Regina Obe [Sun, 14 Apr 2019 02:36:06 +0000 (02:36 +0000)]
have make dist build without raster so no risk of system GDAL dragging in a proj.  Take out sfcgal building for now until can troubleshoot

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

5 years agoAdd sfcgal to path
Regina Obe [Sun, 14 Apr 2019 02:05:18 +0000 (02:05 +0000)]
Add sfcgal to path

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

5 years agoFix typo in config
Regina Obe [Sun, 14 Apr 2019 01:59:33 +0000 (01:59 +0000)]
Fix typo in config

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

5 years agoChange to use custom built sfcgal (packaged one drags in old gdal and openscenegraph...
Regina Obe [Sun, 14 Apr 2019 01:42:07 +0000 (01:42 +0000)]
Change to use custom built sfcgal (packaged one drags in old gdal and openscenegraph still, so lets see if using our custom works)

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

5 years agoCircular string distances have some failure modes, and test
Paul Ramsey [Fri, 12 Apr 2019 22:14:52 +0000 (22:14 +0000)]
Circular string distances have some failure modes, and test
suite should test everything bi-directionally.
References #4326

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

5 years agoGuard against zero'd histo edge, but also avoid arbitrarily inflating edge
Paul Ramsey [Fri, 12 Apr 2019 19:45:33 +0000 (19:45 +0000)]
Guard against zero'd histo edge, but also avoid arbitrarily inflating edge
References #4362

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

5 years agoAdd Martin Davis as committer
Martin Davis [Thu, 11 Apr 2019 16:48:20 +0000 (16:48 +0000)]
Add Martin Davis as committer

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

5 years agoAllow postgis_extensions_upgrade() to upgrade from '%next' version
Sandro Santilli [Thu, 11 Apr 2019 13:10:57 +0000 (13:10 +0000)]
Allow postgis_extensions_upgrade() to upgrade from '%next' version

Would otherwise not even attempt to fix the "next" temporary version

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

5 years agoTRUNCATE spatial_ref_sys upfront when running out_geography test
Sandro Santilli [Wed, 10 Apr 2019 16:15:55 +0000 (16:15 +0000)]
TRUNCATE spatial_ref_sys upfront when running out_geography test

.. this should probably be done upfront for all tests...

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

5 years agost_askml(geography, integer) was replaced by default args
Sandro Santilli [Wed, 10 Apr 2019 16:15:46 +0000 (16:15 +0000)]
st_askml(geography, integer) was replaced by default args

Closes #4366 again

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

5 years agoDrop deprecated functions on upgrade
Sandro Santilli [Wed, 10 Apr 2019 15:18:20 +0000 (15:18 +0000)]
Drop deprecated functions on upgrade

Functions were: _ST_AsGeoJson, _ST_AsKML, _ST_Distance and _ST_Buffer

They were deprecated in r17300

Fixes upgrades.
Closes #4366

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

5 years agoAllow passing GEOMETRYCOLLECTION to GEOS relate functions.
Darafei Praliaskouski [Sun, 7 Apr 2019 06:40:18 +0000 (06:40 +0000)]
Allow passing GEOMETRYCOLLECTION to GEOS relate functions.

Patch by Esteban Zimányi.

Closes #4295
Closes https://github.com/postgis/postgis/pull/386

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

5 years agoTurn off logbt for now. Can't get the setup thing to work
Regina Obe [Tue, 2 Apr 2019 16:17:06 +0000 (16:17 +0000)]
Turn off logbt for now.  Can't get the setup thing to work

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

5 years agoRevert back to old libs got some crashers when trying to flip to 8.1 and newer librar...
Regina Obe [Sun, 31 Mar 2019 22:13:55 +0000 (22:13 +0000)]
Revert back to old libs got some crashers when trying to flip to 8.1 and newer libraries have to sort out first

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

5 years agoIgnore artifact
Paul Ramsey [Fri, 29 Mar 2019 21:19:09 +0000 (21:19 +0000)]
Ignore artifact

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

5 years agoFormatting :/
Paul Ramsey [Fri, 29 Mar 2019 21:18:25 +0000 (21:18 +0000)]
Formatting :/

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

5 years agoFix various misspellings of "geometry"
Raúl Marín Rodríguez [Fri, 29 Mar 2019 15:56:43 +0000 (15:56 +0000)]
Fix various misspellings of "geometry"

Patch by François Bonzon

Closes https://github.com/postgis/postgis/pull/389

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

5 years agoTopology documentation improvements
Raúl Marín Rodríguez [Fri, 29 Mar 2019 15:46:38 +0000 (15:46 +0000)]
Topology documentation improvements

Patch by François Bonzon

Closes https://github.com/postgis/postgis/pull/388

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

5 years agoUpdate NEWS from previous commit
Raúl Marín Rodríguez [Fri, 29 Mar 2019 14:25:45 +0000 (14:25 +0000)]
Update NEWS from previous commit

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

5 years agoFix postgis_type_name with (GEOMETRYM,3)
Raúl Marín Rodríguez [Fri, 29 Mar 2019 14:23:00 +0000 (14:23 +0000)]
Fix postgis_type_name with (GEOMETRYM,3)

Patch by Matt Bretl

Closes https://github.com/postgis/postgis/pull/387
References #4361

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

5 years agoDrop deprecated ST_Distance(geography,geography) signature
Sandro Santilli [Fri, 29 Mar 2019 14:10:23 +0000 (14:10 +0000)]
Drop deprecated ST_Distance(geography,geography) signature

Fixes #4359

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

5 years agoAdd -s switch to check_all_upgrades to stop on first failure
Sandro Santilli [Thu, 28 Mar 2019 16:51:58 +0000 (16:51 +0000)]
Add -s switch to check_all_upgrades to stop on first failure

Also have Dronie use that switch.
Closes #4360

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

5 years agoChange winnie to stop looking for rtpostgis...dll and start looking for new name...
Regina Obe [Thu, 28 Mar 2019 16:36:53 +0000 (16:36 +0000)]
Change winnie to stop looking for rtpostgis...dll and start looking for new name postgis_raster...dll
Poor thing was trying to strip a non-existent file and getting frustrated

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

5 years agoImprove Doc Reference section
Darafei Praliaskouski [Wed, 27 Mar 2019 21:35:38 +0000 (21:35 +0000)]
Improve Doc Reference section

Patch by Martin Davis

Reorganize functions into new sections:

Spatial Reference System Functions
Affine Transformations
Spatial Relationships
Measurement Functions
Clustering Functions

Also various wording improvements.

References #4332
Closes https://github.com/postgis/postgis/pull/385

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

5 years agoDrop renamed function
Raúl Marín Rodríguez [Wed, 27 Mar 2019 15:16:40 +0000 (15:16 +0000)]
Drop renamed function

References #4345

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

5 years agoOnly drop old functions if they exists
Raúl Marín Rodríguez [Tue, 26 Mar 2019 14:00:13 +0000 (14:00 +0000)]
Only drop old functions if they exists

References #4345

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

5 years agoCatch un-defaulted final parameter
Paul Ramsey [Mon, 25 Mar 2019 18:20:10 +0000 (18:20 +0000)]
Catch un-defaulted final parameter
References #4353

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

5 years agoPre-emptively drop functions w/ changed signatures
Paul Ramsey [Mon, 25 Mar 2019 17:39:09 +0000 (17:39 +0000)]
Pre-emptively drop functions w/ changed signatures
References #4345

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

5 years agoMove uthash.h to deps/ folder
Raúl Marín Rodríguez [Fri, 22 Mar 2019 17:04:56 +0000 (17:04 +0000)]
Move uthash.h to deps/ folder

Closes https://trac.osgeo.org/postgis/ticket/4357
Closes https://github.com/postgis/postgis/pull/384

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

5 years agoMVT Geos: Avoid dereferencing a NULL pointer after validation
Raúl Marín Rodríguez [Fri, 22 Mar 2019 11:23:43 +0000 (11:23 +0000)]
MVT Geos: Avoid dereferencing a NULL pointer after validation

References #4348

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

5 years agoRename raster library to postgis_raster-X
Sandro Santilli [Thu, 21 Mar 2019 16:45:18 +0000 (16:45 +0000)]
Rename raster library to postgis_raster-X

Should fix #4355

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

5 years agoST_AsMVTGeom (GEOS): Enforce validation at all times
Raúl Marín Rodríguez [Thu, 21 Mar 2019 12:05:38 +0000 (12:05 +0000)]
ST_AsMVTGeom (GEOS): Enforce validation at all times

References #4348
Closes https://github.com/postgis/postgis/pull/382

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

5 years agodon't bother testing non-logbt if logbt is chosen (would be largely redundant? )
Regina Obe [Wed, 20 Mar 2019 20:07:59 +0000 (20:07 +0000)]
don't bother testing non-logbt if logbt is chosen (would be largely redundant? )
References #4354

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

5 years agoTry to get debbie to use logbt (already installed 2.0.3 on her)
Regina Obe [Wed, 20 Mar 2019 20:03:29 +0000 (20:03 +0000)]
Try to get debbie to use logbt (already installed 2.0.3 on her)
So can troubleshoot #4354

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

5 years agoRaster is not required anymore for extension support (hurra!)
Sandro Santilli [Wed, 20 Mar 2019 16:03:00 +0000 (16:03 +0000)]
Raster is not required anymore for extension support (hurra!)

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

5 years agoDrop unneeded/unused target
Sandro Santilli [Wed, 20 Mar 2019 16:00:28 +0000 (16:00 +0000)]
Drop unneeded/unused target

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

5 years agoImprove Doc Reference section
Darafei Praliaskouski [Tue, 19 Mar 2019 05:29:28 +0000 (05:29 +0000)]
Improve Doc Reference section

Patch by Martin Davis

Improve trajectory function section
Improve Long Transaction reference section
Add doc Reference Bounding Box functions section
Move doc Reference SFCGAL section
Move doc Reference Misc function Find_SRID
Move doc Ref ST_PointInsideCircle function
Move doc Ref ST_MemSize function
Move doc Ref function ST_Accum to Processing functions
Disable doc Ref Misc Functions section

References #4332
Closes https://github.com/postgis/postgis/pull/383

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

5 years agoAvoid installing unneeded raster scripts in contrib dir
Sandro Santilli [Mon, 18 Mar 2019 19:45:51 +0000 (19:45 +0000)]
Avoid installing unneeded raster scripts in contrib dir

Also stop building extension in non-extension things

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

5 years agoStop installing unneeded postgis files in contrib dir
Sandro Santilli [Mon, 18 Mar 2019 19:35:43 +0000 (19:35 +0000)]
Stop installing unneeded postgis files in contrib dir

Also don't build extension-related things in non-extension
related folder

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

5 years agoGive more info about SKIPs
Sandro Santilli [Thu, 14 Mar 2019 18:49:42 +0000 (18:49 +0000)]
Give more info about SKIPs

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

5 years agoDo not be fooled by shell operators on upgrade
Sandro Santilli [Thu, 14 Mar 2019 18:49:29 +0000 (18:49 +0000)]
Do not be fooled by shell operators on upgrade

Fixes #4345 which was introduced with r17297

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

5 years agoRefuse to load PostGIS in an untargeted PostgreSQL version
Sandro Santilli [Wed, 13 Mar 2019 15:10:40 +0000 (15:10 +0000)]
Refuse to load PostGIS in an untargeted PostgreSQL version

Helps user finding out what problems they have when this happens

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

5 years agoEnsure "make check" uses configured PostgreSQL target bins under regress too
Sandro Santilli [Wed, 13 Mar 2019 15:10:30 +0000 (15:10 +0000)]
Ensure "make check" uses configured PostgreSQL target bins under regress too

References #4349

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

5 years agoEnsure "make check" uses configured PostgreSQL target bins
Sandro Santilli [Wed, 13 Mar 2019 07:56:33 +0000 (07:56 +0000)]
Ensure "make check" uses configured PostgreSQL target bins

Closes #4349
Patch by Bruce Rindahl

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

5 years agoDoc layout improvements.
Darafei Praliaskouski [Mon, 11 Mar 2019 19:24:16 +0000 (19:24 +0000)]
Doc layout improvements.

Patch by Martin Davis.

References #4332
Closes https://github.com/postgis/postgis/pull/380

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

5 years agoUse CallerFInfoFunctionCallN infrastructure
Paul Ramsey [Mon, 11 Mar 2019 17:58:07 +0000 (17:58 +0000)]
Use CallerFInfoFunctionCallN infrastructure
Closes #4347

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

5 years agoForce early flushing of postgis_restore.pl output
Sandro Santilli [Sun, 10 Mar 2019 18:51:21 +0000 (18:51 +0000)]
Force early flushing of postgis_restore.pl output

Reduces memory usage when piping output to further processing filter.

Patch by Hugh Ranalli

Closes #4330

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

5 years agoDrop support for stdout in extensions_unpackage.sh
Sandro Santilli [Sun, 10 Mar 2019 18:51:13 +0000 (18:51 +0000)]
Drop support for stdout in extensions_unpackage.sh

There wasn't much point in it, as we need a database name to
produce the script anyway.

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

5 years agoFix syntax and indentation
Sandro Santilli [Sun, 10 Mar 2019 18:51:04 +0000 (18:51 +0000)]
Fix syntax and indentation

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

5 years agoSchema qualify all geometry casts in raster code, otherwise materialized views do...
Regina Obe [Sat, 9 Mar 2019 18:37:56 +0000 (18:37 +0000)]
Schema qualify all geometry casts in raster code, otherwise materialized views do not resture
References #4291 for PostGIS 3.0.0

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

5 years agoChange de_DE to de. de is the one that is active
Regina Obe [Sat, 9 Mar 2019 06:32:08 +0000 (06:32 +0000)]
Change de_DE to de.  de is the one that is active
Closes #3848 for PostGIS 3.0.0

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

5 years agoCost a few more opreators
Paul Ramsey [Fri, 8 Mar 2019 23:35:12 +0000 (23:35 +0000)]
Cost a few more opreators

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

5 years agoDrop pre-existing db when running without any special mode flags on database handling
Paul Ramsey [Fri, 8 Mar 2019 23:18:45 +0000 (23:18 +0000)]
Drop pre-existing db when running without any special mode flags on database handling

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

5 years agoBack out dropdb, doesn't really work in that location
Paul Ramsey [Fri, 8 Mar 2019 21:51:47 +0000 (21:51 +0000)]
Back out dropdb, doesn't really work in that location

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