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

Clash between Shapely and other GEOS libraries #3

Open
eboyda opened this issue Mar 28, 2019 · 0 comments
Open

Clash between Shapely and other GEOS libraries #3

eboyda opened this issue Mar 28, 2019 · 0 comments

Comments

@eboyda
Copy link
Contributor

eboyda commented Mar 28, 2019

This is an issue with external libraries.

There is a known clash between shapely and the GEOS libraries - osgeo and therefore possibly rasterio and gbdxtools. So far, importing shapley before the other libraries has
cured the problem here - and I think the reordering of imports in dg_grabber.py is the only place this explicitly impacts the code base. When working from the interpreter, I know have to import utilities.geobox.geobox before dg_grabber.

There is some thought that the clash lies between Homebrew python / gdal installations
and shapley. See: shapely/shapely#260

If an exception is thrown, it will typically come with a (somewhat cryptic) message of the form:
"Assertion failed: (0), function query, file AbstractSTRtree.cpp, line 287."

@eboyda eboyda transferred this issue from another repository Jul 11, 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

No branches or pull requests

1 participant