Hi Andrea, Have a look to ST_Dump http://postgis.refractions.net/docs/ST_Dump.html
Fred On Wed, Aug 19, 2009 at 11:50 AM, Andrea Peri <[email protected]> wrote: > Hi, > > I have some troubles try-ing to split from a MultiLineString to > LineStrings. > > I try this code with postgis 1.4.0: > > ST_GeometryN(geom,generate_series(1,ST_NumGeometries(geom))) > > But it return all LineStrings as simple segments with 2 only vertexs. > > It seem the ST_NumGeometries(geom) return the count of all segments , not > the parts. > > There a function that count the num of parts ? > > Many thx, > > Andrea Peri > > > > _______________________________________________ > postgis-users mailing list > [email protected] > http://postgis.refractions.net/mailman/listinfo/postgis-users > >
_______________________________________________ postgis-users mailing list [email protected] http://postgis.refractions.net/mailman/listinfo/postgis-users
