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

Read MySQL Point incorrectly #4

Open
jhkchan opened this issue Dec 8, 2015 · 4 comments
Open

Read MySQL Point incorrectly #4

jhkchan opened this issue Dec 8, 2015 · 4 comments
Assignees
Labels

Comments

@jhkchan
Copy link

jhkchan commented Dec 8, 2015

In MySQL 5.6, I have data Point(13.5 -16) and parser returns

array(
    'type' => 'POINT',
    'value' => array('7.2911220195564E-304', '2.3494737397567E-310'),
    'srid' => null
)
@djlambert
Copy link
Member

Can you do a SELECT ST_AsWKB(column) FROM table for the value and provide the output?

@djlambert djlambert self-assigned this Feb 25, 2016
@djlambert djlambert added the bug label Feb 25, 2016
@djlambert
Copy link
Member

@jhkchan what processor are you seeing this with? A big endian platform would explain it. PR #9 will resolve this issue.

@jhkchan
Copy link
Author

jhkchan commented Apr 28, 2016

I rolled back and used older version. So will test new version again later. Thx!

@djlambert
Copy link
Member

The changes are now in version 2.2.0. Test when you have a chance and provide the results. Thanks!

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

No branches or pull requests

2 participants