Stemming from my other question: When would a PostGIS geometry compare using ~= return true when ST_Equals returns false?, what is the PostGIS 2.x equivalent of the pre-PostGIS 1.5 ~= operator?
It appears that from 1.4 to 1.5, the
~= operator changed from an "exactly equal" to an "bnd equal":
For example, in v1.3:
The "~=" operator is the "same as" operator. It tests actual geometric equality of two features. So if A and B are the same feature, vertex-by-vertex, the operator returns true.
and in 1.5 and later:
Returns TRUE if A's bounding box is the same as B's.
I'm mostly interested in PostGIS2.0, but I'm not tagging a specific version and leaving it open.