Open Grisoulechat opened 5 months ago
I found the issue but don't know how to fix it, but there is a walkaround.
You can see in the browser API calls, the epoch number rolled back from 967
from 966
.
If we hardcoded the epoch number at line 66: https://github.com/Grisoulechat/earth-reverse-engineering-utils/blob/d52277130c65e4bd92a1a59085bf7964c8bb7c58/find_overlaps.py#L66 to 966 the script runs normally.
If you only wants to download the data, the hotfix should work for now.
The hotfix:
@@ -64,6 +70,7 @@ class NodeData(object):
def find_overlaps(bbox, max_octants_per_level):
planetoid_metadata = read_planetoid_metadata()
epoch = planetoid_metadata.root_node_metadata.epoch
+ epoch = 966
overlapping_octants = defaultdict(list)
Thanks, it works but the search stops at octant level 8 I can't search after zoom 8, before I could zoom up to 18 or 20
I summited a patch to fix the epoch issue: https://github.com/LexSong/earth-reverse-engineering-utils
Please check if this fixes your issue.
THANKS, you're perfect @LexSong
@LexSong
Today the python file, python find_overlaps.py no longer works. Can you help me please ? Here is the error :