There are many Oracle Event Processing Spatial features, so you should review the very detailed product documentation on this subject. However, in this section, we will highlight some of the most commonly used Oracle Spatial Data Cartridge statements from various worldwide implemented solutions.
In the previous section we have introduced you to the CONTAIN
Oracle Spatial geometric relation operator. As this is not a method of the com.oracle.cep.cartridge.spatial.Geometry
class you invoke this operator without a package prefix simply using CONTAIN@spatial
:
Another useful Oracle Spatial method used in many applications is DISTANCE
, together with the NN Spatial operator.
DISTANCE
is a com.oracle.cep.cartridge.spatial.Geometry
method that calculates the distance between two geometries and returns a double value.
NN
is a Spatial operator that returns the objects (nearest neighbors) from geom
that are nearest to the key. In determining how near two geometry objects are...