This code deals with getting the appropriate garmin tag to use for an OSM node or way, based on the tags for the element. This code should be independant of the method used to read the data, which may be from an xml file or from a database for example.