def local_landmarkness_track(traversed_nodes, nodes_gdf, buildings_gdf):
    """
    It computes the accumulated local landmarkness of a route (a sequence of traversed nodes). This is designed for computing the local landmarkness of a GPS trajectory.
    This function should be executed per row by means of the df.apply(lambda row : ..) function. 
    
    Parameters
    ----------
    traversed_nodes: List of Node
        The list of traversed nodes by a track
    nodes_gdf: Point GeoDataFrame
        The GeoDataFrame of the nodes of a street network
    buildings_gdf: Polygon GeoDataFrame
        The GeoDataFrame of the buildings of a city, with landmark scores
    
    Returns
    -------
    float
    """

    lL = 0.0
    for n in traversed_nodes:
        if len(nodes_gdf.loc[n].loc_land) == 0: continue
        node_lL = buildings_gdf[buildings_gdf.buildingID.isin(nodes_gdf.loc[n].loc_land)]['lScore_sc'].max()
        lL += node_lL
                
    return lL