globalmapper.SpatialWithin ========================== .. currentmodule:: globalmapper .. py:function:: SpatialWithin (GM_LayerHandle_t32 aLayer1, GM_LayerHandle_t32 aLayer2, GM_SpatialOps_Params_t aParams) -> GM_Error_t32 The **Within** predicate returns the set of features from one layer that are wholly contained by a feature from another layer. A feature is within another feature if the interiors of the features intersect, but the interior of the within feature does not intersect the boundary of the containing feature. The two features can share some boundary. :param GM_LayerHandle_t32 aLayer1: First layer in predicate :param GM_LayerHandle_t32 aLayer2: Second layer in predicate :param GM_SpatialOps_Params_t aParams: Parameters :returns: Error Code :rtype: GM_Error_t32