Testing Spatial Relationships

Methods that test the relationship between two objects
Method Description Supported Datatypes
STEquals() Determines whether two instances are comporised of the same point set geometry geography
STDistance() Calculates the shortest distance between two instances geometry geography
STIntersects() Determines whether two instances intersect geometry geography
Filter() Determines whether two instances intersect, based on spatital index geometry geography
STDisjoint() Determines whether two instances are disjoint (separate) geometry geography
STTouches() Determines whether two instances touch geometry
STOverlaps() Determines whether two instances overlap geometry
STCrosses() Determines whether one instance crosses another geometry
STWithin() Determines whether one instance lies within another geometry
STContains() Determines whether one instance contains another geometry
STRelate() Tests whether two instances exhibit a given relationship specified using the DE-9IM model geometry

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options