<pre>>I don't know how to detect if the first or the second element are "geometry<br>>empty".<br><br>Resolved.<br><br>I can use the <br>ST_IsEmpty(ST_GeometryN(geom, 1))<br>ST_IsEmpty(ST_GeometryN(geom, 2))<br>
<br>to test the first and the second element of geom-collection.<br><br></pre>- <br>-----------------<br>Andrea Peri<br>. . . . . . . . . <br>qwerty אטלעש<br>-----------------<br><br>