-
Notifications
You must be signed in to change notification settings - Fork 599
Open
Labels
Description
Opening a similar issue here as we had at pygeos/pygeos#126.
GEOS changelog at https://github.com/libgeos/geos/blob/master/NEWS.md
This issue lists GEOS functions that could be exposed in Shapely as new public functions as well.
GEOS <= 3.8:
- GEOSOrientationIndex
- GEOSNode -> ENH: Add node function #1431
- GEOSisValidDetail
- GEOSGeomGetEndPoint
- GEOSGeomGetStartPoint
- GEOSMinimumClearanceLine -> ENH: add function minimum_clearance_line #2106
- GEOSMinimumWidth -> Add minimum_width function for GEOS minimum diameter support #2313
- GEOSRelateBoundaryNodeRule (GEOSRelatePatternMatch)
- GEOSDistanceIndexed
- GEOSSegmentIntersection
- GEOSPolygonize_valid
GEOS 3.9:
- GEOSPreparedDistance
- GEOSMaximumInscribedCircle -> ENH: add maximum_inscribed_circle (polylabel) #1307
- GEOSLargestEmptyCircle
GEOS 3.10:
- GEOSMakeValidWithParams (ENH: expose MakeValid parameters, introduced with GEOS 3.10.0 #1415)
- GEOSWKBWriter_setFlavor -> ENH: expose flavor keyword in to_wkb #1628
- GEOSConstrainedDelaunayTriangulation -> ENH: Add constrained_delaunay_triangles function #1685
GEOS 3.11:
- GEOSGeom_transformXY (Feature: transform XY #1400)
- GEOSHilbertCode (Feature: Hilbert code #1398)
- GEOSConcaveHull (Feature: concave hulls #1296) -> ENH: Add concave_hull() function #1518
- GEOSConcaveHullOfPolygons
- GEOSPolygonHullSimplify
- GEOSPolygonHullSimplifyMode
- GEOSLineMergeDirected -> ENH: Add directed parameter to line merge #1592
- GEOSWKBReader_setFixStructure -> ENH: add option
on invalid="fix"
tofrom wkb
andfrom wkt
#2094 - GEOSWKTReader_setFixStructure (ENH: expose fix_structure keyword in WKT reader (close linestrings automatically) #1342) ->ENH: add option
on invalid="fix"
tofrom wkb
andfrom wkt
#2094
GEOS 3.12:
- GEOSPreparedIntersectsXY and GEOSPreparedContainsXY -> ENH: faster contains_xy/intersects_xy predicates special casing for point coordinates #1548
- GEOSLineSubstring
- GEOSDisjointSubsetUnion -> ENH: add disjoint_subset_union and disjoint_subset_union_all #1982
- GEOSHasM
- GEOSGeomGetM
- GEOSEqualsIdentical -> API: use equals_identical for __eq__ #1760
- GEOSOrientPolygons -> ENH: add orient_polygons #2147
- GEOSConcaveHullByLength
- GEOSCoverageIsValid, return bool -> ENH: add coverage validation function #2156
- GEOSCoverageIsValid, return invalid segments -> ENH - coverage validation: add coverage_invalid_edges and expose gap_width #2248
- GEOSCoverageSimplifyVW -> ENH: add coverage_simplify exposing topological simplification of coverages #1969
- GEOSGeom_releaseCollection
If other functions with the same signature are already exposed, adding a new GEOS function to Shapely can be quite straightforward, see #1431 as an example