Now writes WKT geometry for line segments