On Jan 27, 2010, at 9:49 PM, Jaakko Salli wrote: > > Hi Sean, > > On 27.1.2010 22:26, Sean Gillies wrote: >> Includes a fix for #202 so GEOS versions < 3.2 are once again >> supported. > > Tests still complain about missing GEOSProject (I'm using > GEOS 3.1.1 DLL). For example: > > ====================================================================== > FAIL: Doctest: linear-referencing.txt > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "C:\Python26\lib\doctest.py", line 2145, in runTest > raise self.failureException(self.format_failure(new.getvalue())) > AssertionError: Failed doctest test for linear-referencing.txt > File "c:\lib\shapely-1.2\shapely\tests\linear-referencing.txt", > line 0 > > ---------------------------------------------------------------------- > File "c:\lib\shapely-1.2\shapely\tests\linear-referencing.txt", line > 7, in linea > r-referencing.txt > Failed example: > line1.project(point) > Exception raised: > Traceback (most recent call last): > File "C:\Python26\lib\doctest.py", line 1241, in __run > compileflags, 1) in test.globs > File "<doctest linear-referencing.txt[3]>", line 1, in <module> > File "c:\lib\shapely-1.2\shapely\geometry\base.py", line 244, > in wrapper > return func(*args, **kwargs) > File "c:\lib\shapely-1.2\shapely\geometry\base.py", line 253, > in wrapper > return func(*args, **kwargs) > File "c:\lib\shapely-1.2\shapely\geometry\base.py", line 509, > in project > return lgeos.GEOSProject(self._geom, point._geom) > AttributeError: 'LGEOS16' object has no attribute 'GEOSProject' >
Yes, but at least the tests run for 1.2a5 with GEOS 3.1.1. With the 1.2a4 distribution, you could not import shapely.geos. We'll iron the tests out before the final. -- Sean _______________________________________________ Community mailing list [email protected] http://lists.gispython.org/mailman/listinfo/community
