def simplify_other(major, minor, dist):
    """
    Simplify the point featurecollection of poi with another point features accoording by distance.
    Attention: point featurecollection only

    Keyword arguments:
    major    -- major geojson
    minor    -- minor geojson
    dist     -- distance 

    return a geojson featurecollection with two parts of featurecollection
    """
    result = deepcopy(major)
    if major['type'] == 'FeatureCollection' and minor['type'] == 'FeatureCollection':
        arc = dist/6371000*180/math.pi*2
        for minorfeature in minor['features']:
            minorgeom = minorfeature['geometry']
            minorlng = minorgeom['coordinates'][0]
            minorlat = minorgeom['coordinates'][1]

            is_accept = True
            for mainfeature in major['features']:
                maingeom = mainfeature['geometry']
                mainlng = maingeom['coordinates'][0]
                mainlat = maingeom['coordinates'][1]
          
                if abs(minorlat-mainlat) <= arc and abs(minorlng-mainlng) <= arc:
                    distance = point_distance(maingeom, minorgeom)
                    if distance < dist:
                        is_accept = False
                        break
            if is_accept:
                result["features"].append(minorfeature)
    return result
Simplify the point featurecollection of poi with another point features accoording by distance.
    Attention: point featurecollection only

    Keyword arguments:
    major    -- major geojson
    minor    -- minor geojson
    dist     -- distance 

    return a geojson featurecollection with two parts of featurecollection