def _gen_event_lat_lon(catalog):
    """ Create dictonary of event latitude and longitude using 
    event.resource_id.id as key"""
    event_lat = dict()
    event_lon = dict()
    for event in catalog.events:
        eve_id = event.resource_id.id
        event_lat[eve_id] = event.origins[0].latitude
        event_lon[eve_id] = event.origins[0].longitude
    
    return event_lat, event_lon