}
std::shared_ptr<MacSet> allMacs = macSetsUnion(macSets);
__mergeLocation(mergedVisits, *place);
-
PlaceCateger::categorize(mergedVisits, *place);
+ /*
+ * At this stage getting network names associated with Wifi AP MAC addresses is not needed (by looking
+ * to Wifi APs MAC addresses to network names map in database). This additional information for place
+ * is needed only when place is returned for external clients (getting straight from the database).
+ */
+ for (ctx::Mac mac : *allMacs) {
+ place->wifiAps.insert(std::pair<std::string, std::string>(mac, ""));
+ }
+
return place;
}