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 support for "EMPTY" WKT and WKB #4

Closed
larsbutler opened this issue Oct 16, 2013 · 1 comment · Fixed by #21
Closed

Add support for "EMPTY" WKT and WKB #4

larsbutler opened this issue Oct 16, 2013 · 1 comment · Fixed by #21
Assignees

Comments

@larsbutler
Copy link
Member

WKB/WKT parsers/writers need to support empty geometries.

NOTE: WKB does not support POINT EMPTY. When converting an empty point to WKB, an exception should be raised.

Open issue: What's the best way to represent empty geometries in GeoJSON? There doesn't seem to be anything directly supported in the spec: http://geojson.org/geojson-spec.html

@larsbutler larsbutler changed the title Add support for "EMPTY" WKT Add support for "EMPTY" WKT and WKB Aug 18, 2014
@larsbutler larsbutler self-assigned this Aug 18, 2014
@larsbutler
Copy link
Member Author

@sgillies Question for you: What's the preferred way of representing empty geometries in GeoJSON? It's not covered in the specification. For the branch I'm working on right now, I'm just treating an empty coordinates list as "EMPTY". Is there a better or more ubiquitous way?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant