Erroneous documentation examples with "GEOMETRYCOLLECTION(EMPTY)"
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:
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
Change History
(5)
Component: |
postgis → documentation
|
Owner: |
changed from pramsey to robe
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
Fixed at r7063 and r7064. I didn't put in your first liblwgeom/liblwgeom.h patch though because what Paul wrote there was what he intended to write - that it doesn't handle a collection of empties. It only handles an empty collection. Paul can verify that is correct.