<div dir='auto'><div>Hello,<div dir="auto"><br></div><div dir="auto">I think if you try what I suggested last time, the combined use of the functions should return st_multiline for the object you want to identify. </div><div dir="auto"><br></div><div dir="auto">SELECT gid, ST_GEOMETRYTYPE(ST_UNION((ST_DUMP(geom)).geom))</div><div dir="auto">FROM your_table</div><div dir="auto">GROUP BY gid</div><div dir="auto"><br></div><div dir="auto">Regards,</div><div dir="auto">Hug</div><br><div class="gmail_extra"><br><div class="gmail_quote">Le 29 avr. 2017 2:12 PM, Luis Fernando Duque Quintero <Luisfpetrucci@hotmail.com> a écrit :<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div style="font-size:12pt;color:#000000;font-family:'calibri' , 'arial' , 'helvetica' , sans-serif" dir="ltr">
<p><br>
</p>
<div style="color:rgb( 0 , 0 , 0 )">
<div>
<div dir="ltr" style="font-size:12pt;color:#000000;font-family:'calibri' , 'arial' , 'helvetica' , sans-serif">
<p>Hello guys, I need to check if two lines are spatially separated but in the same geometry, for example when I open qgis and select one line two lines are selected not one (this lines are separated and even not touch each other), I try using st_numgeometries(my_line_geometry)
on the db manager but always return 1, any suggest? Thanks before hands my friends.<br>
</p>
</div>
</div>
</div>
</div>
</div>
</blockquote></div><br></div></div></div>