Opened 12 years ago

Closed 12 years ago

#1899 closed defect (fixed)

TIN to topology : ERROR: Unexpected feature dimension 2

Reported by: strk Owned by: strk
Priority: medium Milestone: PostGIS 2.0.2
Component: topology Version: 2.0.x
Keywords: Cc:

Description

Just a weird error message when you try to import a TIN using toTopoGeom into an areal layer:

ERROR:  Unexpected feature dimension 2

It is weird because we do expect a feature of dimension 2 into an areal layer…

Note that the same TIN represented as a MULTIPOLYGON imports fine.

Change History (4)

comment:1 by strk, 12 years ago

Milestone: PostGIS 2.0.2PostGIS 2.0.3

comment:2 by strk, 12 years ago

Ok the problem here is that toTopoGeom checks for GEOMETRYTYPE, rather than for dimensions, but then it complains about dimensions in the error message.

comment:3 by strk, 12 years ago

Milestone: PostGIS 2.0.3PostGIS 2.0.2
Status: newassigned

comment:4 by strk, 12 years ago

Resolution: fixed
Status: assignedclosed

r10763 in trunk, r10764 in 2.0

Note: See TracTickets for help on using tickets.