def code_linestring(self,points,srid=None):
        if not srid: srid=self.srid
	return "ST_GeomFromText('%s',%d)" % (geo.wkt_linestring(points), srid)

    # NOTE: transactions are initiated automatically (by default)
dataset/ETHPy150Open mharnold/spiderosm/spiderosm/dbinterface.py/DatabaseInterface.code_linestring/original