def dehydrate_point(value):
dim = len(value)<EOL>if dim == <NUM_LIT:2>:<EOL><INDENT>return Structure(b"<STR_LIT:X>", value.srid, *value)<EOL><DEDENT>elif dim == <NUM_LIT:3>:<EOL><INDENT>return Structure(b"<STR_LIT:Y>", value.srid, *value)<EOL><DEDENT>else:<EOL><INDENT>raise ValueError("<STR_LIT>" % dim)<EOL><DEDENT>
Dehydrator for Point data.

    :param value:
    :type value: Point
    :return: