pombreda / pysal

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

bug in segmentLocator #211

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When the query point is far outside the segment bounding box, the radius 
(distance from the query point to the nearest filled cell) becomes very large.  
This radius is used to compute an index matrix which is filtered down to be 
with the grid and with in the search radius.  The problem is when the radius is 
too large the initial matrix is too big for memory. See lines 207-218 or 
segmentLocator.py in cg.

Original issue reported on code.google.com by schmi...@gmail.com on 19 Jun 2012 at 5:27

GoogleCodeExporter commented 9 years ago
Added Unit Test what demonstrates the problem. Still looking for a solution.

Original comment by schmi...@gmail.com on 12 Jul 2012 at 9:29

GoogleCodeExporter commented 9 years ago
Using a combination of the "old way" new way seems to solve the problem.  The 
"old way" using a query_ball_point when the query point is far outside the 
bounding box of the original segment data.

Need to clean up _kd2.

Original comment by schmi...@gmail.com on 13 Jul 2012 at 6:57

GoogleCodeExporter commented 9 years ago
Fixed in r1278

Original comment by schmi...@gmail.com on 17 Jul 2012 at 3:17