Opened 14 years ago

Closed 14 years ago

#686 closed defect (fixed)

Issues with TRIANGLE AND TIN EMPTY collections - hmm do they exist?

Reported by: robe Owned by: pramsey
Priority: medium Milestone: PostGIS 2.0.0
Component: postgis Version: master
Keywords: Cc:

Description

This may not be a bug, but I figured you may be getting bored :)

does OGC have a concept of TIN, TRIANGLE, empties?

SELECT	ST_COLLECT(ST_GeomFromText('POLYGON EMPTY',4326),ST_GeomFromText('TRIANGLE EMPTY',4326)) ;

gives error:

ERROR:  getPoint_internal called outside of ptarray range (n=0, pa.npoints=0, pa.maxpoints=0)

I'll check some others.

Should this be legal? All TIN TRIANGLE Give invalid OGC WKT (too short)

SELECT	ST_COLLECT(ST_GeomFromText('TIN EMPTY',4326),ST_GeomFromText('TIN EMPTY',4326)) ;

SELECT	ST_GeomFromText('TIN EMPTY',4326) ;

That yields a:

OGC WKT (too short)

Change History (2)

comment:1 by pramsey, 14 years ago

TIN issues fixed at r6334

comment:2 by pramsey, 14 years ago

Resolution: fixed
Status: newclosed

Empty triangle fixed in r6335

Note: See TracTickets for help on using tickets.