-
Notifications
You must be signed in to change notification settings - Fork 45
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
ENH: Follow ups for the hilbert_distance function #85
Comments
One more thing to add is to ensure that codecov sees the coverage of numba jitted functions. We'll probably need to run that bit again without that using env variable. |
Another follow up is to centralise/ generalise several functions that are used by both hilbert_distance
|
I didn't follow this implementation closely, but is the plan to rely on the Lines 6 to 11 in 99fa1a8
|
@TomAugspurger We don't depend on it. It is used only in CI. We use the custom numba implementation ported from spatialpandas. |
The
hilbert_distance
function will shortly be merged into Dask-GeoPandas.There was several enhancements that were discussed as follow up items, which include:
total_bounds
argument tohilbert_distance
function if this is already pre-computed: ENH: allow to specify known total_bounds for Hilbert/Morton distance #145spatial_partitions
if present. -> ENH: use total_bounds of spatial_partitions if available for Hilbert/Morton distance #161_continuous_to_discrete_coords
is not necessary:Currently the(no longer using numba)_continuous_to_discrete
function clips discrete integer values using base Python becausenumpy.clip
is not currently supported by Numba:numpy.clip
when it's supported by Numba - v0.54_continuous_to_discrete
- to use numpy.int32 instead of numpy.int64p
parameter that controls precision of resulting Hilbert curve; need to help user understand how to set this themselves / when this can be useful to set this themselves. (also check hackmd notes)Note: Will add permalinks when merged.
The text was updated successfully, but these errors were encountered: