Opened 4 years ago

Closed 3 years ago

#1023 closed defect (fixed)

Distance to MultiPolygon with empty component crashes GEOS

Reported by: mdavis Owned by: strk
Priority: major Milestone:
Component: Core Version: 3.8.0
Severity: Significant Keywords:
Cc:

Description

The distance computation crashes if an argument is a geometry collection with an empty component. For example,

MULTIPOLYGON (EMPTY, ((98 200, 200 200, 200 99, 98 99, 98 200)))

This was reported as GEOS GH 295.

JTS fails as well. A fix is in JTS PR 524

Change History (2)

comment:1 by strk, 3 years ago

Also reported as #1065 - I'll update the fix to follow JTS path

comment:2 by Sandro Santilli <strk@…>, 3 years ago

Resolution: fixed
Status: newclosed

In 572a212/git:

Update last port info for ConnectedElementLocationFilter

Verify reported crash in distance op is under test.
Closes #1023

Note: See TracTickets for help on using tickets.