def to_canonical(self, srid, reprojection_func=None):
        """Returns canonical string for this geometry"""

        return "SRID=%d;LINESTRING(%s)"%(srid, ",".join( ["%f %f"%(x,y) for x,y in self.get_projected_points()] ) )
dataset/ETHPy150Open bmander/graphserver/pygs/graphserver/ext/osm/osm.py/Way.to_canonical/original