openlostcat/categorycatalog.py
def apply_all_evaluation(self, tag_bundle_set):
        """Categorizes a location (by its tag bundle set) with the all-matching category strategy
        (possible multiple output)

        :param tag_bundle_set: set of dicts of tags of osm objects at the location to be categorized
        :return: list of matching categories
        """
        categories_list = []
        for num, category in enumerate(self.categories):
            (is_matching_category, op_result_meta_info) = category.apply(tag_bundle_set)
            if is_matching_category:
                categories_list.append(
                    (num, category.name, op_result_meta_info) if self.debug else (num, category.name))
        return categories_list if categories_list else [(-1, None, []) if self.debug else (-1, None)]
Categorizes a location (by its tag bundle set) with the all-matching category strategy
        (possible multiple output)

        :param tag_bundle_set: set of dicts of tags of osm objects at the location to be categorized
        :return: list of matching categories
        
Categorizes a location (by its tag bundle set) with the all-matching category strategy
(possible multiple output)
Categorizes a location ( by its tag bundle set ) with the all - matching category strategy ( possible multiple output )
def apply_all_evaluation(self, tag_bundle_set):
        categories_list = []
        for num, category in enumerate(self.categories):
            (is_matching_category, op_result_meta_info) = category.apply(tag_bundle_set)
            if is_matching_category:
                categories_list.append(
                    (num, category.name, op_result_meta_info) if self.debug else (num, category.name))
        return categories_list if categories_list else [(-1, None, []) if self.debug else (-1, None)]
def apply_all_evaluation ( self , tag_bundle_set ) : categories_list = [ ] for num , category in enumerate ( self . categories ) : ( is_matching_category , op_result_meta_info ) = category . apply ( tag_bundle_set ) if is_matching_category : categories_list . append ( ( num , category . name , op_result_meta_info ) if self . debug else ( num , category . name ) ) return categories_list if categories_list else [ ( - 1 , None , [ ] ) if self . debug else ( - 1 , None ) ]
Categorizes a location (by its tag bundle set) with the all-matching category strategy
(possible multiple output)
Categorizes a location ( by its tag bundle set ) with the all - matching category strategy ( possible multiple output )
"""Categorizes a location (by its tag bundle set) with the all-matching category strategy
        (possible multiple output)

        :param tag_bundle_set: set of dicts of tags of osm objects at the location to be categorized
        :return: list of matching categories
        """
list of matching categories
list of matching categories
self
tag_bundle_set
set of dicts of tags of osm objects at the location to be categorized
set of dicts of tags of osm objects at the location to be categorized