This is open ended question and goal is to design retrieval system based on longitude and latitude. How you will search based on co-ordinates? How this will be stored in DB?
Google geospatial index
How the implementation would work.
Quad tree
grokking the systen design is the friend u wish u had
1. Use computer vision and satellite data to map tops of buildings to businesses 2. For each business, store the list of nearby businesses in a pickled python object (Yelp is a Python ship) 3. Done!
Ah yes just gotta call 'import computer vision' 😒
I’d use an r* tree
Can you expand?