def nodes_callback(self, data):
        """ Callback for nodes with tags """
        for node_id, tags, coords in data:
            # Discard the coords because they go into add_coords
            self.nodes[node_id] = tags
def nodes_callback ( self , data ) : for node_id , tags , coords in data : self . nodes [ node_id ] = tags
Callback for nodes with tags