Click or drag to resize

GM_FindFeaturesFindFeaturesInArea Method

Finds features that are inside the given area feature

Namespace:  GlobalMapper
Assembly:  GlobalMapperWrapperNET45 (in GlobalMapperWrapperNET45.dll) Version: 19.1.0.0 (19.1.0.0)
Syntax
public static GM_Error_t32 FindFeaturesInArea(
	GM_LayerList_t aLayerList,
	GM_FindFlags_t32 aFindFlags,
	GM_AreaFeature_t aAreaToSearch,
	GM_Projection_t aAreaProj,
	out GM_FoundFeatureResults_t aResults,
	Object aReserved
)

Parameters

aLayerList
Type: GlobalMapper.TypesGM_LayerList_t
IN: List of layers to search or NULL for all vector layers
aFindFlags
Type: GlobalMapper.TypesGM_FindFlags_t32
IN: Flags controlling how the find is performed
aAreaToSearch
Type: GlobalMapper.TypesGM_AreaFeature_t
IN: Area feature to search (use GM_GetAreaFeature to get from loaded layer)
aAreaProj
Type: GlobalMapper.TypesGM_Projection_t
IN: Projection of coordinates in area feature (use GM_GetLayerInfo()->mNativeProj to get layer projection)
aResults
Type: GlobalMapper.TypesGM_FoundFeatureResults_t
OUT: Results of find operation (use GM_FreeFeatureResultList to free when done)
aReserved
Type: SystemObject
IN: Reserved for later use, must be NULL (0)

Return Value

Type: GM_Error_t32
A GM Error Code
See Also