(self, data)
return geometry.base.geom_factory(geom)
Returns geometry from WKB
Returns geometry from WKB
Returns geometry from WKB
def read(self, data):
        """Returns geometry from WKB"""
        geom = self._lgeos.GEOSWKBReader_read(
            self._reader, c_char_p(data), c_size_t(len(data)))
        if not geom:
            raise WKBReadingError(
                "Could not create geometry because of errors "
                "while reading input.")
        # avoid circular import dependency
        from shapely import geometry
        return geometry.base.geom_factory(geom)
def read ( self , data ) : geom = self . _lgeos . GEOSWKBReader_read ( self . _reader , c_char_p ( data ) , c_size_t ( len ( data ) ) ) if not geom : raise WKBReadingError ( "Could not create geometry because of errors " "while reading input." ) # avoid circular import dependency from shapely import geometry return geometry . base . geom_factory ( geom )