This seems like an incredibly simple question, but for some reason I'm
coming up blank.

I have a collection of 4 LineStrings, which all touch end-to-end
(lines[x].EndPoint == lines[x+1].StartPoint).  I want to make a single
LineString out of them.  How do I do it?  Union just gives me a
MultiLineString with the four line strings in it.

I could do it by hand by taking all the points and creating a new
LineString, but it seems like there must be a built-in way of doing it.
Also I'd prefer some function that would give me a LineString in the correct
case, but a MultiLineString if there was a gap in my list of LineStrings.

Thanks,
Jeff
_______________________________________________
jts-devel mailing list
[email protected]
http://lists.refractions.net/mailman/listinfo/jts-devel

Reply via email to