Global Mapper SDK
| OperationParams_t.GM_SpatialOps.SpatialRelate Method |
Two-layer relate predicate. This 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.
Namespace:GlobalMapper
Assembly: GlobalMapperWrapperNET45 (in GlobalMapperWrapperNET45.dll) Version: 19.1.0.0 (19.1.0.0)
Syntax
C#
Copy
public static GM_Error_t32 SpatialRelate(
GM_Layer_t aLayer1,
GM_Layer_t aLayer2,
GM_SpatialOps_Params_t aParams,
string aStr
)Parameters
- aLayer1
-
Type:
GlobalMapper.Types
.
GM_Layer_t
IN: First layer in predicate
- aLayer2
-
Type:
GlobalMapper.Types
.
GM_Layer_t
- IN: Second layer in predicate
aParams
-
Type:
GlobalMapper
.
GM_SpatialOps_Params_t
IN: Parameters
aStr
-
Type:
System.String
IN: IN: the DE-9IM predicate string
Return Value
Type: GM_Error_t32A GM Error Code
Comments
0 comments
Please sign in to leave a comment.