Subject: CVS commit: pkgsrc/databases/postgresql-postgis2
From: Greg Troxel
Date: 2021-12-18 16:13:02
Message id: 20211218151303.101A4FAEC@cvs.NetBSD.org

Log Message:
postgresql-postgis2: Update to 3.2.0

See NEWS in sources for details.  A summary of upstream NEWS:

* Enhancements and bugfixes

PostGIS 3.2.0 (Olivier Courtin Edition)
2021/12/17
This version requires PostgreSQL 9.6 or higher, GEOS 3.6 or higher
, and Proj 4.9+.
Additional features are enabled if you are running GEOS 3.9+
(and ST_MakeValid enhancements with 3.10+),
Proj 6.1+, and PostgreSQL 14+.
Due to some query performance degradation
with the new fast index build that requires PG14,
we have decided to disable the feature by default
until we get more user testing
as to the true impact of real-world queries.
If you are running PG14+, you can reenable it by doing

ALTER OPERATOR FAMILY gist_geometry_ops_2d USING gist
     ADD FUNCTION 11 (geometry)
     geometry_gist_sortsupport_2d (internal);
and then reindex your gist indexes.

To revert back to the old index behavior:
   ALTER OPERATOR FAMILY gist_geometry_ops_2d using gist
     DROP FUNCTION 11 (geometry);

and then reindex your gist indexes.

 * Breaking changes *
  - #5008, Empty geometries are not reported as being within Infinite
           distance by ST_DWithin (Sandro Santilli)
  - #4824, Removed `--without-wagyu` build option. Using Wagyu is now mandatory \ 
to build with MVT support.
  - #4933, topology.GetFaceByPoint will not work with topologies having invalid \ 
edge linking.
  - #4981, ST_StartPoint support any geometry. No longer returns null for \ 
non-linestrings.
  - #4149, ST_AsMVTGeom now preserves more of original geometry's details at \ 
scale close to target extent.
           If you need previous simplifying behaviour, you can ST_Simplify the \ 
geometry in advance.
           (Darafei Praliaskouski)
  - Proj 4.9 or higher is required
  - #5000, Turn off Window support in ST_AsMVT aggregate
        as no real use-case for it and it crashes with random input
        (Paul Ramsey)

 * New features*
  - #4923, topology.ValidateTopologyRelation (Sandro Santilli)
  - #4933, topology.GetFaceContainingPoint (Sandro Santilli)
  - #2175, ST_Scroll (Sandro Santilli)
  - #4841, FindTopology to quickly get a topology record (Sandro Santilli)
  - #4869, FindLayer to quickly get a layer record (Sandro Santilli)
  - #4851, TopoGeom_addTopoGeom function (Sandro Santilli)
  - ST_MakeValid(geometry, options) allows alternative validity building
    algorithms with GEOS 3.10 (Paul Ramsey)
  - ST_InterpolateRaster() fills in raster cells between sample points
    using one of a number of algorithms (inverse weighted distance, average, etc)
    using algorithms from GDAL
    (Paul Ramsey)
  - ST_Contour() generates contour lines from raster values
    using algorithms from GDAL (Paul Ramsey)
  - ST_SetZ()/ST_SetM() fills in z/m coordinates of a geometry using data read
    from a raster (Paul Ramsey)
  - New postgis.gdal_vsi_options GUC allows out-db rasters on VSI network
    services to be accessed with authentication keys, etc. (Paul Ramsey)
  - ST_DumpSegments returns a set of segments of input geometry (Aliaksandr Kalenik)
  - #4859, ST_Point, ST_PointZ, ST_PointM, ST_PointZM, constructors
    with SRID parameter (Paul Ramsey)
  - #4808, ST_ClusterKMeans now supports max_radius argument. Use it when you're \ 
not sure what is
    the number of clusters but you know what the size of clusters should be. \ 
(Darafei Praliaskouski)

Files:
RevisionActionfile
1.107modifypkgsrc/databases/postgresql-postgis2/Makefile
1.28modifypkgsrc/databases/postgresql-postgis2/PLIST
1.31modifypkgsrc/databases/postgresql-postgis2/distinfo
1.1removepkgsrc/databases/postgresql-postgis2/patches/patch-loader_Makefile.in