You can test equality between two geospatial objects. More importantly, you can use the following functions to test spatial relationships between geospatial objects. All locations belonging to the first object are inside the boundaries of the second object.
All locations belonging to the the first object are outside the boundaries of the second object.
The second object must define a region. Whether the first and second objects share any locations. For instance, a point intersects with a line segment if the point is on the path between the endpoints of the line segment. The closest locations belonging to the first and second object are less than the specified distance apart. The closest locations belonging to the first and second object are farther than the specified distance apart.