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

Oasis - No nearby connection has been found for point inside LA #262

Closed
CodeBear801 opened this issue Apr 2, 2020 · 3 comments
Closed
Labels
Bug Something isn't working

Comments

@CodeBear801
Copy link

CodeBear801 commented Apr 2, 2020

This bug related with: #238

When try to find nearby charge station for 800,000 meters, I found warning in logs say that some point in LA didn't has near by charge stations, which is impossible.

@CodeBear801
Copy link
Author

Debug strategy:

  • For each charge station point, log all the s2 cells it covered
  • For each charge station point, when apply s2 query, log all s2 cells it want to retrieve data from
  • visualize result

@CodeBear801
Copy link
Author

CodeBear801 commented Apr 2, 2020

Issue found: Query's level is one level up compare with pre-processing:
image
The small cell in middle is the max level generated in preprocessing, the large cell is two of query cell's result near given location, which is one level up.

Debug information

38.94177,-121.10558

point = {ID:26376303 Location:{Lat:38.94177 Lon:-121.10558}} {809b106b873,809b106b874,809b106b87,809b106b84,809b106b9,809b106bc,809b106b,809b106c,809b107,809b104,809b11,}

image

query_result.txt

image

+++ p.Location = {Lat:38.94177 Lon:-121.10558}, 800000, nearbyIDs = 0

@CodeBear801 CodeBear801 added the Bug Something isn't working label Apr 2, 2020
@CodeBear801
Copy link
Author

Some improvement suggestions:

  • May be consider to record data into bigger cells, to level = 6, then 'S2' will merge small cells in the middle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant