Opened 21 months ago
Closed 21 months ago
#5351 closed defect (fixed)
ST_HausdorffDistance crash on geometry collection with POINT EMPTY and point
Reported by: | robe | Owned by: | pramsey |
---|---|---|---|
Priority: | blocker | Milestone: | PostGIS GEOS |
Component: | postgis | Version: | master |
Keywords: | Cc: |
Description
I'm guessing this is a GEOS bug.
Not sure we should fix it here too though.
SELECT ST_HausdorffDistance(ST_GeomFromText('GEOMETRYCOLLECTION (POINT EMPTY, LINESTRING (0 0, 1 1))'), ST_Point(1,2))
Change History (1)
comment:1 by , 21 months ago
Milestone: | PostGIS 3.0.9 → PostGIS GEOS |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
This has been fixed upstream in GEOS at https://github.com/libgeos/geos/issues/840
I think given it's rarity, it's safe to not bother trying to protect for it in PostGIS.