Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add simplify_polygon_hull method #366

Merged
merged 3 commits into from
Jan 7, 2024

Commits on Jan 6, 2024

  1. feat: add simplify_polygon_hull method

    The feature is equal to [ST_SimplifyPolygonHull](https://postgis.net/docs/ST_SimplifyPolygonHull.html) in PostGIS.
    
    > Computes a simplified topology-preserving outer or inner hull of a polygonal geometry.
    > An outer hull completely covers the input geometry.
    > An inner hull is completely covered by the input geometry.
    > The result is a polygonal geometry formed by a subset of the input vertices.
    > MultiPolygons and holes are handled and produce a result with the same structure as the input.
    > https://postgis.net/docs/ST_SimplifyPolygonHull.html
    
    Utilizes the `GEOSPolygonHullSimplify` method introduced in [GEOS 3.11.0](https://github.com/libgeos/geos/releases/tag/3.11.0).
    
    - libgeos/geos#603
    - locationtech/jts#861
    - libgeos/geos@1b3521c
    oleksii-leonov committed Jan 6, 2024
    Configuration menu
    Copy the full SHA
    6d095ce View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    aec1d8a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    750f38f View commit details
    Browse the repository at this point in the history