Opened 18 years ago

Closed 15 years ago

#113 closed defect (wontfix)

WKT reader doesn't throw a ParseException on mixed dimensions

Reported by: strk@… Owned by: strk
Priority: major Milestone: 3.2.0
Component: Core Version: 2.2.3
Severity: Content Keywords: imported, phpbugtracker
Cc: mloskot

Description (last modified by mloskot)

LINESTRING(0 0, 1 1 1) should be considered invalid WKT as it uses 2 dimensions for first point and 3 dimensions for second point.

Change History (9)

comment:1 by benjubb@…, 17 years ago

isn't the Z assumed to be NaN if not specified?  

comment:2 by mloskot, 16 years ago

Cc: mloskot added
Description: modified (diff)

comment:3 by mloskot, 16 years ago

Milestone: imported
Version: 3.0.02.2.3

comment:4 by mloskot, 16 years ago

Priority: 1major
Severity: AnnoyanceContent

comment:5 by mloskot, 16 years ago

Owner: strk@… removed
Status: assignednew

comment:6 by pramsey, 15 years ago

Milestone: 3.2.0

comment:7 by pramsey, 15 years ago

Owner: set to strk

Fix it if you still care, close it if you don't.

comment:8 by strk, 15 years ago

Couldn't care less. But I don't like cover-ups :) Maybe milestone to 3.3.0 ?

comment:9 by strk, 15 years ago

Resolution: wontfix
Status: newclosed

Actually I checked JTS and there's no exception thrown there either. Let's forget about this, for stricted JTS followup.

Note: See TracTickets for help on using tickets.