def parse_geometry(record, geometry_field_name):
    """
    Extract lat/lon from knack location record.
    """
    lat_field = f"{geometry_field_name}_latitude"
    lon_field = f"{geometry_field_name}_longitude"
    return record.get(lon_field), record.get(lat_field)