Hi Andrea,<br>Have a look to ST_Dump<br><a href="http://postgis.refractions.net/docs/ST_Dump.html">http://postgis.refractions.net/docs/ST_Dump.html</a><br><br>Fred<br><br><br><div class="gmail_quote">On Wed, Aug 19, 2009 at 11:50 AM, Andrea Peri <span dir="ltr"><<a href="mailto:aperi2007@gmail.com">aperi2007@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br><br>I have some troubles try-ing to split from a MultiLineString to LineStrings.<br><br>
I try this code with postgis 1.4.0:<br><br>ST_GeometryN(geom,generate_series(1,ST_NumGeometries(geom))) <br>
<br>But it return all LineStrings as simple segments with 2 only vertexs.<br><br>It seem the ST_NumGeometries(geom) return the count of all segments , not the parts.<br><br>There a function that count the num of parts ?<br>

<br>Many thx,<br><font color="#888888"><br>Andrea Peri<br><br><br>
</font><br>_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
<br></blockquote></div><br>