Ticket #1778 (new defect)
ST_CollectionExtract: inconsistent EMPTY results
| Reported by: | strk | Owned by: | strk |
|---|---|---|---|
| Priority: | medium | Milestone: | PostGIS Future |
| Component: | postgis | Version: | 2.0.x |
| Keywords: | Cc: |
Description
strk=# select ST_AsEWKT(ST_CollectionExtract('LINESTRING EMPTY', 2));
st_asewkt
------------------
LINESTRING EMPTY
(1 row)
strk=# select ST_AsEWKT(ST_CollectionExtract('GEOMETRYCOLLECTION EMPTY', 2));
st_asewkt
-----------------------
MULTILINESTRING EMPTY
(1 row)
Why is it a _single_ empty in the first case but a _multi_ empty in the second ? How to transform a multi to a simple ? (ST_Homogenize missing)
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

