pycrs/elements/cs.py
def to_ogc_wkt(self):
        """
        Returns the CS as a OGC WKT formatted string.
        """
        string = 'PROJCS["%s", %s, %s, ' % (self.name, self.geogcs.to_ogc_wkt(), self.proj.to_ogc_wkt() )
        string += ", ".join(param.to_ogc_wkt() for param in self.params)
        string += ', %s' % self.unit.to_ogc_wkt()
        string += ', AXIS["X", %s], AXIS["Y", %s]]' % (self.twin_ax[0].ogc_wkt, self.twin_ax[1].ogc_wkt )
        return string
def to_ogc_wkt(self):
        """
        Returns the CS as a OGC WKT formatted string.
        """
        string = 'PROJCS["%s", %s, %s, ' % (self.name, self.geogcs.to_ogc_wkt(), self.proj.to_ogc_wkt() )
        string += ", ".join(param.to_ogc_wkt() for param in self.params)
        string += ', %s' % self.unit.to_ogc_wkt()
        string += ', AXIS["X", %s], AXIS["Y", %s]]' % (self.twin_ax[0].ogc_wkt, self.twin_ax[1].ogc_wkt )
        return string
def to_ogc_wkt ( self ) : string = 'PROJCS["%s", %s, %s, ' % ( self . name , self . geogcs . to_ogc_wkt ( ) , self . proj . to_ogc_wkt ( ) ) string += ", " . join ( param . to_ogc_wkt ( ) for param in self . params ) string += ', %s' % self . unit . to_ogc_wkt ( ) string += ', AXIS["X", %s], AXIS["Y", %s]]' % ( self . twin_ax [ 0 ] . ogc_wkt , self . twin_ax [ 1 ] . ogc_wkt ) return string
Returns the CS as a OGC WKT formatted string.
Returns the CS as a OGC WKT formatted string .