[postgis-users] split linestring

Nicolas Ribot nicolas.ribot at gmail.com
Thu Aug 8 01:23:12 PDT 2013


Hi,

Yes, st_line_substring creates a shorter line, cutting the original
line at a certain index.
St_split will split the line in two parts if you split by a point.

Nicolas

On 7 August 2013 12:52, ranjitsaurav <ranjitsaurav at gmail.com> wrote:
> Hi nicolas,
>
> thank you for the reply.
> i want to ask one question . does this function splits the line segment into
> two or it just creates a another line   (smaller in width than that of
> original line segment) above the original line segment, giving the
> impression that the original line segment has been split-ted.
>
> Actually i need to separate the line in to two so.
>
> Also can ST_split function be used for this purpose?
>
> thanks
>
> saurav
>
>
>
> --
> View this message in context: http://postgis.17.x6.nabble.com/split-linestring-tp5003929p5003932.html
> Sent from the PostGIS - User mailing list archive at Nabble.com.
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users


More information about the postgis-users mailing list