(self, geom)
Returns WKT string for geometry
Returns WKT string for geometry
Returns WKT string for geometry
def write(self, geom):
        """Returns WKT string for geometry"""
        if geom is None or geom._geom is None:
            raise ValueError("Null geometry supports no operations")
        result = self._lgeos.GEOSWKTWriter_write(self._writer, geom._geom)
        text = string_at(result)
        lgeos.GEOSFree(result)
        if sys.version_info[0] >= 3:
            return text.decode('ascii')
        else:
            return text
def write ( self , geom ) : if geom is None or geom . _geom is None : raise ValueError ( "Null geometry supports no operations" ) result = self . _lgeos . GEOSWKTWriter_write ( self . _writer , geom . _geom ) text = string_at ( result ) lgeos . GEOSFree ( result ) if sys . version_info [ 0 ] >= 3 : return text . decode ( 'ascii' ) else : return text