'Return the WKB (Well-Known Binary) representation of this Geometry
as a Python buffer.  SRID and Z values are not included, use the
`ewkb` property instead.'

@property
def wkb(self):

    return wkb_w((3 if self.hasz else 2)).write(self)
