Shihab Mehboob on Nostr: My biggest bottleneck was figuring out a way to quickly traverse through 100k images ...
My biggest bottleneck was figuring out a way to quickly traverse through 100k images and reverse geocode their locations all in under a minute. The Apple API was rate limited (and would take hours to complete), and all other online APIs had similar issues and were expensive!
In the end I rolled out my own in-house solution that checks against a JSON dataset and uses an R-Tree to quickly and efficiently compare all locations. No other app does this!
Published at
2023-10-18 15:50:51Event JSON
{
"id": "e8c9290738a07b02fbf14c40d121f1b761f1e8995b0da2171fee53cef0b221f7",
"pubkey": "34240e776c42958d958ca472cc693f5f50aed00260b1ef74a36920f4695f2cb1",
"created_at": 1697644251,
"kind": 1,
"tags": [
[
"e",
"f58bfb9d5efd4a1924b2d953cf7ffdd60671944ed3e68286c92a9718450a7722",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://mastodon.social/users/JPEGuin/statuses/111256813682979143",
"activitypub"
]
],
"content": "My biggest bottleneck was figuring out a way to quickly traverse through 100k images and reverse geocode their locations all in under a minute. The Apple API was rate limited (and would take hours to complete), and all other online APIs had similar issues and were expensive!\n\nIn the end I rolled out my own in-house solution that checks against a JSON dataset and uses an R-Tree to quickly and efficiently compare all locations. No other app does this!",
"sig": "f45d1eacff5391db0dc93cf348a668b7dc2708d0aac631c492237bddbb3ee4cd32b9d66400b7fd5bcd9e13038e488d0dab5dc670dce2c0ac644544d344385ef0"
}