Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

# Equals
[Spatial Relationships]

## OGC Definition

[OGC99-049] simply defines the Equals method as follows. "Equals(anotherGeometry:Geometry):Integer Returns 1 (TRUE) if this Geometry is 'spatially equal' to anotherGeometry."

## Oracle Spatial Definition

[OSUGR] defines the EQUAL spatial operator as follows. "The two objects have the same boundary and interior." The FDO Oracle Provider implements equals using the equal spatial operator.

equals = equal as used in the third argument to the sdo_relate spatial operator, for example, `sdo_relate(a.geometry, mdsys.sdo_geometry(2001, NULL, mdsys.sdo_point_type(1,1,NULL), NULL, NULL), 'mask=equal').`

Comments or suggestions? Send us feedback.