[postgis-devel] [PostGIS] #708: ST_ExteriorRing POLYGON EMPTY crash (was: ST_DumpPoints POLYGON EMPTY crash)

PostGIS trac at osgeo.org
Tue Dec 14 04:39:22 PST 2010


#708: ST_ExteriorRing POLYGON EMPTY crash
---------------------+------------------------------------------------------
 Reporter:  robe     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------

Old description:

> SELECT ST_DumpPoints(ST_GeomFromText('POLYGON EMPTY',4326)) As result;

New description:

 SELECT ST_ExteriorRing(ST_GeomFromText('POLYGON EMPTY',4326)) As result;

 Which I think is the cause of ST_DumpPoints crashing as well

 SELECT ST_DumpPoints(ST_GeomFromText('POLYGON EMPTY',4326)) As result;

--

Comment(by robe):

 Maxime,
 I think ST_DumpPoints is breaking by virtue of the fact that
 ST_ExteriorRing is the real culprit and it uses that when it sees a
 polygon type.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/708#comment:4>
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