Opened 3 years ago

Closed 21 months ago

#1095 closed defect (fixed)

WKTReader ignores extra characters after end of geometry

Reported by: dbaston Owned by: geos-devel@…
Priority: major Milestone: 3.9.3
Component: Default Version: 3.9.0
Severity: Unassigned Keywords:
Cc:

Description

This allows a typo like

GEOMETRYCOLLECTION(POINT (0 1)), POINT (1 1)

To be read without error as

GEOMETRYCOLLECTION(POINT (0 1))

Change History (4)

comment:1 by pramsey, 3 years ago

So fix is to complain about any trailing non-whitespace, presumably.

comment:2 by pramsey, 3 years ago

Milestone: 3.9.13.9.2

comment:3 by pramsey, 3 years ago

Milestone: 3.9.23.9.3

comment:4 by dbaston, 21 months ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.