[postgis-devel] [PostGIS] #686: Issues with TRIANGLE AND TIN EMPTY collections - hmm do they exist?
PostGIS
trac at osgeo.org
Wed Dec 8 13:00:40 PST 2010
#686: Issues with TRIANGLE AND TIN EMPTY collections - hmm do they exist?
---------------------+------------------------------------------------------
Reporter: robe | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.0.0
Component: postgis | Version: trunk
Keywords: |
---------------------+------------------------------------------------------
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)
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/686>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-devel
mailing list