Index   Search   Add FAQ   Ask Question  

Oracle Spatial Data Option FAQ

$Date: 17-Oct-1999 $
$Revision: 1.2 $
$Author: Frank Naudé $

Topics

  • What is the Oracle Spatial Data Option?
  • How does one install Oracle Spatial?
  • What are HHCodes?

  • Back to Oracle FAQ Index

    What is the Oracle Spatial Data Option?

    Oracle Spatial (formerly called SDO and before that MultiDimension), provides a way to store and retrieve multi-dimensional data in Oracle. It is primarily used for Geographical Information Systems to implement geo-reference and solve queries such as how is something related to a specific location.

    With this, representation of features (point, line or polygon) are stored in a single field within a table. A single Helical Hyperspatial code (HHCODE) is used to store the Euclidean spatial dimensions and additional data dimensional include depth, elevation, or time. The types of multidimensional data are restricted only in that they must be a numeric data type and have a bounded range. The HHCODE is generated through the recursive decomposition of dimensional space. Attribute data for specific multidimensional data is stored within columns of a table in the database. Access to the data for processing and manipulation is accomplished through extensions to Oracle PL/SQL.

  • Back to top of file

  • How does one install Oracle Spatial?

    Oracle Spatial can be installed via the Oracle installer or from the command line. Look at this example:
            SVRMGR> REM # Create user MDSYS with admin option
            SVRMGR> connect internal
            SVRMGR> @?/md/install/mdsysid.sql
    
            SVRMGR> REM # Install MD catalog
            SVRMGR> connect mdsys/mdsys
            SVRMGR> @?/md/admin/catmd.sql
    
    NOTE: Also run catmd.sql after upgrading to a new Oracle release.

  • Back to top of file

  • What are HHCodes?

    HHCODEs (Helical Hyperspatial Codes) is an encoding technique developed by the Canadian Hydrographic Service for combining data of two or more dimensions into a single value. This value represents the intersection of all of the desired dimensions. HHCODEs makes it easy to store multidimensional data in a database.

    In Oracle, a HHCODE is a datatype used for both spatial indexing and partitioned point data.

    More technical:

    HHCodes are in effect Peano Codes, an implementation of Space Filling Curves. The multidimensionality aspect is the use of the Riemannian hypercube in conjunction with the space filling curve. What in effect has happened is that the Riemannian tensor matrix has been mapped by the space filling curve. This gives mathemetical credence to HHCodes and a lot more functionality then just data access. One more thing the HHcode encoding is not just Euclidean, Curvilinear and linear coordinates such as Lat, Lon, depth and time can also be mapped together. This creates Time varying voxels, (I suppose one can call them toxels).

    Contributed: Herman Varma

  • Back to top of file

  • General: Home | Index | Preamble | Glossary | OraCorp | Papers | Fun | News | Events | Y2000 | Books | Links | Forums
    Products: SQL | Plus | Loader | PL/SQL | PreComp | OPO | OMO | OO4OLE | DBA | PQO | PSO | OCO | Net | ODBC | WebServer | Des2k | Dev2k
    Systems: MVS | Unix | Windows | WindowsNT | NetWare | VMS