Changes between Initial Version and Version 1 of Ticket #5361, comment 5
- Timestamp:
- 08/10/23 11:19:11 (15 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #5361, comment 5
initial v1 5 5 type==COMPOUNDTYPE || type==POLYGONTYPE || 6 6 type==CURVEPOLYTYPE || type==TRIANGLETYPE) 7 7 { 8 if ( idx == 0 ) PG_RETURN_POINTER(geom); 9 PG_RETURN_NULL(); 10 } 8 11 }}} 9 12 Both `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.