-
Notifications
You must be signed in to change notification settings - Fork 562
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
WKBWriter produces invalid WKB data #151
Comments
|
Yup, that's doing something weird. Did your build of GEOS pass the tests? ( I left some of the older readers and writers in place, which raise a Furthermore, the old readers are: from shapely.geometry import base
base.geom_from_wkt('POINT(2 4)').to_wkt()
base.geom_from_wkb('010100000000000000000000400000000000001040'.decode('hex')).to_wkt() |
|
This does indeed seem to be a problem with my GEOS build. The tests fail, and it looks like the errors are related to similarly empty geometries. I'll follow this up on the GEOS mailing list, but I guess this issue can be closed. The shapely test cases do seem to catch this as well: Serves me right for not running the tests when installing things... |
The wkb and wkb_hex methods are giving me the wrong output (see code sample below). I'm not sure if this is an issue with shapely, or the underlying GEOS library (which I compiled myself).
I'm running Python 2.7.6 (32 bit) on Windows 7 with GEOS 3.4.2 (compiled with MinGW32).
The text was updated successfully, but these errors were encountered: