-
Notifications
You must be signed in to change notification settings - Fork 156
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
[DOC/QST] Scale parameter in quadtree methods #397
Comments
quadtrees work on a discrete space. scale, together with x_min and y_min, defines the configuration of the grid that a quadtree works on. The smaller the scale, the more rows/columns of the grid and typically the larger and the deeper of the resulting quadtree. That being said, the tradeoff between filtering and refinement (for spatial join and other query types) when utilizing quadtree indexing does not have a definite relationship with scale (or grid resolution). |
This issue has been labeled |
This issue has been labeled |
We should add more of an explanation as provided by @zhangjianting to the documentation for this function. |
This issue has been labeled |
@trxcllnt can you add the explanation as part of your refactoring? |
This issue has been labeled |
We need to update the documentation here:
We should also provide default values for scale, max_depth. Also the Python API for min_size needs to be updated to match max_size in the C++ API. Discussion:
|
The API documentation describes the
scale
parameter as, "Scale to apply to each point’s distance from (x_min, y_min)." While this is comprehensible, I'm struggling to understand why someone would want to change it. Is it so that the location data can be kept in coordinate reference frame, while outputs for trajectories, etc. can be given in another? I've looked over the demos and examples and can't find any explanation for why this feature is useful, and I'm not sure how it affects the quadtree results, if at all. Thanks for any clarification you can provide!The text was updated successfully, but these errors were encountered: