I've copied tags/rel-1.0.11 tag to branches/1.0 and have been moving  
ahead on what will be Shapely 1.1. I'm not planning any major API  
changes, but am doing some refactoring that may introduce a new bug or  
two along the way to a better codebase. New stuff includes a decorator  
to use when deprecating old functions, new GEOS geometry functions in  
a factory.py (which also cleans up the various geometry modules), the  
start of Sphinx-based documentation, and more and better tests. Here's  
the result of running `nosetests --with-doctest tests/test_*.py  
shapely` in revision 1176:

Name                               Stmts   Exec  Cover   Missing
----------------------------------------------------------------
shapely                                0      0   100%
shapely.deprecation                   13     13   100%
shapely.factory                      199    198    99%   10
shapely.geometry                       8      8   100%
shapely.geometry.base                325    256    78%   26, 33, 101,  
103, 112-113, 140-143, 203-207, 213-215, 218-225, 233, 241-243, 274,  
277, 300, 306-309, 319, 326, 337, 341, 383-385, 390-392, 396-398, 417,  
424-431, 481-487, 491, 499, 505, 509, 513, 518
shapely.geometry.collection           12      7    58%   25-28, 33
shapely.geometry.geo                  45      8    17%   17-35, 41-64
shapely.geometry.linestring           55     55   100%
shapely.geometry.multilinestring      44     44   100%
shapely.geometry.multipoint           70     70   100%
shapely.geometry.multipolygon         59     59   100%
shapely.geometry.point                93     93   100%
shapely.geometry.polygon             158    158   100%
shapely.geometry.proxy                31     19    61%   16, 24, 27,  
40-48
shapely.geos                          59     31    52%   12-24, 29-38,  
40, 45-51, 80, 84, 90-91
shapely.iterops                       37     18    48%   10-11, 28-29,  
32-46
shapely.ops                           24      6    25%   7-13, 18-29
shapely.predicates                    35     18    51%   20-22, 26-29,  
32-34, 48-50, 54-56, 59
shapely.topology                      33     20    60%   25-26, 29-41,  
61, 65
shapely.wkb                           22      7    31%   15-19, 23-24,  
28-35, 39
shapely.wkt                           22      7    31%   15-19, 23-24,  
28-35, 39
----------------------------------------------------------------
TOTAL                               1344   1095    81%
----------------------------------------------------------------------
Ran 129 tests in 0.602s

FAILED (errors=1, failures=1)

Over the next few months, I plan to fill out the tests for as close to  
100% as possible, race 1.1 against 1.0.11, do the profiling and  
tweaking so that it isn't drastically slower (and maybe even faster)  
than 1.0.11.

Cheers,
Sean
_______________________________________________
Community mailing list
[email protected]
http://lists.gispython.org/mailman/listinfo/community

Reply via email to