changed output format to LINESTRING