@pmonteiro I'm not sure what the OGC specification you referenced is trying to tell us - I find that presentation very confusing as I odn't really understand the matrix algebra. But I'm pretty sure Equals is typically thought to be T*F**FFF*. Equals is equivalent to Within & Contains:
Within
T*F**F***
ContainsT*****FF*
EqualT*F**FFF*
Also defined for PostGIS here
@pmonteiro I'm not sure what the OGC specification you referenced is trying to tell us - I find that presentation very confusing as I odn't really understand the matrix algebra. But I'm pretty sure Equals is typically thought to be T*F**FFF*. Equals is equivalent to Within & Contains:
Within
T*F**F***
ContainsT*****FF*
EqualT*F**FFF*
Also defined for PostGIS here
Thanks Mark.
Googling a bit, found here that OGC definition is not fully compliant with some situations, such as equality between points: the boundary of a Point is by definition empty, whereas OGC states a non-empty intersection between boundaries of equal geometries: TFFFTFFFT.
Better to use T*F**FFF*, then.
Best regards.