2. Oracle Spatial??
Oracle Spatial Technology Products :
Storage data model using the SDO_GEOMETRY data
type
Query and analysis using the Index Engine and
Geometry Engine
Location-enabling using the geocoder by converting
address data into SDO_GEOMETRY data
Visualization using Map Viewer and Oracle Maps
Advanced Spatial Engine functionality such as network
analysis and routing
7. SDO_GEOMETRY: G-TYPE
attribute specifies the type of shape (point, line,
polygon, collection, multi-point, multi-line, or multi-
polygon) that the geometry actually represents.
D00T
Example: 2003, 2001,3006
8. SDO_GEOMETRY: SRID
This attribute specifies the spatial reference system, or
coordinate system, for the geometry.
Geo-referenced vs. Local Coordinates!
Geodetic vs. Projected? (WGS84, UTM-Z39N)
European Petroleum Standards Group (EPSG)
Example: 4326 (WGS84),
9. SDO_POINTS
Its just a syntactic sugar!!
This attribute specifies the location of a point
geometry
Example:
29. Spatial Operators!
Spatial operators:
Just as you can specify relational operators in a SQL
statement, such as
“< (less than), > (greater than), or = (equal to), and
so on”, you can likewise use a spatial operator to search
the location (SDO_GEOMETRY) columns of a table for
proximity with respect to a query location
Need Spatial Index First !!!
44. Geometry Processing
Functions
No Need For Spatial Index!
more detailed analyses
can appear in the SELECT list (as well as the WHERE
clause)
GP Function:
1-Buffering Function
2- Relationship Function
3- Geometry Combination Function
4- Geometric Analysis Function
5- Aggregate Function
What if there are no objects within distance d? What if the nearest object is at distance 2 *d? The SDO_WITHIN_DISTANCE operator is not appropriate when you need to obtain a specific number of neighbors, no matter how far they are from the query location. For these cases, the SDO_NN operator is appropriate
What if there are no objects within distance d? What if the nearest object is at distance 2 *d? The SDO_WITHIN_DISTANCE operator is not appropriate when you need to obtain a specific number of neighbors, no matter how far they are from the query location. For these cases, the SDO_NN operator is appropriate