GM_SpatialRelate

Two-layer relate predicate. The GM_SpatialRelate() function is a general purpose predicate that implements the DE-9IM standard for specifying spatial predicates beyond the common 'named' predicates like 'equals', within', etc. See https://en.wikipedia.org/wiki/DE-9IM for more information. The aStr parameter must be a 9 character string containing 'T', 'F', or '*' characters as discussed in the Wikipedia article, denoting the desired spatial predicate.

Syntax

C++
Copy
GM_DLL_EXPORTED GM_Error_t32 __stdcall GM_SpatialRelate
(
    GM_LayerHandle_t32      aLayer1,  // IN: First layer in predicate
    GM_LayerHandle_t32      aLayer2,  // IN: Second layer in predicate
    GM_SpatialOps_Params_t* aParams,  // IN: Parameters
    const char*             aStr      // IN: the DE-9IM predicate string
)