pombreda / pysal

Automatically exported from code.google.com/p/pysal
Other
0 stars 0 forks source link

Refactor contiguity weights with python-rtree #152

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Test and integrate new python-rtree

Original issue reported on code.google.com by phil.stp...@gmail.com on 14 Apr 2011 at 6:49

GoogleCodeExporter commented 9 years ago
refactor rtree contiguity weights builder to use pysal's rtree implementation.

Original comment by schmi...@gmail.com on 14 Apr 2011 at 7:00

GoogleCodeExporter commented 9 years ago

Original comment by phil.stp...@gmail.com on 19 Apr 2011 at 1:02

GoogleCodeExporter commented 9 years ago
python rtree is faster than binning:

{{{
In [1]: run _contW_rtree.py
Completed in:  0.213819980621 seconds using rtree

In [2]: run _contW_binning.py
using ../examples/10740.shp
time elapsed for ... using bins: 0.409120082855

}}}

so we will use rtree rather than binning. check for c rtree is removed.

Original comment by sjsrey on 19 Apr 2011 at 4:03