def id_to_loc(gdf, fid):
    """Provides the location (coordinates) of the given feature identifier in the GeoDataFrame.
    
    Args:
         gdf: A GeoDataFrame containing the input points.
         fid: The identifier of a feature in the GeoDataFrame.
         
    Returns:
          An array [x, y] denoting the coordinates of the feature. 
    """
    
    return [gdf.loc[fid]['geometry'].x, gdf.loc[fid]['geometry'].y]