Hi, Linear referencing st_line_substring function allows you to do that: http://postgis.net/docs/manual-2.1/ST_Line_Substring.html
Nicolas On 7 August 2013 10:46, ranjitsaurav <[email protected]> wrote: > hi > > i am new to the postgis. i would like to know if there is a way to split the > linestring into two. what i am trying to get is: i have a map with single > line, now i want to show that single line into two line. > > Line string looks like this. > "LINESTRING(120.5523267 13.7257305,120.5522595 13.7265231,120.552205 > 13.7270875)" > > so when i put this in the map it shows only single line. but i want to make > this single line in to two line side by side > > thanks in advance. > > saurav > > > > -- > View this message in context: > http://postgis.17.x6.nabble.com/split-linestring-tp5003929.html > Sent from the PostGIS - User mailing list archive at Nabble.com. > _______________________________________________ > postgis-users mailing list > [email protected] > http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users _______________________________________________ postgis-users mailing list [email protected] http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
