-
Notifications
You must be signed in to change notification settings - Fork 557
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
Shapely 1.4.0 not working with libgeos 3.2.2 (ubuntu precise) #176
Comments
|
@olethanh Can you test for me? |
Thanks @sgillies. It fixed the issue with GEOSisClosed but then fail on another symbol:
|
According to Even in http://lists.osgeo.org/pipermail/gdal-dev/2011-August/029802.html, that function is in GEOS > 3.1. Git blame confirms that it goes back to 2010: https://github.com/libgeos/libgeos/blame/svn-trunk/capi/geos_c.cpp#L843. @olethanh can you check whether a very ancient GEOS is hanging out in /usr/lib and getting in the way at runtime? I'll close this issue, and we'll open a new one if Shapely does indeed have a problem with GEOSGeom_getCoordinateDimension. |
I'm pretty sure it's okay, but just want to double-check...
|
Here is what I have in my /usr/lib:
I don't have any other libgeos on the system. |
I should point out that I've logged the C API changes for each GEOS release in https://github.com/mwtoews/GEOS_CAPI, so you can easily compare each release to see what has changed between versions. And as I've noted previously, use the GEOS version number, not the C API version, since it isn't reliable (#65). |
thanks, @mwtoews! |
@olethanh can you give the 1.4.1 release a try? |
I also am running into the same problem using Shapely 1.4.1 in a new virtualenv, whereas my old virtualenv with Shapely 1.2.18 works fine: from shapely.geos import lgeos I also checked libgeos-c1: sudo apt-get install libgeos-c1 |
@stuartz Confirmed. I bungled the 1.4.1 release :( Am sorting out the maint-1.4 branch now and will upload a 1.4.2 in a few minutes. |
Sorry I was on holiday, I'm confirming that it's now working with the latest release of shapely (1.4.3) |
Hello,
when using Shapely 1.4.0 with the libgeos-c1 package from Ubuntu 12.04 (precise) at version 3.2.2-3ubuntu1, I get an import error. Reverting to Shapely 1.3.0 fix the problem. The documentation mention that all version above libgeos 3.1 are supported some maybe that should be updated?
Here is the error I got:
The text was updated successfully, but these errors were encountered: