Sandro,
Thank you, I'm just getting back to using Spatialite after a long absence.
I see how ST_LINEMERGE works but I have a usage question.
I have a database with, for example, 20 rows that represent segments for a road.
Each has a geometry column ("geom") that is a LINESTRING.
Do I read all of those rows in, converting the geometry column to text, and appending each to a string that becomes a MULTISTRING, and then pass that to ST_LINEMERGE or is there a better way?
Also, if ST_LINEMERGE fails to merge, does Spatilaite return a null or the original MULTISTRING?
Best regards,
Jim