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

Fixed toByteString in Data.Ewkb to allow SridType to be specified. #9

Merged
merged 1 commit into from
Feb 9, 2019

Conversation

tenniscp25
Copy link
Contributor

Currently the implementation of toByteString in Data.Ewkb is exactly
the same as that in Data.Wkb. This causes postgis (via persistent-postgresql)
to reject the serialized EWKB as it doesn't contain SRID.

Not sure if I get the library's intention right. Please close this PR if I'm wrong.

@newmana
Copy link
Collaborator

newmana commented Feb 9, 2019

This looks right to me. Thanks for the change.

@newmana newmana merged commit c4b539f into zellige:master Feb 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants