Skip to content

Fix the ToWKB for empty points #60

@caspervdw

Description

@caspervdw

The WKB spec does not allow empty points. Some reads:

shapely/shapely#742
https://trac.osgeo.org/postgis/ticket/3181

If I'm correct (needs checking), we should serialize it to POINT (NaN, NaN), and deserialize back to POINT EMPTY.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions