|Oracle® Spatial User's Guide and Reference
Part No. A96630-01
The Oracle Spatial User's Guide and Reference provides usage and reference information for indexing and storing spatial data and for developing spatial applications using Oracle Spatial and Oracle Locator.
Oracle Spatial requires Oracle9i Enterprise Edition and is a priced option. It is a foundation for the deployment of enterprise-wide spatial information systems, and Web-based and wireless location-based applications requiring complex spatial data management. Oracle Locator is a feature of Oracle9i Standard and Enterprise Editions. It offers a subset of Oracle Spatial capabilities (see Appendix C for a list of Locator features) typically required to support Internet and wireless service applications and partner-based GIS solutions.
Oracle9i and Oracle9i Enterprise Edition have the same basic features. However, several advanced features, such as extended data types, are available only with the Enterprise Edition, and some of these features are optional. For example, to use Oracle9i table partitioning, you must have the Enterprise Edition and the Partitioning Option.
For information about the differences between Oracle9i Standard Edition and Oracle9i Enterprise Edition and the features and options that are available to you, see Oracle9i Database New Features.
Note:The relational geometry model of Oracle Spatial is no longer supported, effective with this release. Only the object-relational model is supported.
This preface contains these topics:
This guide is intended for anyone who needs to store spatial data in an Oracle database.
Our goal is to make Oracle products, services, and supporting documentation accessible, with good usability, to the disabled community. To that end, our documentation includes features that make information available to users of assistive technology. This documentation is available in HTML format, and contains markup to facilitate access by the disabled community. Standards will continue to evolve over time, and Oracle Corporation is actively engaged with other market-leading technology vendors to address technical obstacles so that our documentation can be accessible to all of our customers. For additional information, visit the Oracle Accessibility Program Web site at
JAWS, a Windows screen reader, may not always correctly read the code examples in this document. The conventions for writing code require that closing braces should appear on an otherwise empty line; however, JAWS may not always read a line of text that consists solely of a bracket or brace.
This documentation may contain links to Web sites of other companies or organizations that Oracle Corporation does not own or control. Oracle Corporation neither evaluates nor makes any representations regarding the accessibility of these Web sites.
This guide has two main parts (conceptual and usage information, and reference information) and several appendixes with supplementary information. The first part is organized for efficient learning about Oracle Spatial; it covers basic concepts and techniques first, and proceeds to more advanced material (such as coordinate systems, the linear referencing system, geocoding, and extending spatial indexing).This guide has the following elements.
Contains chapters with conceptual and usage information.
Introduces spatial data concepts.
Explains the object-relational schema.
Explains how to load spatial data.
Explains how to index and query spatial data.
Provides conceptual and usage information about coordinate system (spatial reference system) support.
Provides conceptual and usage information about the Oracle Spatial linear referencing system (LRS).
Explains how to extend the capabilities of Oracle Spatial indexing.
Contains chapters with reference information.
Provides the syntax and semantics for SQL indexing statements.
Provides the syntax and semantics for methods used with the spatial object data type.
Provides the syntax and semantics for operators used with the spatial object data type.
Provides the syntax and semantics for the geometric functions and procedures.
Provides the syntax and semantics for the spatial aggregate functions.
Provides the syntax and semantics for the coordinate system transformation functions.
Provides the syntax and semantics for the linear referencing (LRS) functions.
Provides the syntax and semantics for the migration functions.
Provides the syntax and semantics for the tuning functions and procedures.
Provides the syntax and semantics for the utility functions and procedures.
Contains appendixes with supplementary Information, and a glossary.
Describes installation, compatibility, and migration issues.
Describes hybrid indexing.
Describes Oracle Locator.
Defines important terms.
Technologies of interest to spatial application developers, but not officially part of Oracle Spatial, are sometimes made available through the Oracle Technology Network (OTN). To access the OTN, go to
For more information, see the following documents:
Oracle9i Database Error Messages - Spatial messages are in the range of 13000 to 13499.
In North America, printed documentation is available for sale in the Oracle Store at
Customers in Europe, the Middle East, and Africa (EMEA) can purchase documentation from
Other customers can contact their Oracle representative to purchase printed documentation.
To download free release notes, installation documentation, white papers, or other collateral, go to the Oracle Technology Network (OTN). You must register online before using OTN; registration is free and can be done at
If you already have a username and password for OTN, then you can go directly to the documentation section of the OTN Web site at
To access the database documentation search engine directly, go to
In examples, an implied carriage return occurs at the end of each line, unless otherwise noted. You must press the Return key at the end of a line of input.
The following conventions are used in this guide:
|Vertical ellipsis points in an example mean that information not directly related to the example has been omitted.|
|. . .||Horizontal ellipsis points in statements or commands mean that parts of the statement or command not directly related to the example have been omitted|
|boldface text||Boldface text indicates a term defined in the text, the glossary, or in both locations.|
|< >||Angle brackets enclose user-supplied names.|
|[ ]||Brackets enclose optional clauses from which you can choose one or none.|
|%||The percent sign represents the system prompt on a UNIX system.|