Changes between Initial Version and Version 1 of Ticket #5361, comment 5


Ignore:
Timestamp:
08/10/23 11:19:11 (15 months ago)
Author:
pramsey

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5361, comment 5

    initial v1  
    55            type==COMPOUNDTYPE  || type==POLYGONTYPE ||
    66            type==CURVEPOLYTYPE || type==TRIANGLETYPE)
    7 
     7        {
     8                if ( idx == 0 ) PG_RETURN_POINTER(geom);
     9                PG_RETURN_NULL();
     10        }
    811}}}
    912Both `COMPOUNDTYPE` and `CURVEPOLYTYPE` are, structurally, multi-geometries, so it would be easy to cast them to `COLLECTION` hand them off... then a CURVEPOLYGON would be handled like a nested GEOMETRYCOLLECTION... the rings would each be a COMPOUND and each of those would in turn be a set of CURVESTRING and/or LINESTRING.