'Returns the WKB of this Geometry in hexadecimal form.  Please note
that the SRID is not included in this representation because it is not
a part of the OGC specification (use the `hexewkb` property instead).'

@property
def hex(self):

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