<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace">Hey,<br></div><div class="gmail_default" style="font-family:monospace,monospace">Looks like there is a bug in ST_DumpPoints function.<br></div><div class="gmail_default" style="font-family:monospace,monospace">When dumping points from a geometry collection of 2 TINZ , I get only the points from the first TINZ<br><br></div><div class="gmail_default" style="font-family:monospace,monospace">Cheers,<br></div><div class="gmail_default" style="font-family:monospace,monospace">Rémi-C<br></div><div class="gmail_default" style="font-family:monospace,monospace"><br>WITh the_geom AS (<br>SELECT ST_GeomFromText('<br>    GEOMETRYCOLLECTION Z (<br>    TIN Z (<br>    ((836.241149634773 897.300483196201 44.235890912421,836.301514870813 897.041404436852 44.1104526796975,836.017950228482 896.884733832257 43.9454852021886,836.241149634773 897.300483196201 44.235890912421))<br>    ,((835.975506914897 897.427922547385 44.231901206208,836.241149634773 897.300483196201 44.235890912421,836.017950228482 896.884733832257 43.9454852021886,835.975506914897 897.427922547385 44.231901206208))<br>    ,((836.591860570603 896.983802169256 44.159663511364,836.380792899112 896.56568049421 43.871332972056,836.301514870813 897.041404436852 44.1104526796975,836.591860570603 896.983802169256 44.159663511364))<br>    ,((836.380792899112 896.56568049421 43.871332972056,836.097517011938 896.608910488388 43.81619952029,836.150004759548 896.774504276466 43.9217307252124,836.380792899112 896.56568049421 43.871332972056))<br>    ,((836.017950228482 896.884733832257 43.9454852021886,835.45064342045 896.873195910527 43.781203211299,835.654709849234 897.25860253162 44.0496225866787,836.017950228482 896.884733832257 43.9454852021886))<br>    ,((836.301514870813 897.041404436852 44.1104526796975,836.150004759548 896.774504276466 43.9217307252124,836.017950228482 896.884733832257 43.9454852021886,836.301514870813 897.041404436852 44.1104526796975))<br>    ,((836.301514870813 897.041404436852 44.1104526796975,836.380792899112 896.56568049421 43.871332972056,836.150004759548 896.774504276466 43.9217307252124,836.301514870813 897.041404436852 44.1104526796975))<br>    ,((835.975506914897 897.427922547385 44.231901206208,836.017950228482 896.884733832257 43.9454852021886,835.654709849234 897.25860253162 44.0496225866787,835.975506914897 897.427922547385 44.231901206208)))<br>    ,TIN Z (((836.536976485104 896.821454836526 49.5327777663398,836.549588475402 896.827018373145 50.4900914338338,837.473971190125 896.797578118232 50.4948724829438,836.536976485104 896.821454836526 49.5327777663398))<br>    ,((837.464327730909 896.791698311544 49.5019932813068,836.536976485104 896.821454836526 49.5327777663398,837.473971190125 896.797578118232 50.4948724829438,837.464327730909 896.791698311544 49.5019932813068))))') AS geom<br>    )<br>    SELECT dmp.path, dmpp.path, ST_AsText(dmpp.geom)<br>    FROM the_geom, ST_Dump(geom) as dmp, ST_DumpPoints(dmp.geom) as dmpp <br></div></div>