def discovery_dile_by_radius(lon,lat,radius):
    """Discovery the diles given a center point by lon/lat and a radius in km.

    :example: /discovery/dile/by/radius/-135.0/22.5/5000.0
    :param: dim -- json document
    :param: var -- single or multiple string variables' names 
    :returns: geojson -- the return a feature collection with the selected diles.
    -------------------------------------------------------------------------------------------

    """

    qbm = QueryBuilderMongo()

    d_param = request.args.get('dim')
    v_param = request.args.getlist('var')

    # creating the dimension query
    if d_param is not None:
        qbm = getDimentions(d_param, qbm)

    # creating the variables query
    if v_param:
        qbm = getVariables(v_param, qbm)

    query = qbm.queryIntersectRadius(app.config['LOCATION'], float(lon), float(lat), float(radius))

    qbm.addField(query)
    qbm.addProjection({"_id": 0, "uri" : 1})

    return jsonify(query_diles_db(qbm.getQuery()))