112 Commits

Author SHA256 Message Date
86fce43c91 Accepting request 1246441 from Application:Geo
OBS-URL: https://build.opensuse.org/request/show/1246441
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgis?expand=0&rev=11
2025-02-17 19:57:51 +00:00
357b65afb6 Accepting request 1245889 from home:rmax:branches:Application:Geo
- Drop support for postgresql12 which is EOL.

OBS-URL: https://build.opensuse.org/request/show/1245889
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/postgis?expand=0&rev=111
2025-02-17 13:52:30 +00:00
c1d4c9c496 Accepting request 1204097 from Application:Geo
OBS-URL: https://build.opensuse.org/request/show/1204097
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgis?expand=0&rev=10
2024-09-27 15:11:38 +00:00
700b806109 Accepting request 1203978 from home:bruno_friedmann:branches:Application:Geo
- upgrade to version 3.5.0
  see full release note especially breaking changes
  https://git.osgeo.org/gitea/postgis/postgis/raw/tag/3.5.0/NEWS
- packaging:
  + set minimal geos version to 3.8

OBS-URL: https://build.opensuse.org/request/show/1203978
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/postgis?expand=0&rev=109
2024-09-27 08:34:34 +00:00
bdab00b340 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/postgis?expand=0&rev=108 2024-09-25 11:07:04 +00:00
bcd191601a OBS-URL: https://build.opensuse.org/package/show/Application:Geo/postgis?expand=0&rev=107 2024-09-25 11:06:28 +00:00
7fd679dd21 Accepting request 1202004 from Application:Geo
OBS-URL: https://build.opensuse.org/request/show/1202004
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgis?expand=0&rev=9
2024-09-19 19:18:02 +00:00
803f6e2893 - upgrade to version 3.4.3
See full changelog since 3.4.2
  https://git.osgeo.org/gitea/postgis/postgis/raw/tag/3.4.3/NEWS

OBS-URL: https://build.opensuse.org/package/show/Application:Geo/postgis?expand=0&rev=105
2024-09-19 13:08:33 +00:00
229ff6b2a8 Accepting request 1166494 from Application:Geo
- fix man file names installation problem of last update
- upgrade to version 3.4.2
  See full changelog since 3.4.1
  https://git.osgeo.org/gitea/postgis/postgis/raw/tag/3.4.2/NEWS
- add support postgresql16, drop postgresql11 no more supported.
- adapt binaries distribution to place them in pg bin directory,
  with alternatives support
- refresh dependencies version
- drop patch-tests-results.patch

OBS-URL: https://build.opensuse.org/request/show/1166494
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgis?expand=0&rev=8
2024-04-10 15:49:12 +00:00
6ae10f8a83 fix man file names installation problem of last update
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/postgis?expand=0&rev=103
2024-04-09 16:57:00 +00:00
fd8e2940ab fix man file names installation problem of last update
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/postgis?expand=0&rev=102
2024-04-09 16:56:47 +00:00
58d85420ac OBS-URL: https://build.opensuse.org/package/show/Application:Geo/postgis?expand=0&rev=101 2024-03-25 16:51:49 +00:00
96174c18c2 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/postgis?expand=0&rev=100 2024-03-21 20:01:51 +00:00
e9aa8b4a1a OBS-URL: https://build.opensuse.org/package/show/Application:Geo/postgis?expand=0&rev=99 2024-03-21 20:00:30 +00:00
dc02f34c3f Accepting request 1160099 from home:bruno_friedmann:branches:Application:Geo
- upgrade to version 3.4.2
  See full changelog since 3.4.1
  https://git.osgeo.org/gitea/postgis/postgis/raw/tag/3.4.2/NEWS
- add support postgresql16, drop postgresql11 no more supported.
- adapt binaries distribution to place them in pg bin directory,
  with alternatives support
- refresh dependencies version

OBS-URL: https://build.opensuse.org/request/show/1160099
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/postgis?expand=0&rev=98
2024-03-21 13:51:06 +00:00
4a56e4ec66 Accepting request 1153764 from Application:Geo
- Add BuildRequire proj-devel instead of legacy name libproj-devel.
- Use %autosetup macro. Allows to eliminate the usage of deprecated
  %patchN.

OBS-URL: https://build.opensuse.org/request/show/1153764
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgis?expand=0&rev=7
2024-03-01 22:36:13 +00:00
68e5ed713d Accepting request 1153611 from home:dimstar:Factory
- Add BuildRequire proj-devel instead of legacy name libproj-devel.

OBS-URL: https://build.opensuse.org/request/show/1153611
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/postgis?expand=0&rev=96
2024-03-01 08:10:00 +00:00
c87eecb30f Accepting request 1153404 from home:dimstar:rpm4.20:p
Prepare for RPM 4.20

OBS-URL: https://build.opensuse.org/request/show/1153404
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/postgis?expand=0&rev=95
2024-02-29 20:26:30 +00:00
fbeee49d8b Accepting request 1103214 from Application:Geo
- update to 3.3.4
  * Bug Fixes and Enhancements *
  - #5450, Fix macro expansion recursion on powerpc architectures.
           (Bas Couwenberg)
  - #5395, [postgis_topology] Allow unprivileged user dump
           of database with topology enabled
  - #5394, [postgis_topology] Improve robustness of finding
           distinct vertices in topology edges (Sandro Santilli)
  - #5403, [postgis_topology] Fix ValidateTopology(bbox) without
           topology in search_path (Sandro Santilli)
  - #5410, [postgis_raster] ST_Value bilinear resample,
           don't throw an error if Band has no NODATA value
           (Regina Obe)
  - #5385, Postgres malloc assertion fail when
           using pg_cancel_backend with ST_AsMVT
           (Regina Obe, Paul Ramsey)
  - #5452, Updated README.postgis for apt-based systems
           (Jelte Fennema)
  * Breaking Changes *
    - #5385, Take out interruptability of ST_AsMVT
             as it causes backend crash under intense conditions
            (Regina Obe, Paul Ramsey)
  PostGIS 3.3.3
  * Bug Fixes and Enhancements *
  - #5303, Don't try removing closed edges endpoint from
           RemoveUnusedPrimitives (Sandro Santilli)
  - #5289, Fix misleading message in RemoveUnusedPrimitives about
           doubly connected edges healing (Sandro Santilli)
  - #5298, Fix CopyTopology exception with hierarchical layers (Sandro Santilli)
  - #5299, Corrections to address_standardizer_data_us lex (Regina Obe)
  - #5332, Keep proj errors from percolating into PgSQL log (Paul Ramsey)
 This is a higher version upgrade, see
 https://git.osgeo.org/gitea/postgis/postgis/raw/tag/3.3.4/NEWS
 for the full log since 3.2 release.

OBS-URL: https://build.opensuse.org/request/show/1103214
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgis?expand=0&rev=6
2023-08-10 13:33:29 +00:00
d067c6f6d2 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/postgis?expand=0&rev=93 2023-08-09 17:36:49 +00:00
95959d1621 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/postgis?expand=0&rev=92 2023-08-09 17:36:26 +00:00
26913357eb OBS-URL: https://build.opensuse.org/package/show/Application:Geo/postgis?expand=0&rev=91 2023-08-08 13:48:53 +00:00
a69dc47ecd Accepting request 1102089 from home:bmwiedemann:branches:Application:Geo
I updated main_version to 3.3 and sfcgal-devel >= 1.4.1

We already had
BuildRequires:  libgeos-devel >= 3.7.0
BuildRequires:  libproj-devel >= 6.0.0

That should be sufficient to link new enough versions and require them at runtime via rpm's magic.

For the changelog, I already had to drop > 50% of 3.3.3 entries, because they were identical to 3.2.5's, so I did not want to go further down the history. Feel free to adapt it to your liking.

- update to 3.3.4
  * Bug Fixes and Enhancements *
  - #5450, Fix macro expansion recursion on powerpc architectures.
           (Bas Couwenberg)
  - #5395, [postgis_topology] Allow unprivileged user dump
           of database with topology enabled
  - #5394, [postgis_topology] Improve robustness of finding
           distinct vertices in topology edges (Sandro Santilli)
  - #5403, [postgis_topology] Fix ValidateTopology(bbox) without
           topology in search_path (Sandro Santilli)
  - #5410, [postgis_raster] ST_Value bilinear resample,
           don't throw an error if Band has no NODATA value
           (Regina Obe)
  - #5385, Postgres malloc assertion fail when
           using pg_cancel_backend with ST_AsMVT
           (Regina Obe, Paul Ramsey)
  - #5452, Updated README.postgis for apt-based systems
           (Jelte Fennema)
  * Breaking Changes *
    - #5385, Take out interruptability of ST_AsMVT
             as it causes backend crash under intense conditions
            (Regina Obe, Paul Ramsey)
  PostGIS 3.3.3
  * Bug Fixes and Enhancements *
  - #5303, Don't try removing closed edges endpoint from
           RemoveUnusedPrimitives (Sandro Santilli)
  - #5289, Fix misleading message in RemoveUnusedPrimitives about
           doubly connected edges healing (Sandro Santilli)
  - #5298, Fix CopyTopology exception with hierarchical layers (Sandro Santilli)
  - #5299, Corrections to address_standardizer_data_us lex (Regina Obe)

OBS-URL: https://build.opensuse.org/request/show/1102089
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/postgis?expand=0&rev=90
2023-08-08 13:46:47 +00:00
59f2cb59ec libprotobuf-c conflicts with libprotobuf-c-devel
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/postgis?expand=0&rev=89
2023-08-08 13:24:35 +00:00
90317a6c10 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/postgis?expand=0&rev=88 2023-08-08 12:58:07 +00:00
7ea60b9143 Accepting request 1100862 from Application:Geo
- update to 3.2.5: Bug Fixes
  - #5384, Fix crash in ST_AsGML when given id is longer than given prefix
           (Sandro Santilli)
  - #5380, Fix 2.5 upgrades with views using geography based ST_Distance
           (Sandro Santilli)
  - #5106, Fix segfault in ST_RemEdgeNewFace/ST_RemEdgeModFace
           when no edge side-faces are found (Sandro Santilli)
  - #5313, Fix memory access issue in ST_InterpolateRaster (Paul Ramsey)
  - #5338, Dump/Restore of raster table fails on
           enforce_coverage_tile_rast constraint (Regina Obe)
  - #5315, #5318, #5319, #5320, #5342 crashes on infinite coordinates
          (Regina Obe, Paul Ramsey)
  - #5344, Include topology id sequence state in dumps (Sandro Santilli)
  - #5288, ST_LineCrossingDirection multi-cross error (Paul Ramsey)
  - #5347, _ST_BestSRID crashes on ARM with infinite geometries (Regina Obe)
  - #5363, Make ST_ClusterDBScan interruptable (Paul Ramsey)
  - #5378, ST_Buffer(geography) drops SRID (Paul Ramsey)
  - #5331, [postgis_tiger_geocoder] reverse_geocode, prefer addressable ranges
           (Regina Obe, Locance)

OBS-URL: https://build.opensuse.org/request/show/1100862
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgis?expand=0&rev=5
2023-07-27 14:51:44 +00:00
956c1be8bc update to 3.2.5
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/postgis?expand=0&rev=86
2023-07-26 13:24:31 +00:00
602bad355c Accepting request 1039197 from Application:Geo
OBS-URL: https://build.opensuse.org/request/show/1039197
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgis?expand=0&rev=4
2022-12-01 15:59:03 +00:00
257314969d Accepting request 1038271 from home:bruno_friedmann:branches:Application:Geo
- Update to PostGIS 3.2.4 (boo#1205734)
  * [security] Add schema qual to upgrade util
  * [security] Check function ownership at extension packaging time
  * Fix ST_DumpPoints and ST_DumpSegments crash with empty polygon
  * Remove forced static linking on shp2pgsql, pgsql2shp, raster2pgsql
  * Fix crash on ST_SnapToGrid with empty multis
  * Fix error in topology import of self-intersecting rings
  * Fix 2.5d topology building regression
  * Handle load of dbase character fields with no width specified
  * Fix bad rasterization of linestring
- includes changes from PostGIS 3.2.3:
  * Parallelism safety fixes for to_jsonb, ST_AsGeoJSON, ST_AsGML
  * Guard against downgrades
  * Fix upgrades with CVE-2022-2625 PostgreSQL fix
  * Correctly read extent off multi-key GIST indexes
  * Reset proj error state after failed parse
  * Short circuit geodesic distance when inputs equal
  * Fix potential buffer overflow in long transaction locks
- Add postgresql15 to multibuild and remove postgresql10

All the update credits goes to Andreas Stieger.
Thank you Andreas.

OBS-URL: https://build.opensuse.org/request/show/1038271
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/postgis?expand=0&rev=84
2022-11-30 20:59:23 +00:00
bfe599864f Accepting request 993630 from Application:Geo
OBS-URL: https://build.opensuse.org/request/show/993630
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgis?expand=0&rev=3
2022-08-08 06:45:10 +00:00
9a415b997c Accepting request 992587 from home:bruno_friedmann:branches:Application:Geo
- Update to bugfix version 3.2.2
  - #5182, Fix loading topology.sql in new database
  - #4835, Occasional distance errors in polar area
  - #5124, GRANT USAGE on topology schema to PUBLIC
  - #5120, Fix not-null result from ST_EstimatedExtent against
           truncated tables with spatial index 
  - #5115, Allow dropping topologies with pending constraints
  - #5105, Fix false invalidity report from ValidateTopology
  - #5039, postgis_tiger_geocoder: Support for TIGER 2021 (Regina Obe)
  - #5097, Ensure spatial index is used during topology population
           at the getClosestEdge step
  - #5091, Fix --without-protobuf builds
  - #5100, Don't use pg_atoi (removed in PG15)
  - #5114, Crash with long column names pgsql2shp
  - #5123, Support for PG15 (JSON funcs exposed)
  - #5125, Fix search path function
  - #5150, Change signature of AddToSearchPath
  - #5151, ST_SetPoint with empty geometries
  - #5152, Fix infinite loop with ST_Split
  - #5173, Crash creating flatgeobuf on row without geometry
  - #4541, ST_ConcaveHull returns a "geometrycollection" type
           instead of the expected "polygon"
  - #5154, raster ST_Value is undercosted
- Disable sfcgal for ix86 arch (sfcgal can't be build for those)
  Please try to uninstall sfcgal before doing extension upgrade.

OBS-URL: https://build.opensuse.org/request/show/992587
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/postgis?expand=0&rev=82
2022-08-07 19:07:10 +00:00
0fcd9d7bbe Accepting request 985570 from Application:Geo
OBS-URL: https://build.opensuse.org/request/show/985570
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgis?expand=0&rev=2
2022-06-29 14:01:17 +00:00
7bdbfee773 Accepting request 985563 from home:darix:branches:Application:Geo
- no longer pull clang-devel and llvm-devel directory the correct
  version will be pulled via %{pg_name}-llvmjit-devel

OBS-URL: https://build.opensuse.org/request/show/985563
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/postgis?expand=0&rev=80
2022-06-28 11:48:24 +00:00
9193ff4d23 Accepting request 961846 from Application:Geo
Please find the postgis package which is well maintained by upstream, as contributor here in obs, and is much desired by end-user.

I welcome any suggestion of improvement of this beast ;-)

OBS-URL: https://build.opensuse.org/request/show/961846
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgis?expand=0&rev=1
2022-03-15 18:04:52 +00:00
b23053f1fc Accepting request 961840 from home:Guillaume_G:branches:Application:Geo
- Fix Name in spec when %{pgname} is not defined

OBS-URL: https://build.opensuse.org/request/show/961840
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/postgis?expand=0&rev=78
2022-03-15 10:46:45 +00:00
dc91376b26 Accepting request 957575 from home:bruno_friedmann:branches:Application:Geo
- Update to bugfix release version 3.2.1
  - #5033, #5035, allow upgrades in presence of views using deprecated
           functions
  - #5046, Fix upgrades in absence of old library
  - #5063, Fix ST_Srid(TopoGeometry) against a set
  - #3056, spurious notice on ST_StartPoint(empty)
  - #5041, postgis_tiger_geocoder: loader_generate_script
           generates script with invalid syntax
  - #5076, stop install when pgaudit is active
  - #5069, search_path vulnerabilty during install/upgrade
  - #5090, #5091 configure --with-protobuf-lib / --with-protobufdir
           , --without-protobuf broken
- Packaging
  - Add upstream -md5 source1
  - Last review for submiting to Factory

OBS-URL: https://build.opensuse.org/request/show/957575
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/postgis?expand=0&rev=77
2022-03-03 14:01:11 +00:00
b2bb5b7a9b Accepting request 944684 from home:bruno_friedmann:branches:Application:Geo
- Update to version 3.2.0 "Olivier Courtin Edition"
  Please consult carefully the changelog
  https://git.osgeo.org/gitea/postgis/postgis/raw/tag/3.2.0/NEWS
- Packaging
  + Renew spec file with new postgresql macros
  + Retry test if failed as they success often on 2nd pass
  + Add postgresql14 to multibuild
  + Spec cleaner with copyright date update
  + Remove postgis-rpmlintrc due to last unused filter
    E: unused-rpmlintrc-filter "W: shared-lib-calls-exit *"
  + Added provides conflit address_standardizer

Until Leap receive postgresql update for the macro, the
Leap build will not be possible.

OBS-URL: https://build.opensuse.org/request/show/944684
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/postgis?expand=0&rev=76
2022-01-25 16:22:13 +00:00
d9d4b76865 Accepting request 919280 from home:bruno_friedmann:branches:Application:Geo
- Update to version 3.1.4 bugfix release
  - #4782, Have postgis_restore.pl use backup postgis schema by
           default
  - #4854, Fix type of TopoGeometry receiving different-type
           TopoGeometry components
  - #4918, Fix rare crash in st_minpossiblevalue
  - #4941, Fix loose mbr in topology.face on update
  - #4949, Swapped coordinates for N/E planar systems
  - GI617, Fix typo in setting of INVMINDIST
  - #4326, Fix CircularPolygon area calculation
  - #4917, Fix crasher with '-' regclass
  - #4919, Rare crash in selectivity calculation
  - #4926, Preserve SRID on unions of empty geometry
  - #4910, Allow repeated points in GML input poslists
  - #4958, TIGER2020 fix faces and add Tabblock20
  - #4959, Drop Colorado state files also drops national county tables
  - #4916, #4770, #4724, #4916, Crashes in aggregate functions
  - #4982, Problem when calling the buffer function from MobilityDB
- Packaging:
  - Fix build llvm by adding BuildRequires

OBS-URL: https://build.opensuse.org/request/show/919280
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/postgis?expand=0&rev=75
2021-09-16 05:54:08 +00:00
24d07d915d Accepting request 906697 from home:bruno_friedmann:branches:Application:Geo
- Update to version 3.1.3 bugfix release
  - #4929, Fix missing error from GetRingEdges when invoked with
           unexistent topology or edge
  - #4927, Fix PostgreSQL 14 compile FuncnameGetCandidates changes
- Update to version 3.1.2 bugfix release
  - #4871 TopoGeometry::geometry cast returns NULL for empty
           TopoGeometry objects
  - #4826 postgis_tiger_geocoder Better answers when no zip
           is provided
  - #4817 handle more complex compound coordinate dystems
  - #4842 Only do axis flips on CRS that have a "Lat" as the
           first column
  - Support recent Proj versions that have removed pj_get_release
  - #4835 Adjust tolerance for geodetic calculations
  - #4840 Improper conversion of negative geographic azimuth to
           positive
  - #4853 DBSCAN cluster not formed when recordset length equal
           to minPoints
  - #4863 Update bboxes after scale/affine coordinate changes
  - #4876 Fix raster issues related to PostgreSQL 14 tablefunc
           changes
  - #4838 Update to support Tiger 2020
  - #4890 Change Proj cache lifetime to last as long as connection
  - #4845 Add Pg14 build support
- Packaging
  - Force Require for proj so proj.db is present and all ST_
    functions will work boo#1188129
  - Activate tests for pg10+
  - Add patch-tests-results.patch to fix results on openSUSE
  - Remove libname package and description as not used
  - Remove references and build for obsolete versions
  - Suppress build for now obsolete postgresql96
- Packaging add install-updates for utils package

old: Application:Geo/postgis
new: home:bruno_friedmann:branches:Application:Geo/postgis rev None
Index: _multibuild
===================================================================
--- _multibuild (revision 73)
+++ _multibuild (revision 11)
@@ -1,5 +1,4 @@
 <multibuild>
-  <package>postgresql96</package>
   <package>postgresql10</package>
   <package>postgresql11</package>
   <package>postgresql12</package>
Index: postgis.changes
===================================================================
--- postgis.changes (revision 73)
+++ postgis.changes (revision 11)
@@ -1,13 +1,50 @@
 -------------------------------------------------------------------
+Tue Jul 13 17:45:14 UTC 2021 - Bruno Friedmann <bruno@ioda-net.ch>
+
+- Update to version 3.1.3 bugfix release
+  - #4929, Fix missing error from GetRingEdges when invoked with
+           unexistent topology or edge
+  - #4927, Fix PostgreSQL 14 compile FuncnameGetCandidates changes
+- Update to version 3.1.2 bugfix release
+  - #4871 TopoGeometry::geometry cast returns NULL for empty
+           TopoGeometry objects
+  - #4826 postgis_tiger_geocoder Better answers when no zip
+           is provided
+  - #4817 handle more complex compound coordinate dystems
+  - #4842 Only do axis flips on CRS that have a "Lat" as the
+           first column
+  - Support recent Proj versions that have removed pj_get_release
+  - #4835 Adjust tolerance for geodetic calculations
+  - #4840 Improper conversion of negative geographic azimuth to
+           positive
+  - #4853 DBSCAN cluster not formed when recordset length equal
+           to minPoints
+  - #4863 Update bboxes after scale/affine coordinate changes
+  - #4876 Fix raster issues related to PostgreSQL 14 tablefunc
+           changes
+  - #4877 mingw64 PostGIS / PostgreSQL 14 compile
+  - #4838 Update to support Tiger 2020
+  - #4890 Change Proj cache lifetime to last as long as connection
+  - #4845 Add Pg14 build support
+- Packaging
+  - Force Require for proj so proj.db is present and all ST_
+    functions will work boo#1188129
+  - Activate tests for pg10+
+  - Add patch-tests-results.patch to fix results on openSUSE
+  - Remove libname package and description as not used
+  - Remove references and build for obsolete versions
+  - Suppress build for now obsolete postgresql96
+
+-------------------------------------------------------------------
 Mon Mar 22 15:52:32 UTC 2021 - Bruno Friedmann <bruno@ioda-net.ch>
 
 - Remove specific flag --without-library-minor-version as it
-  activate also the minor version. 
+  activate also the minor version.
 
 -------------------------------------------------------------------
 Thu Mar 18 12:55:17 UTC 2021 - Bruno Friedmann <bruno@ioda-net.ch>
 
-- Packaging add install-updates for utils package 
+- Packaging add install-updates for utils package
 
 -------------------------------------------------------------------
 Tue Mar 16 10:21:30 UTC 2021 - Bruno Friedmann <bruno@ioda-net.ch>
Index: postgis.spec
===================================================================
--- postgis.spec (revision 73)
+++ postgis.spec (revision 11)
@@ -28,8 +28,6 @@
 # double \ as they are escaped in %%() call
 %define         pg_version %(pg_config --version | sed -e 's/.*[[:space:]]//' -e 's/\\.[0-9]*$//' -e 's/\\.//')
 %define         main_version 3.1
-%define         main_preversion 2.5
-%define         previous_version 2.5.5
 %if "%{pgname}" == ""
 Name:           %{sname}
 ExclusiveArch:  do_not_build
@@ -40,32 +38,24 @@
 %if (0%{?is_opensuse} && 0%{?sle_version} == 150200) && ("%{pgname}" == "postgresql13")
 ExclusiveArch:  do_not_build
 %endif
-# Build for Leap 15.2 but not for 15.1
-%if (0%{?is_opensuse} && 0%{?sle_version} == 150100) && ("%{pgname}" == "postgresql11" || "%{pgname}" == "postgresql12" || "%{pgname}" == "postgresql13")
-ExclusiveArch:  do_not_build
-%endif
-%if 0%{?suse_version} < 1315 && "%{pgname}" == "postgresql10"
-ExclusiveArch:  do_not_build
-%endif
-Version:        3.1.1
+Version:        3.1.3
 Release:        0
 Summary:        Geographic Information Systems Extensions to PostgreSQL
 License:        GPL-2.0-or-later
 Group:          Productivity/Databases/Servers
 URL:            https://postgis.net/
 Source:         https://download.osgeo.org/postgis/source/%{sname}-%{version}.tar.gz
-Source2:        https://download.osgeo.org/postgis/source/%{sname}-%{previous_version}.tar.gz
-BuildRequires:  %{pgname}-devel >= 9.6
+Patch0:         patch-tests-results.patch
+BuildRequires:  %{pgname}-devel >= 10
 %if "%{pgname}" == "postgresql11" || "%{pgname}" == "postgresql12" || "%{pgname}" == "postgresql13"
-BuildRequires:  %{pgname}-server-devel >= 9.6
+BuildRequires:  %{pgname}-server-devel >= 11
 %endif
-BuildRequires:  %{pgname}-server >= 9.6
+BuildRequires:  %{pgname}-server >= 10
 %if %{with llvm}
 BuildRequires:  %{pgname}-llvmjit
 %endif
 BuildRequires:  cgal-devel
-#Future test implementation
-#BuildRequires:  cunit-devel
+BuildRequires:  cunit-devel
 BuildRequires:  fdupes
 BuildRequires:  flex
 BuildRequires:  gcc-c++
@@ -79,11 +69,20 @@
 BuildRequires:  libgeos-devel >= 3.7.0
 BuildRequires:  libjson-c-devel
 BuildRequires:  libproj-devel >= 6.0.0
+# proj.db is required for ST_ functions and tests boo#1188129
+BuildRequires:  proj
 BuildRequires:  libxml2-devel
+BuildRequires:  docbook-xsl-stylesheets
+BuildRequires:  libxml2-tools
+# building doc but would add 350 texlive packages
+# BuildRequires:  dblatex
+# BuildRequires:  ImageMagick
 BuildRequires:  protobuf-c >= 1.1.0
 BuildRequires:  sfcgal-devel > 1.3.1
 BuildRequires:  update-alternatives
 %requires_eq    %{pgname}-server
+# proj.db is required for ST_ functions and tests boo#1188129
+Requires:       proj
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
 Conflicts:      postgis2
@@ -104,13 +103,6 @@
 %description utils
 The postgis-utils package provides utilities for PostGIS.
 
-%package -n %{libname}
-Summary:        LWGEOM geometry shared library
-Group:          System/Libraries
-
-%description -n %{libname}
-PostGIS "Lightweight Geometry" library
-
 %if %{with llvm}
 %package llvmjit
 Summary:        Just-in-time compilation support for PostgreSQL %{sname} extension
@@ -129,9 +121,7 @@
 %prep
 %setup -q -n %{sname}-%{version}
 echo "pg_version is %{pg_version}"
-#Prepare older version
-tar zxf %{SOURCE2}
-
+%patch0 -p1
 
 %build
 %configure \
@@ -144,6 +134,7 @@
     --disable-rpath \
     --with-wagyu \
     --disable-gtktest \
+    --with-interrupt-tests \
     --with-raster-dblwarning
 
 %make_build soname="%{sname}-%{main_version}.so"
@@ -170,24 +161,22 @@
 
 %fdupes %{buildroot}/%{pg_share}
 
-echo " --- Building Previous Version --- "
-# Credits hack to http://git.pgrpms.org/browser/rpm/redhat/9.3/postgis2/F-20/postgis2.spec
-# This is the way upstream and all yum packages are builded.
-# PostGIS 2x breaks compatibility with previous version, and we need to ship the preversion
-# so files along with new one in packages, so that we can upgrade:
-# with "ALTER EXTENSION postgis UPDATE TO '%%{version}';"
-# It also benefit to all admins that can't immediately upgrade their extensions to
-# backup and restore old dumps.
-# Notice we don't ship anymore the older (previous-1) version.
-
-pushd %{sname}-%{previous_version}
-%configure --with-raster --with-protobuf --with-json --without-wagyu --without-topology --without-gui --disable-rpath --without-phony-revision --with-library-minor-version
-make V=1 -j1 shlib="%{sname}-%{main_preversion}.so" soname="%{sname}-%{main_preversion}.so"
-
-install -m 644 ./postgis/%{sname}-%{main_preversion}.so %{buildroot}%{pg_libdir}/%{sname}-%{main_preversion}.so
-install -m 644 ./raster/rt_pg/%{sname}-%{main_preversion}.so %{buildroot}%{pg_libdir}/rt%{sname}-%{main_preversion}.so
-popd
-echo " --- End Building Previous Version --- "
+# To avoid shm trouble we just skip tests for 9.6
+%if "%{pgname}" != "postgresql96"
+%check
+export LANG=en_US.UTF-8
+export LC_ALL=en_US.UTF-8
+export PGDATA=/home/abuild/postgis_tests/data
+export PGHOST=/tmp
+export PGPORT=5454
+mkdir -p "${PGDATA}"
+initdb --pgdata=${PGDATA} --auth=peer --auth-host=scram-sha-256 --auth-local=peer --encoding=UTF-8 --locale=en_US.UTF-8 --lc-message=en_US.UTF-8
+pg_ctl -D "${PGDATA}" -l logfile -o "-p ${PGPORT} -k ${PGHOST} -B 1024" start
+psql -d postgres -c "\dx"
+# Don't fail test yet, we have a different result for mvt between Leap and TW
+make check || :
+pg_ctl -D "${PGDATA}" --mode="fast" stop
+%endif
 
 %postun
 %{_datadir}/postgresql/install-alternatives %pg_version
@@ -201,10 +190,6 @@
 %post utils
 %{_datadir}/postgresql/install-alternatives %pg_version
 
-%post -n %{libname} -p /sbin/ldconfig
-
-%postun -n %{libname} -p /sbin/ldconfig
-
 %files
 %defattr(-,root,root)
 %license COPYING
Index: patch-tests-results.patch
===================================================================
--- patch-tests-results.patch (added)
+++ patch-tests-results.patch (revision 11)
@@ -0,0 +1,733 @@
+diff -rup a/raster/test/regress/rt_addband_expected b/raster/test/regress/rt_addband_expected
+--- a/raster/test/regress/rt_addband_expected	2021-05-22 01:05:03.000000000 +0200
++++ b/raster/test/regress/rt_addband_expected	2021-06-08 18:01:29.380875909 +0200
+@@ -1,75 +1,124 @@
++NOTICE:  Value set for 1BB band got clamped from -1.000000 to 0
+ 0
+ 0
+ 1
++NOTICE:  Value set for 1BB band got clamped from 2.000000 to 1
+ 1
++NOTICE:  Value set for 1BB band got clamped from 21.460000 to 1
+ 1
++NOTICE:  Value set for 2BUI band got clamped from -1.000000 to 0
+ 0
+ 0
+ 3
++NOTICE:  Value set for 2BUI band got clamped from 4.000000 to 3
+ 3
++NOTICE:  Value set for 2BUI band got clamped from 21.460000 to 3
+ 3
++NOTICE:  Value set for 4BUI band got clamped from -1.000000 to 0
+ 0
+ 0
+ 15
++NOTICE:  Value set for 4BUI band got clamped from 16.000000 to 15
+ 15
++NOTICE:  Value set for 4BUI band got clamped from 21.460000 to 15
+ 15
++NOTICE:  Value set for 8BSI band got clamped from -129.000000 to -128
+ -128
+ -128
+ 0
+ 127
++NOTICE:  Value set for 8BSI band got clamped from 128.000000 to 127
+ 127
++NOTICE:  Value set for 8BSI band got truncated from 21.460000 to 21
+ 21
++NOTICE:  Value set for 8BSI band got clamped from 210.460000 to 127
+ 127
++NOTICE:  Value set for 8BUI band got clamped from -1.000000 to 0
+ 0
+ 0
+ 255
++NOTICE:  Value set for 8BUI band got clamped from 256.000000 to 255
+ 255
++NOTICE:  Value set for 8BUI band got truncated from 21.460000 to 21
+ 21
++NOTICE:  Value set for 8BUI band got clamped from 410.460000 to 255
+ 255
++NOTICE:  Value set for 8BUI band got truncated from 256.000000 to 255
+ 255
++NOTICE:  Value set for 16BSI band got clamped from -32769.000000 to -32768
+ -32768
+ -32768
+ 0
+ 32767
++NOTICE:  Value set for 16BSI band got clamped from 32768.000000 to 32767
+ 32767
++NOTICE:  Value set for 16BSI band got truncated from 21.460000 to 21
+ 21
++NOTICE:  Value set for 16BSI band got clamped from 210000.460000 to 32767
+ 32767
++NOTICE:  Value set for 16BUI band got clamped from -1.000000 to 0
+ 0
+ 0
+ 65535
++NOTICE:  Value set for 16BUI band got clamped from 65537.000000 to 65535
+ 65535
++NOTICE:  Value set for 16BUI band got truncated from 21.460000 to 21
+ 21
++NOTICE:  Value set for 16BUI band got clamped from 210000.464564 to 65535
+ 65535
++NOTICE:  Value set for 32BSI band got clamped from -2147483649.000000 to -2147483648
+ -2147483648
+ -2147483648
+ 0
+ 2147483647
++NOTICE:  Value set for 32BSI band got clamped from 2147483648.000000 to 2147483647
+ 2147483647
++NOTICE:  Value set for 32BSI band got truncated from 21.460000 to 21
+ 21
++NOTICE:  Value set for 32BSI band got truncated from 210000.464564 to 210000
+ 210000
++NOTICE:  Value set for 32BUI band got clamped from -1.000000 to 0
+ 0
+ 0
+ 4294967295
++NOTICE:  Value set for 32BUI band got clamped from 4294967296.000000 to 4294967295
+ 4294967295
++NOTICE:  Value set for 32BUI band got clamped from 214294967296.000000 to 4294967295
+ 4294967295
++NOTICE:  Value set for 32BUI band got truncated from 21.460000 to 21
+ 21
++NOTICE:  Value set for 32BUI band got clamped from 4294967296.000000 to 4294967295
+ 4294967295
+ 0
++NOTICE:  Value set for 32BF band got converted from 4294967000.000000 to 4294967040.000000
+ 4294967040
++NOTICE:  Value set for 32BF band got converted from 4294967000.000000 to 4294967040.000000
+ 4.29497e+9
++NOTICE:  Value set for 32BF band got converted from 4294967295.000000 to 4294967296.000000
+ 4294967296
++NOTICE:  Value set for 32BF band got converted from 4294967295.000000 to 4294967296.000000
+ 4.29497e+9
+ 4294967296
+ 4.29497e+9
++NOTICE:  Value set for 32BF band got converted from 21.460000 to 21.459999
+ 21.4599990844727
++NOTICE:  Value set for 32BF band got converted from 21.460000 to 21.459999
+ 21.46
++NOTICE:  Value set for 32BF band got converted from 21003.100000 to 21003.099609
+ 21003.099609375
++NOTICE:  Value set for 32BF band got converted from 21003.100000 to 21003.099609
+ 21003.1
++NOTICE:  Value set for 32BF band got converted from 123.456000 to 123.456001
+ 123.456001281738
++NOTICE:  Value set for 32BF band got converted from 123.456000 to 123.456001
+ 123.456
++NOTICE:  Value set for 32BF band got converted from 1234.567000 to 1234.567017
+ 1234.56701660156
++NOTICE:  Value set for 32BF band got converted from 1234.567000 to 1234.567017
+ 1234.57
++NOTICE:  Value set for 32BF band got converted from 210000.464564 to 210000.468750
+ 210000.46875
++NOTICE:  Value set for 32BF band got converted from 210000.464564 to 210000.468750
+ 210000
+ -1
+ 0
+diff -rup a/raster/test/regress/rt_asjpeg_expected b/raster/test/regress/rt_asjpeg_expected
+--- a/raster/test/regress/rt_asjpeg_expected	2021-05-22 01:05:03.000000000 +0200
++++ b/raster/test/regress/rt_asjpeg_expected	2021-06-08 18:03:34.997753866 +0200
+@@ -7,4 +7,5 @@ ERROR:  The pixel type of band 1 in the
+ ERROR:  The pixel type of band 1 in the raster is not 8BUI.  The JPEG format can only be used with the 8BUI pixel type.
+ NOTICE:  The JPEG format only permits one or three bands.  The first band will be used.
+ ERROR:  The pixel type of band 1 in the raster is not 8BUI.  The JPEG format can only be used with the 8BUI pixel type.
++NOTICE:  Value set for 8BUI band got clamped from -1.000000 to 0
+ 1
+diff -rup a/raster/test/regress/rt_mapalgebraexpr_expected b/raster/test/regress/rt_mapalgebraexpr_expected
+--- a/raster/test/regress/rt_mapalgebraexpr_expected	2021-05-22 01:05:03.000000000 +0200
++++ b/raster/test/regress/rt_mapalgebraexpr_expected	2021-06-08 18:04:54.842311899 +0200
+@@ -8,8 +8,210 @@ T3||19
+ T4||2
+ T5||2
+ T6||-1
++NOTICE:  Value set for 4BUI band got clamped from -1.000000 to 0
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
+ T7|100|15
+ T8|100|120
++NOTICE:  Value set for 2BUI band got clamped from -1.000000 to 0
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
+ T9|101|3
+ T10.6.2|10|40
+ T10.6.3|10|30
+diff -rup a/raster/test/regress/rt_mapalgebrafct_expected b/raster/test/regress/rt_mapalgebrafct_expected
+--- a/raster/test/regress/rt_mapalgebrafct_expected	2021-05-22 01:05:03.000000000 +0200
++++ b/raster/test/regress/rt_mapalgebrafct_expected	2021-06-08 18:05:28.090544266 +0200
+@@ -14,8 +14,212 @@ t
+ |19
+ |
+ |19
++NOTICE:  Value set for 4BUI band got clamped from -1.000000 to 0
++NOTICE:  Value set for 4BUI band got clamped from -1.000000 to 0
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
++NOTICE:  Value set for 4BUI band got clamped from 120.000000 to 15
+ 100|15
+ 100|120
++NOTICE:  Value set for 2BUI band got clamped from -1.000000 to 0
++NOTICE:  Value set for 2BUI band got clamped from -1.000000 to 0
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
++NOTICE:  Value set for 2BUI band got clamped from 121.000000 to 3
+ 101|3
+ 213|213
+ 6314|6314
+diff -rup a/raster/test/regress/rt_mapalgebrafctngb_expected b/raster/test/regress/rt_mapalgebrafctngb_expected
+--- a/raster/test/regress/rt_mapalgebrafctngb_expected	2021-05-22 01:05:03.000000000 +0200
++++ b/raster/test/regress/rt_mapalgebrafctngb_expected	2021-06-08 18:05:54.978732182 +0200
+@@ -1,4 +1,5 @@
+ WARNING:  Raster is NULL. Returning NULL
++NOTICE:  Value set for 32BF band got converted from -1.000000 to 12428.549805
+ t
+ NOTICE:  Raster is empty. Returning an empty raster
+ t
+@@ -22,8 +23,14 @@ NOTICE:  Neighborhood NODATA mode is not
+ t|t
+ t|t
+ t|t
++NOTICE:  Value set for 4BUI band got clamped from -340282346638528859811704183484516925440.000000 to 0
++NOTICE:  Value set for 4BUI band got clamped from -340282346638528859811704183484516925440.000000 to 0
++NOTICE:  Value set for 4BUI band got clamped from 18.000000 to 15
+ t|t
+ t|t
++NOTICE:  Value set for 2BUI band got clamped from -340282346638528859811704183484516925440.000000 to 0
++NOTICE:  Value set for 2BUI band got clamped from -340282346638528859811704183484516925440.000000 to 0
++NOTICE:  Value set for 2BUI band got clamped from 9.000000 to 3
+ t|t
+ t
+ t|t
+diff -rup a/raster/test/regress/rt_mapalgebrafctngb_userfunc_expected b/raster/test/regress/rt_mapalgebrafctngb_userfunc_expected
+--- a/raster/test/regress/rt_mapalgebrafctngb_userfunc_expected	2021-05-22 01:05:03.000000000 +0200
++++ b/raster/test/regress/rt_mapalgebrafctngb_userfunc_expected	2021-06-08 18:06:02.038781523 +0200
+@@ -19,15 +19,24 @@ NOTICE:  Neighborhood NODATA behavior de
+ t|t
+ t|t
+ t|t
++NOTICE:  Value set for 32BF band got converted from 78.166941 to 78.166939
++NOTICE:  Value set for 32BF band got converted from 66.037511 to 66.037514
++NOTICE:  Value set for 32BF band got converted from 66.037511 to 66.037514
+ t|t
++NOTICE:  Value set for 32BF band got converted from 78.166941 to 78.166939
++NOTICE:  Value set for 32BF band got converted from 66.037511 to 66.037514
++NOTICE:  Value set for 32BF band got converted from 66.037511 to 66.037514
+ t|t
+ t|t
+ t|t
+ t|t
+ t|t
+ t|t
++NOTICE:  Value set for 32BF band got converted from 180.312229 to 180.312225
+ t|t
++NOTICE:  Value set for 32BF band got converted from 154.028660 to 154.028656
+ t
++NOTICE:  Value set for 32BF band got converted from 154.028660 to 154.028656
+ t
+ t|t
+ t|t
+diff -rup a/raster/test/regress/rt_summarystats_expected b/raster/test/regress/rt_summarystats_expected
+--- a/raster/test/regress/rt_summarystats_expected	2021-05-22 01:05:03.000000000 +0200
++++ b/raster/test/regress/rt_summarystats_expected	2021-06-08 18:02:23.221252209 +0200
+@@ -8,6 +8,7 @@ NOTICE:  Invalid band index (must use 1-
+ |
+ NOTICE:  All pixels of band have the NODATA value
+ (0,,,,,)
++NOTICE:  Value set for 8BUI band got clamped from 1.000000 to 56
+ NOTICE:  Band is empty as width and/or height is 0
+ (0,,,,,)
+ 20|-68.584|-3.429|6.571|-10.000|3.142
+diff -rup a/raster/test/regress/rt_union_expected b/raster/test/regress/rt_union_expected
+--- a/raster/test/regress/rt_union_expected	2021-05-22 01:05:03.000000000 +0200
++++ b/raster/test/regress/rt_union_expected	2021-06-08 18:06:08.922829634 +0200
+@@ -1,5 +1,6 @@
+ NOTICE:  table "raster_union_in" does not exist, skipping
+ NOTICE:  table "raster_union_out" does not exist, skipping
++NOTICE:  Value set for 8BUI band got truncated from 1.500000 to 1
+ COUNT|1|1|1
+ COUNT|2|1|1
+ COUNT|3|1|0
+@@ -370,6 +371,7 @@ LAST|2|2|2
+ LAST|3|2|2
+ LAST|2|3|2
+ LAST|3|3|2
++NOTICE:  Value set for 8BUI band got truncated from 1.500000 to 1
+ COUNT|1|1|1
+ COUNT|2|1|1
+ COUNT|3|1|0
+@@ -480,6 +482,8 @@ SUM|2|2|300
+ SUM|3|2|200
+ SUM|2|3|200
+ SUM|3|3|200
++NOTICE:  Value set for 8BUI band got truncated from 2.500000 to 2
++NOTICE:  Value set for 8BUI band got truncated from 1.500000 to 1
+ FIRST-2|-1|1|4|4|1|-1|0|0|0|3
+ LAST-1|-1|1|4|4|1|-1|0|0|0|3
+ LAST-2|-1|1|4|4|1|-1|0|0|0|3
+diff -rup a/raster/test/regress/tickets_expected b/raster/test/regress/tickets_expected
+--- a/raster/test/regress/tickets_expected	2021-05-22 01:05:03.000000000 +0200
++++ b/raster/test/regress/tickets_expected	2021-06-08 18:06:17.810891751 +0200
+@@ -18,6 +18,7 @@ NOTICE:  Invalid band index (must use 1-
+ #4102.2|-10
+ #3457|4950
+ #4412|t
++NOTICE:  Value set for 8BSI band got clamped from -129.000000 to -128
+ NOTICE:  Adding SRID constraint
+ NOTICE:  Adding scale-X constraint
+ NOTICE:  Adding scale-Y constraint
+@@ -57,6 +58,7 @@ WARNING:  Unable to add constraint: 'out
+ NOTICE:  Adding maximum extent constraint
+ WARNING:  Unable to add constraint: 'extent'.  Skipping
+ #4547.1|t
++NOTICE:  Value set for 8BSI band got clamped from -129.000000 to -128
+ NOTICE:  Adding SRID constraint
+ NOTICE:  Adding scale-X constraint
+ NOTICE:  Adding scale-Y constraint
+diff -rup a/regress/core/interrupt_buffer_expected b/regress/core/interrupt_buffer_expected
+--- a/regress/core/interrupt_buffer_expected	2021-05-22 01:05:03.000000000 +0200
++++ b/regress/core/interrupt_buffer_expected	2021-06-08 17:55:09.118217812 +0200
+@@ -1,3 +1,3 @@
+-ERROR:  canceling statement due to statement timeout
++ERROR:  canceling statement due to user request
+ buffer interrupted on time
+ 1|5
+diff -rup a/regress/core/interrupt_expected b/regress/core/interrupt_expected
+--- a/regress/core/interrupt_expected	2021-05-22 01:05:03.000000000 +0200
++++ b/regress/core/interrupt_expected	2021-06-08 17:53:45.673634417 +0200
+@@ -1,4 +1,3 @@
+-NOTICE:  liblwgeom code interrupted
+-ERROR:  canceling statement due to statement timeout
++NOTICE:  ptarray.c:449 - ptarray_segmentize2d: Too many segments required (3.605551e+100)
+ segmentize interrupted on time
+ 1|LINESTRING(0 0,2 0,4 0)
+diff -rup a/regress/core/interrupt_relate_expected b/regress/core/interrupt_relate_expected
+--- a/regress/core/interrupt_relate_expected	2021-05-22 01:05:03.000000000 +0200
++++ b/regress/core/interrupt_relate_expected	2021-06-08 17:54:38.326002537 +0200
+@@ -1,16 +1,16 @@
+-ERROR:  canceling statement due to statement timeout
++ERROR:  canceling statement due to user request
+ contains interrupted on time
+-ERROR:  canceling statement due to statement timeout
++ERROR:  canceling statement due to user request
+ covers interrupted on time
+-ERROR:  canceling statement due to statement timeout
++ERROR:  canceling statement due to user request
+ coveredby interrupted on time
+-ERROR:  canceling statement due to statement timeout
++ERROR:  canceling statement due to user request
+ crosses interrupted on time
+-ERROR:  canceling statement due to statement timeout
++ERROR:  canceling statement due to user request
+ equals interrupted on time
+-ERROR:  canceling statement due to statement timeout
++ERROR:  canceling statement due to user request
+ intersects interrupted on time
+-ERROR:  canceling statement due to statement timeout
++ERROR:  canceling statement due to user request
+ overlaps interrupted on time
+-ERROR:  canceling statement due to statement timeout
++ERROR:  canceling statement due to user request
+ relate interrupted on time
+diff -rup a/regress/core/mvt_expected b/regress/core/mvt_expected
+--- a/regress/core/mvt_expected	2021-05-22 01:05:03.000000000 +0200
++++ b/regress/core/mvt_expected	2021-06-08 17:56:08.070629945 +0200
+@@ -138,7 +138,7 @@ Ag==
+ #4348Clip|t
+ #4348Invalid|t
+ #4348Dropped|t
+-#4348ReversedSmall|t
++#4348ReversedSmall|
+ #4348Reversed2|t
+ #4348Point|t
+ #4348Crash|t
Index: postgis-3.1.3.tar.gz
===================================================================
Binary file postgis-3.1.3.tar.gz (revision 11) added
Index: postgis-2.5.5.tar.gz
===================================================================
Binary file postgis-2.5.5.tar.gz (revision 73) deleted
Index: postgis-3.1.1.tar.gz
===================================================================
Binary file postgis-3.1.1.tar.gz (revision 73) deleted

OBS-URL: https://build.opensuse.org/request/show/906697
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/postgis?expand=0&rev=74
2021-07-20 19:37:54 +00:00
64abdc34bd Accepting request 880545 from home:bruno_friedmann:branches:Application:Geo
- Remove specific flag --without-library-minor-version as it
  activate also the minor version.

OBS-URL: https://build.opensuse.org/request/show/880545
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/postgis?expand=0&rev=73
2021-03-22 15:56:06 +00:00
73ccfa14b3 Accepting request 879878 from home:bruno_friedmann:branches:Application:Geo
- Update to version 3.1.1 bugfix release
  + #4814, Crash passing collection with only empty components
    to ST_MakeValid
  + #4818, Make the VSICURL synthetic driver work as documented
  + #4825, Unstable results from ST_MakeValid
  + #4823, Avoid listing the same geometry in different collections
- Packaging 
  + add install-updates for utils package 
  + Commented but prepared buildrequires cunit for tests
  + Add explicit --without-library-minor-version .so is now only
    .3 and no more .3.1
  + split llvm-jit data to its own package
  + Remove obsolete %if block (42.3)
  + Normalize define and macro (pointcloud,pgRouting)
  + Review build targets (while keeping 15.1 a bit longer)
- Update to version 3.1.0 release
  https://git.osgeo.org/gitea/postgis/postgis/raw/tag/3.1.0/NEWS
  + Breaking changes
    - #4737, Bump minimum protobuf-c requirement to 1.1.0
      The configure step will now fail if the requirement isn't
      met or explicitly disabled (--without-protobuf)
    - #4258, Separated postgis_sfcgal from postgis
      into its own lib file and extension (Regina Obe)
    - #4577, Drop support for PostgreSQL 9.5
    - #4601, ST_TileEnvelope signature changed.
    - #3057, ST_Force3D, ST_Force3DZ, ST_Force3DM and ST_Force4D
      signatures changed.

OBS-URL: https://build.opensuse.org/request/show/879878
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/postgis?expand=0&rev=72
2021-03-21 16:49:06 +00:00
b2888d8bda Accepting request 862560 from home:bruno_friedmann:branches:Application:Geo
- Update to bugfix release 3.0.3
  - #4742 tiger geocoder reverted to 2018 version on tiger upgrade
  - #4757, Handle line collapse due to snap-to-existing node
  - #4758, Improve topology noding robustness
  - #4719, Fail fast when srids don't match ST_Intersection(geometry,raster)
           Also schema qualify calls in function.
  - #4739, Ensure all functions using postgis_oid initialize the internal cache
  - #4767, #4768, #4771, #4772, Fix segfault when parsing invalid WKB
  - #4769, Fix segfault in st_addband
  - #4748, Fix incorrect axis swapping in polar stereographic
  - #4727, Fix bug in geocentrix box computation
  - #4790, Fix ST_3dintersects calculations with identical vertices
- Packaging: update copyright year

OBS-URL: https://build.opensuse.org/request/show/862560
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/postgis?expand=0&rev=71
2021-01-12 09:57:39 +00:00
9563297629 Accepting request 849489 from home:bruno_friedmann:branches:Application:Geo
- Activate postgresql13 where it's possible to have it

OBS-URL: https://build.opensuse.org/request/show/849489
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/postgis?expand=0&rev=70
2020-11-23 17:01:15 +00:00
0026eb9163 Accepting request 841344 from home:bruno_friedmann:branches:Application:Geo
- Update to bugfix release version 3.0.2
  - Remove useless duplicated call in ST_ChangeEdgeGeom
  - #4709, Fix crash in adding edge to corrupted topology
  - Handle non-closed edge rings by human readable error
  - #4706, Fix crash in ST_ChangeEdgeGeom on corrupted topology
  - #4652, Fix several memory related bugs in ST_GeomFromGML
  - #4661,4129, Fix access to spatial_ref_sys with a non default schema
  - #4670, ST_AddPoint: Fix bug when a positive position is requested
  - #4702, Legacy ST_Locate_Between_Measures is wrong
  - #4699, crash on null input to ST_Union(raster, otherarg)
  - #4716, Fix several issues with pkg-config in the configure script
  - #4691, Fix segfault during gist index creation with empty geometries
  - #4541, ST_ConcaveHull returns a "geometrycollection"
           type instead of the expected "polygon"
  - #4640, Update raster docs to explain why ST_Transform using 
           alignment is important.
           Update raster FAQ

OBS-URL: https://build.opensuse.org/request/show/841344
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/postgis?expand=0&rev=69
2020-10-13 09:07:35 +00:00
1591bf13bf Accepting request 815675 from home:bruno_friedmann:branches:Application:Geo
- Change and simplify the macro testing do_not_build to allow 
  builds for PostgreSQL 11 & 12 on Leap 15.2

OBS-URL: https://build.opensuse.org/request/show/815675
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/postgis?expand=0&rev=68
2020-06-18 08:13:47 +00:00
f8ed00fb15 - Allow build for postgresql11 & 12 on Leap 15.2
- Update to previous minor to 2.5.4
  + -lib and  -devel package are no longer built as their contents
- Add postgresql12 support after project config adaptation

OBS-URL: https://build.opensuse.org/package/show/Application:Geo/postgis?expand=0&rev=67
2020-06-17 14:11:10 +00:00
8fcba88947 Accepting request 785468 from home:bruno_friedmann:branches:Application:Geo
- Update to major version 3.0.1
  + You will have to backup and restore your database if the
    extension upgrade doesn't work. Be carefull
  + Raster is now separated from main extension
  + All changes are listed at
    https://git.osgeo.org/gitea/postgis/postgis/raw/tag/3.0.1/NEWS
    and
    https://git.osgeo.org/gitea/postgis/postgis/raw/tag/3.0.0/NEWS
- Update to previous minor to 2.5.4 
- Packaging
  + Adjust copyright
  + Remove postgresql94 support
  + -lib and  -devel package are no longer built as their contents 
   liblwgeom are no longer publicly exposed by upstream
  + Adjust postgresql10, 11, 12 version to according target
  + Use --without-phony-revision (new 3.0.1) to avoid constant
    rebuild
  + Use --without-wagyu as wagyu lib is not packaged for openSUSE

OBS-URL: https://build.opensuse.org/request/show/785468
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/postgis?expand=0&rev=66
2020-03-16 08:44:18 +00:00
334dae6e6b Accepting request 774094 from home:Guillaume_G:branches:Application:Geo
- Enable protobuf-c support

OBS-URL: https://build.opensuse.org/request/show/774094
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/postgis?expand=0&rev=65
2020-02-13 08:18:25 +00:00
ed4c7a9009 Accepting request 769271 from home:bruno_friedmann:branches:Application:Geo
- Add postgresql12 support after project config adaptation

OBS-URL: https://build.opensuse.org/request/show/769271
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/postgis?expand=0&rev=64
2020-02-03 09:57:02 +00:00
08eef74819 Why the hell is this version detection so complicated nowadays? Who invented this bullshit?
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/postgis?expand=0&rev=63
2019-12-03 12:10:59 +00:00