[postgis-devel] [PostGIS] #681: ST_AsGML crashes on POLYGON EMPTY

PostGIS trac at osgeo.org
Tue Dec 14 05:36:10 PST 2010


#681: ST_AsGML crashes on POLYGON EMPTY
----------------------+-----------------------------------------------------
  Reporter:  robe     |       Owner:  colivier     
      Type:  defect   |      Status:  closed       
  Priority:  medium   |   Milestone:  PostGIS 2.0.0
 Component:  postgis  |     Version:  trunk        
Resolution:  fixed    |    Keywords:               
----------------------+-----------------------------------------------------
Changes (by robe):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 I was wrong your most recent change does fix the ST_AsKML issue.  However
 a small little problem still exists.

 SELECT ST_AsKML(ST_GeomFromText('POLYGON EMPTY'))

 Gives the message:

 ERROR:  Input geometry has unknown (-1) SRID

 I thought our new UNKNOWN is 0 no or has this constant not been flipped
 yet?

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