Skip to content

wkb scanner: support hex encoded data from go-pg #37

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

Merged
merged 1 commit into from
Sep 24, 2019
Merged

wkb scanner: support hex encoded data from go-pg #37

merged 1 commit into from
Sep 24, 2019

Conversation

paulmach
Copy link
Owner

@arthurgustin

go-pg returns some(?) binary data as \xHexvalues vs. the binary that the library expected. PR adds some code to check for the \x prefix and does the hex -> binary conversion for the rest of the data.

I tested this with local postgis table, but only for Point data. More testing would be helpful.

@paulmach paulmach merged commit b9f02db into master Sep 24, 2019
@paulmach paulmach deleted the hex branch October 31, 2020 23:45
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.

1 participant