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

Reply via email to