Ticket #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: | trunk |
| 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
Note: See
TracTickets for help on using
tickets.
