FindFeaturesInArea ================== .. currentmodule:: globalmapper .. py:function:: FindFeaturesInArea ([GM_LayerHandle_t32] aLayerList, GM_FindFlags_t32 aFindFlags, GM_AreaFeature_t aAreaToSearch, GM_Projection_t aAreaProj, uint32 aReserved=0) -> GM_Error_t32, GM_FoundFeatureResults_t Searches the provided list of layers for any visible vector features within the provided area feature. You can find area, line, and/or point features that are completely within the provided area feature. The results are returned in a GM_FoundFeatureResults_t list. After you are done with it, use :doc:`FreeFeatureResultList` to free the result list. :param [GM_LayerHandle_t32] aLayerList: List of layers to search for points or None for all vector layers :param GM_FindFlags_t32 aFindFlags: Flags controlling how the find is performed :param GM_AreaFeature_t aAreaToSearch: Area feature to search (use :doc:`GetAreaFeature` to get from loaded layer) :param GM_Projection_t aAreaProj: Projection of coordinates in area feature (use :doc:`GetLayerInfo()<../load/globalmapper.GetLayerInfo>`.mNativeProj to get layer projection) :param uint32 aReserved: Reserved for future use; defaults to 0 :returns: Error Code :rtype: GM_Error_t32 :return: Results of find operation (use FreeFeatureResultList to free when done) :rtype: GM_FoundFeatureResults_t