[postgis-devel] [PostGIS] #923: Erroneous documentation examples with "GEOMETRYCOLLECTION(EMPTY)"

PostGIS trac at osgeo.org
Sun Apr 24 04:15:27 PDT 2011


#923: Erroneous documentation examples with "GEOMETRYCOLLECTION(EMPTY)"
---------------------+------------------------------------------------------
 Reporter:  mwtoews  |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  1.5.X        
 Keywords:           |  
---------------------+------------------------------------------------------
 See patch for corrections to trunk.

 Also, as a related side note (and possibly a separate ticket) it might be
 worth pointing out that the "GEOMETRYCOLLECTION(EMPTY) syntax support for
 backward compatibility" documented release note for version 1.0.0RC2 is no
 longer valid on the trunk version of PostGIS:
 {{{
 #!sql
 postgis=# SELECT ST_IsEmpty('GEOMETRYCOLLECTION(EMPTY)');
 ERROR:  parse error - invalid geometry
 LINE 1: SELECT ST_IsEmpty('GEOMETRYCOLLECTION(EMPTY)');
                           ^
 HINT:  "GEOMETRYCOLLECTION(EMPTY" <-- parse error at position 24 within
 geometry
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/923>
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