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 <[email protected]> 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 > [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
