In order to get the results, why do we need to store Location IDs in quad tree. Aren’t we already storing the Grid Id (as a column) against each place in the database?
Search flow would be (Keeping it simple for brevity sake)
Get to the lead node in which the search lat, long falls into
Get its grid ID
and search places from DB that has this Grid Id
Am I missing something? Kindly clarify. Thank you!