Adding features to find public toilets and shopping streets #41

Merged
kscheidecker merged 21 commits from feature/backend/toilets-and-shopping-streets into main 2024-12-14 15:57:09 +00:00
Showing only changes of commit fdb5f34e26 - Show all commits

View File

@@ -70,6 +70,10 @@ class ShoppingManager:
# First generate the clusters
self.generate_clusters()
# Return empty list if no clusters were found
if len(set(self.cluster_labels)) == 0 :
return []
# Then generate the shopping locations
self.generate_shopping_locations()