(self, geom)
return data
Returns WKB byte string for geometry
Returns WKB byte string for geometry
Returns WKB byte string for geometry
def write(self, geom):
        """Returns WKB byte string for geometry"""
        if geom is None or geom._geom is None:
            raise ValueError("Null geometry supports no operations")
        size = c_size_t()
        result = self._lgeos.GEOSWKBWriter_write(
            self._writer, geom._geom, pointer(size))
        data = string_at(result, size.value)
        lgeos.GEOSFree(result)
        return data
def write ( self , geom ) : if geom is None or geom . _geom is None : raise ValueError ( "Null geometry supports no operations" ) size = c_size_t ( ) result = self . _lgeos . GEOSWKBWriter_write ( self . _writer , geom . _geom , pointer ( size ) ) data = string_at ( result , size . value ) lgeos . GEOSFree ( result ) return data