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

Ranges class throws error "java.lang.IllegalArgumentException: ranges must be added in increasing order and without overlap" #14

Open
nkoutroumanis opened this issue Jul 1, 2021 · 1 comment

Comments

@nkoutroumanis
Copy link

nkoutroumanis commented Jul 1, 2021

Hello David,

Based on the Benchmarks class, I modified it a little bit for my own case. Specifically, by using the following values (defined in the Query internal class)

    _float lat1 = 34.936015f;
    float lon1 = 19.685170f;
    long minTime = 1534280400000L;
    long maxTime = 1535749199999L;
    long t1 = 1534280405000L;
    float lat2 = 41.706090f;
    float lon2 = 28.240304f;
    long t2 = 1535745599000L;
    int bits = 6;
    int dimensions = 3;_

I get the error java.lang.IllegalArgumentException: ranges must be added in increasing order and without overlap
I suppose that this error has to do with the temporal dimension. But the defined covering time [t1,t2] is in the [minTime, maxTime] interval. Maybe I set something wrong?

Thank you,
Nikos

@davidmoten
Copy link
Owner

thanks for this, I'll have a look

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants