Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add WKB support for POINT EMPTY #567

Merged
merged 1 commit into from
Jul 25, 2020

Conversation

dr-jts
Copy link
Contributor

@dr-jts dr-jts commented Jul 25, 2020

Empty points are currently the only valid geometry that are not serializable in WKB.
Although the WKB spec does not support empty points, PostGIS, ESRI and others serialize them as points with NaN X and Y coordinates.
This commit enables WKB serialization and deserialization for POINT EMPTY using that approach.

Signed-off-by: Martin Davis mtnclimb@gmail.com

Signed-off-by: Martin Davis <mtnclimb@gmail.com>
@dr-jts dr-jts self-assigned this Jul 25, 2020
@dr-jts dr-jts merged commit 891c811 into locationtech:master Jul 25, 2020
@dr-jts dr-jts deleted the add-wkb-point-empty branch July 25, 2020 20:45
@pka pka mentioned this pull request Apr 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant