Skip to content
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

spatial analyses - add optimisation for cases where nbr sets are always the same #304

Closed
GoogleCodeExporter opened this issue Mar 27, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

The sp_point_in_poly() and sp_point_in_poly_shape() subs both return the same 
set of neighbours for a given input.  In such cases we can cache the set of 
groups that occur in the polygons and access them directly in subsequent calls. 
 This avoids all the overheads of searching incurred when setting up the 
neighbour search.  

The risk is that some cases will not always be the same.  Need to allow the 
user to turn off the optimisations.  




Original issue reported on code.google.com by shawnlaffan on 25 Jun 2012 at 11:48

@GoogleCodeExporter
Copy link
Author

This issue was updated by revision r975.

Add support for spatial conditions that are always the same.

Original comment by shawnlaffan on 25 Jun 2012 at 11:50

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

Original comment by shawnlaffan on 25 Jun 2012 at 11:50

  • Changed title: spatial analyses - add optimisation for cases where nbr sets are always the same
  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

This issue was updated by revision r980.

Add progress dialogue as some always_same conditiosn can take a while to 
process on the first pass.  

Original comment by shawnlaffan on 27 Jun 2012 at 1:35

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

Mark as fixed

Original comment by shawnlaffan on 4 Jul 2012 at 10:47

  • Changed state: Fixed
  • Added labels: ****
  • Removed labels: ****

@shawnlaffan shawnlaffan modified the milestone: Release_0.17 Feb 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants