-
Oracle SpatialDeveloper's Guide
11g Release 2 (11.2)
E11830-15
November 2013Provides usage and reference information for
indexing and storing spatial data and for developing spatial
applications using Oracle Spatial and Graph and Oracle Locator.
-
Oracle Spatial Developer's Guide, 11g Release 2 (11.2)
E11830-15
Copyright 1999, 2013, Oracle and/or its affiliates. All rights
reserved.
Primary Author: Chuck Murray
Contributors: Dan Abugov, Nicole Alexander, Bruce Blackwell,
Raja Chatterjee, Dan Geringer, Mike Horhammer, Ying Hu, Baris
Kazar, Ravi Kothuri, Siva Ravada, Jack Wang, Ji Yang
This software and related documentation are provided under a
license agreement containing restrictions on use and disclosure and
are protected by intellectual property laws. Except as expressly
permitted in your license agreement or allowed by law, you may not
use, copy, reproduce, translate, broadcast, modify, license,
transmit, distribute, exhibit, perform, publish, or display any
part, in any form, or by any means. Reverse engineering,
disassembly, or decompilation of this software, unless required by
law for interoperability, is prohibited.
The information contained herein is subject to change without
notice and is not warranted to be error-free. If you find any
errors, please report them to us in writing.
If this is software or related documentation that is delivered
to the U.S. Government or anyone licensing it on behalf of the U.S.
Government, the following notice is applicable:
U.S. GOVERNMENT END USERS: Oracle programs, including any
operating system, integrated software, any programs installed on
the hardware, and/or documentation, delivered to U.S. Government
end users are "commercial computer software" pursuant to the
applicable Federal Acquisition Regulation and agency-specific
supplemental regulations. As such, use, duplication, disclosure,
modification, and adaptation of the programs, including any
operating system, integrated software, any programs installed on
the hardware, and/or documentation, shall be subject to license
terms and license restrictions applicable to the programs. No other
rights are granted to the U.S. Government.
This software or hardware is developed for general use in a
variety of information management applications. It is not developed
or intended for use in any inherently dangerous applications,
including applications that may create a risk of personal injury.
If you use this software or hardware in dangerous applications,
then you shall be responsible to take all appropriate fail-safe,
backup, redundancy, and other measures to ensure its safe use.
Oracle Corporation and its affiliates disclaim any liability for
any damages caused by use of this software or hardware in dangerous
applications.
Oracle and Java are registered trademarks of Oracle and/or its
affiliates. Other names may be trademarks of their respective
owners.
Intel and Intel Xeon are trademarks or registered trademarks of
Intel Corporation. All SPARC trademarks are used under license and
are trademarks or registered trademarks of SPARC International,
Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are
trademarks or registered trademarks of Advanced Micro Devices. UNIX
is a registered trademark of The Open Group.
This software or hardware and documentation may provide access
to or information on content, products, and services from third
parties. Oracle Corporation and its affiliates are not responsible
for and expressly disclaim all warranties of any kind with respect
to third-party content, products, and services. Oracle Corporation
and its affiliates will not be responsible for any loss, costs, or
damages incurred due to your access to or use of third-party
content, products, or services.
-
iii
Contents
Preface
............................................................................................................................................................
xxviiAudience..................................................................................................................................................
xxviiDocumentation Accessibility
................................................................................................................
xxviiRelated Documents
................................................................................................................................
xxviiConventions
...........................................................................................................................................
xxviii
What's New in Oracle Spatial?
..........................................................................................................
xxixRelease
11.2...............................................................................................................................................
xxixRelease
11.1...............................................................................................................................................
xxxi
Part I Conceptual and Usage Information
1 Spatial Concepts1.1 What Is Oracle Spatial?
..............................................................................................................
1-21.2 Object-Relational Model
............................................................................................................
1-21.3 Introduction to Spatial Data
......................................................................................................
1-31.4 Geometry Types
..........................................................................................................................
1-31.5 Data
Model...................................................................................................................................
1-41.5.1
Element..................................................................................................................................
1-41.5.2
Geometry...............................................................................................................................
1-51.5.3 Layer
......................................................................................................................................
1-51.5.4 Coordinate
System...............................................................................................................
1-51.5.5 Tolerance
...............................................................................................................................
1-61.5.5.1 Tolerance in the Geometry Metadata for a Layer
.................................................... 1-71.5.5.2
Tolerance as an Input
Parameter................................................................................
1-81.6 Query
Model................................................................................................................................
1-81.7 Indexing of Spatial
Data.............................................................................................................
1-91.7.1 R-Tree
Indexing....................................................................................................................
1-91.7.2 R-Tree Quality
...................................................................................................................
1-101.8 Spatial Relationships and Filtering
.......................................................................................
1-111.9 Spatial Operators, Procedures, and Functions
....................................................................
1-131.10 Spatial Aggregate Functions
..................................................................................................
1-141.10.1 SDOAGGRTYPE Object
Type.........................................................................................
1-151.11 Three-Dimensional Spatial Objects
.......................................................................................
1-151.11.1 Modeling Surfaces
............................................................................................................
1-18
-
iv
1.11.2 Modeling Solids
................................................................................................................
1-191.11.3 Three-Dimensional Optimized Rectangles
...................................................................
1-201.11.4 Using Texture
Data...........................................................................................................
1-201.11.4.1 Schema Considerations with Texture Data
...........................................................
1-231.11.5 Validation Checks for Three-Dimensional Geometries
.............................................. 1-231.12 Geocoding
.................................................................................................................................
1-241.13 Spatial Java Application Programming Interface
...............................................................
1-241.14 Predefined User Accounts Created by
Spatial.....................................................................
1-251.15 Performance and Tuning Information
..................................................................................
1-261.16 OGC and ISO
Compliance......................................................................................................
1-261.17 Spatial Release (Version)
Number.........................................................................................
1-261.18 Spatially Enabling a Table
......................................................................................................
1-271.19 Moving Spatial Metadata
(MDSYS.MOVE_SDO)...............................................................
1-291.20 Spatial Application Hardware Requirement Considerations
........................................... 1-291.21 Spatial Error
Messages
............................................................................................................
1-291.22 Spatial Examples
......................................................................................................................
1-291.23 README File for Spatial and Related Features
..................................................................
1-30
2 Spatial Data Types and Metadata2.1 Simple Example: Inserting,
Indexing, and Querying Spatial
Data...................................... 2-12.2 SDO_GEOMETRY
Object Type
................................................................................................
2-52.2.1
SDO_GTYPE.........................................................................................................................
2-52.2.2
SDO_SRID.............................................................................................................................
2-72.2.3 SDO_POINT
.........................................................................................................................
2-72.2.4
SDO_ELEM_INFO...............................................................................................................
2-72.2.5 SDO_ORDINATES
...........................................................................................................
2-112.2.6 Usage Considerations
......................................................................................................
2-112.3 SDO_GEOMETRY
Methods...................................................................................................
2-122.4 SDO_GEOMETRY
Constructors............................................................................................
2-132.5 TIN-Related Object
Types.......................................................................................................
2-142.5.1 SDO_TIN Object
Type......................................................................................................
2-152.5.2 SDO_TIN_BLK_TYPE and SDO_TIN_BLK Object Types
.......................................... 2-182.6 Point
Cloud-Related Object Types
........................................................................................
2-182.6.1 SDO_PC Object Type
.......................................................................................................
2-182.6.2 SDO_PC_BLK_TYPE and SDO_PC_BLK Object Type
............................................... 2-202.7 Geometry
Examples.................................................................................................................
2-202.7.1 Rectangle
............................................................................................................................
2-202.7.2 Polygon with a
Hole.........................................................................................................
2-212.7.3 Compound Line String
....................................................................................................
2-232.7.4 Compound Polygon
.........................................................................................................
2-242.7.5
Point....................................................................................................................................
2-252.7.6 Oriented Point
...................................................................................................................
2-272.7.7 Type 0 (Zero)
Element......................................................................................................
2-292.7.8 Several Two-Dimensional Geometry Types
.................................................................
2-312.7.9 Three-Dimensional Geometry
Types.............................................................................
2-352.8 Geometry Metadata Views
.....................................................................................................
2-442.8.1
TABLE_NAME..................................................................................................................
2-45
-
v
2.8.2
COLUMN_NAME............................................................................................................
2-452.8.3
DIMINFO...........................................................................................................................
2-452.8.4 SRID
....................................................................................................................................
2-462.9 Spatial Index-Related Structures
...........................................................................................
2-462.9.1 Spatial Index Views
..........................................................................................................
2-462.9.1.1 xxx_SDO_INDEX_INFO
Views...............................................................................
2-462.9.1.2 xxx_SDO_INDEX_METADATA Views
.................................................................
2-472.9.2 Spatial Index Table Definition
........................................................................................
2-492.9.3 R-Tree Index Sequence Object
........................................................................................
2-492.10 Unit of Measurement Support
...............................................................................................
2-492.10.1 Creating a User-Defined Unit of Measurement
...........................................................
2-50
3 SQL Multimedia Type Support 3.1 ST_GEOMETRY and SDO_GEOMETRY
Interoperability....................................................
3-13.2 ST_xxx Functions and Spatial
Counterparts...........................................................................
3-73.3 Tolerance Value with SQL Multimedia Types
.......................................................................
3-83.4 Avoiding Name Conflicts
..........................................................................................................
3-83.5 Annotation Text Type and
Views.............................................................................................
3-83.5.1 Using the ST_ANNOTATION_TEXT
Constructor.........................................................
3-83.5.2 Annotation Text Metadata
Views......................................................................................
3-9
4 Loading Spatial Data4.1 Bulk Loading
..............................................................................................................................
4-14.1.1 Bulk Loading SDO_GEOMETRY Objects
........................................................................
4-14.1.2 Bulk Loading Point-Only Data in SDO_GEOMETRY
Objects...................................... 4-34.2 Transactional
Insert Operations Using SQL
...........................................................................
4-34.3 Recommendations for Loading and Validating Spatial
Data............................................... 4-4
5 Indexing and Querying Spatial Data5.1 Creating a Spatial
Index.............................................................................................................
5-15.1.1 Constraining Data to a Geometry
Type............................................................................
5-25.1.2 Creating a Cross-Schema
Index.........................................................................................
5-25.1.3 Using Partitioned Spatial Indexes
.....................................................................................
5-25.1.3.1 Creating a Local Partitioned Spatial Index
...............................................................
5-45.1.4 Exchanging Partitions Including Indexes
........................................................................
5-55.1.5 Export and Import Considerations with Spatial Indexes and
Data ............................. 5-55.1.6 Distributed
Transactions and Spatial Index Consistency
.............................................. 5-65.1.7 Rollback
Segments and Sort Area Size
.............................................................................
5-65.2 Querying Spatial Data
................................................................................................................
5-75.2.1 Spatial
Query........................................................................................................................
5-75.2.1.1 Primary Filter Operator
...............................................................................................
5-85.2.1.2 Primary and Secondary Filter
Operator....................................................................
5-95.2.1.3 Within-Distance Operator
........................................................................................
5-105.2.1.4 Nearest Neighbor Operator
.....................................................................................
5-115.2.1.5 Spatial
Functions........................................................................................................
5-125.2.2 Spatial Join
.........................................................................................................................
5-12
-
vi
5.2.3 Data and Index Dimensionality, and Spatial Queries
................................................. 5-13
6 Coordinate Systems (Spatial Reference Systems)6.1 Terms and
Concepts
...................................................................................................................
6-16.1.1 Coordinate System (Spatial Reference System)
..............................................................
6-16.1.2 Cartesian
Coordinates.........................................................................................................
6-26.1.3 Geodetic Coordinates (Geographic Coordinates)
...........................................................
6-26.1.4 Projected Coordinates
.........................................................................................................
6-26.1.5 Local Coordinates
................................................................................................................
6-26.1.6 Geodetic Datum
...................................................................................................................
6-26.1.7
Transformation.....................................................................................................................
6-26.2 Geodetic Coordinate Support
...................................................................................................
6-26.2.1 Geodesy and Two-Dimensional Geometry
.....................................................................
6-36.2.2 Choosing a Geodetic or Projected Coordinate
System................................................... 6-36.2.3
Choosing Non-Ellipsoidal or Ellipsoidal Height
............................................................
6-36.2.3.1 Non-Ellipsoidal
Height................................................................................................
6-46.2.3.2 Ellipsoidal
Height.........................................................................................................
6-46.2.4 Geodetic
MBRs.....................................................................................................................
6-56.2.5 Other Considerations and Requirements with Geodetic Data
..................................... 6-66.3 Local Coordinate
Support..........................................................................................................
6-76.4 EPSG Model and Spatial
............................................................................................................
6-86.5 Three-Dimensional Coordinate Reference System Support
................................................. 6-96.5.1
Geographic 3D Coordinate Reference
Systems............................................................
6-106.5.2 Compound Coordinate Reference Systems
..................................................................
6-106.5.3 Three-Dimensional
Transformations.............................................................................
6-116.5.4 Cross-Dimensionality Transformations
........................................................................
6-166.5.5 3D Equivalent for WGS
84?.............................................................................................
6-176.6 TFM_PLAN Object Type
........................................................................................................
6-196.7 Coordinate Systems Data
Structures.....................................................................................
6-196.7.1 SDO_COORD_AXES Table
.............................................................................................
6-206.7.2 SDO_COORD_AXIS_NAMES Table
.............................................................................
6-216.7.3 SDO_COORD_OP_METHODS Table
...........................................................................
6-216.7.4 SDO_COORD_OP_PARAM_USE Table
.......................................................................
6-216.7.5 SDO_COORD_OP_PARAM_VALS Table
....................................................................
6-226.7.6 SDO_COORD_OP_PARAMS
Table...............................................................................
6-236.7.7 SDO_COORD_OP_PATHS Table
..................................................................................
6-236.7.8 SDO_COORD_OPS
Table................................................................................................
6-236.7.9 SDO_COORD_REF_SYS Table
.......................................................................................
6-256.7.10 SDO_COORD_REF_SYSTEM
View...............................................................................
6-276.7.11 SDO_COORD_SYS Table
................................................................................................
6-276.7.12 SDO_CRS_COMPOUND View
......................................................................................
6-276.7.13 SDO_CRS_ENGINEERING View
..................................................................................
6-286.7.14 SDO_CRS_GEOCENTRIC View
....................................................................................
6-286.7.15 SDO_CRS_GEOGRAPHIC2D
View...............................................................................
6-296.7.16 SDO_CRS_GEOGRAPHIC3D
View...............................................................................
6-296.7.17 SDO_CRS_PROJECTED View
........................................................................................
6-306.7.18 SDO_CRS_VERTICAL
View...........................................................................................
6-30
-
vii
6.7.19 SDO_DATUM_ENGINEERING View
..........................................................................
6-316.7.20 SDO_DATUM_GEODETIC View
..................................................................................
6-316.7.21 SDO_DATUM_VERTICAL
View...................................................................................
6-326.7.22 SDO_DATUMS
Table.......................................................................................................
6-336.7.23 SDO_ELLIPSOIDS Table
.................................................................................................
6-346.7.24 SDO_PREFERRED_OPS_SYSTEM
Table......................................................................
6-356.7.25 SDO_PREFERRED_OPS_USER Table
...........................................................................
6-356.7.26 SDO_PRIME_MERIDIANS Table
..................................................................................
6-366.7.27 SDO_UNITS_OF_MEASURE
Table...............................................................................
6-366.7.28 Relationships Among Coordinate System Tables and
Views.................................... 6-376.7.29 Finding
Information About EPSG-Based Coordinate
Systems.................................. 6-386.7.29.1 Geodetic
Coordinate
Systems..................................................................................
6-386.7.29.2 Projected Coordinate Systems
.................................................................................
6-406.8 Legacy Tables and
Views........................................................................................................
6-426.8.1 MDSYS.CS_SRS Table
......................................................................................................
6-426.8.1.1 Well-Known Text
(WKT)..........................................................................................
6-436.8.1.2 US-American and European Notations for Datum Parameters
......................... 6-456.8.1.3 Procedures for Updating the
Well-Known Text ...................................................
6-466.8.2 MDSYS.SDO_ANGLE_UNITS View
.............................................................................
6-466.8.3 MDSYS.SDO_AREA_UNITS View
................................................................................
6-476.8.4 MDSYS.SDO_DATUMS_OLD_FORMAT and
SDO_DATUMS_OLD_SNAPSHOT
Tables 6-476.8.5 MDSYS.SDO_DIST_UNITS
View...................................................................................
6-496.8.6 MDSYS.SDO_ELLIPSOIDS_OLD_FORMAT and
SDO_ELLIPSOIDS_OLD_
SNAPSHOT Tables 6-496.8.7 MDSYS.SDO_PROJECTIONS_OLD_FORMAT and
SDO_PROJECTIONS_OLD_
SNAPSHOT Tables 6-506.9 Creating a User-Defined Coordinate
Reference System
.................................................... 6-516.9.1
Creating a Geodetic
CRS..................................................................................................
6-526.9.2 Creating a Projected
CRS.................................................................................................
6-536.9.3 Creating a Vertical
CRS....................................................................................................
6-626.9.4 Creating a Compound CRS
.............................................................................................
6-636.9.5 Creating a Geographic 3D
CRS.......................................................................................
6-646.9.6 Creating a Transformation Operation
...........................................................................
6-646.9.7 Using British Grid Transformation OSTN02/OSGM02 (EPSG
Method 9633) ........ 6-676.10 Notes and Restrictions with
Coordinate Systems
Support................................................ 6-696.10.1
Different Coordinate Systems for Geometries with Operators and
Functions ....... 6-696.10.2 3D LRS Functions Not Supported with
Geodetic Data...............................................
6-696.10.3 Functions Supported by Approximations with Geodetic Data
................................. 6-696.10.4 Unknown CRS and NaC
Coordinate Reference Systems
........................................... 6-706.11 U.S. National
Grid Support
....................................................................................................
6-706.12 Google Maps Considerations
.................................................................................................
6-706.13 Example of Coordinate System Transformation
.................................................................
6-72
7 Linear Referencing System7.1 Terms and Concepts
...................................................................................................................
7-17.1.1 Geometric Segments (LRS Segments)
..............................................................................
7-1
-
viii
7.1.2 Shape Points
.........................................................................................................................
7-27.1.3 Direction of a Geometric Segment
....................................................................................
7-27.1.4 Measure (Linear
Measure)..................................................................................................
7-37.1.5
Offset......................................................................................................................................
7-37.1.6 Measure Populating
............................................................................................................
7-37.1.7 Measure Range of a Geometric
Segment..........................................................................
7-57.1.8 Projection
..............................................................................................................................
7-57.1.9 LRS
Point...............................................................................................................................
7-57.1.10 Linear
Features.....................................................................................................................
7-57.1.11 Measures with Multiline Strings and Polygons with
Holes.......................................... 7-57.2 LRS Data
Model
..........................................................................................................................
7-67.3 Indexing of LRS
Data..................................................................................................................
7-77.4 3D Formats of LRS
Functions....................................................................................................
7-77.5 LRS
Operations............................................................................................................................
7-87.5.1 Defining a Geometric Segment
.........................................................................................
7-87.5.2 Redefining a Geometric Segment
......................................................................................
7-87.5.3 Clipping a Geometric
Segment..........................................................................................
7-97.5.4 Splitting a Geometric Segment
..........................................................................................
7-97.5.5 Concatenating Geometric Segments
..............................................................................
7-107.5.6 Scaling a Geometric Segment
.........................................................................................
7-117.5.7 Offsetting a Geometric
Segment.....................................................................................
7-127.5.8 Locating a Point on a Geometric Segment
....................................................................
7-127.5.9 Projecting a Point onto a Geometric Segment
..............................................................
7-137.5.10 Converting LRS
Geometries............................................................................................
7-147.6 Tolerance Values with LRS Functions
..................................................................................
7-157.7 Example of LRS
Functions......................................................................................................
7-15
8 Spatial Analysis and Mining8.1 Spatial Information and Data
Mining Applications
..............................................................
8-18.2 Spatial Binning for Detection of Regional
Patterns................................................................
8-38.3 Materializing Spatial Correlation
.............................................................................................
8-38.4 Colocation Mining
......................................................................................................................
8-48.5 Spatial
Clustering........................................................................................................................
8-48.6 Location Prospecting
..................................................................................................................
8-5
9 Extending Spatial Indexing Capabilities9.1 SDO_GEOMETRY
Objects in User-Defined Type Definitions
............................................ 9-19.2 SDO_GEOMETRY
Objects in Function-Based
Indexes.........................................................
9-39.2.1 Example: Function with Standard Types
.........................................................................
9-39.2.2 Example: Function with a User-Defined Object
Type.................................................... 9-4
Part II Spatial Web Services
10 Introduction to Spatial Web Services10.1 Types of Spatial Web
Services................................................................................................
10-110.2 Types of Users of Spatial Web Services
................................................................................
10-2
-
ix
10.3 Setting Up the Client for Spatial Web
Services....................................................................
10-210.4 Demo Files for Sample Java Client
........................................................................................
10-6
11 Geocoding Address Data11.1 Concepts for
Geocoding..........................................................................................................
11-111.1.1 Address
Representation...................................................................................................
11-111.1.2 Match Modes
.....................................................................................................................
11-211.1.3 Match Codes
......................................................................................................................
11-311.1.4 Error Messages for Output Geocoded Addresses
....................................................... 11-411.1.5
Match Vector for Output Geocoded Addresses
...........................................................
11-411.2 Data Types for Geocoding
......................................................................................................
11-511.2.1 SDO_GEO_ADDR Type
..................................................................................................
11-511.2.2 SDO_ADDR_ARRAY
Type.............................................................................................
11-811.2.3 SDO_KEYWORDARRAY
Type......................................................................................
11-811.3 Using the Geocoding Capabilities
.........................................................................................
11-811.4 Geocoding from a Place
Name...............................................................................................
11-911.5 Data Structures for
Geocoding.............................................................................................
11-1011.5.1 GC_ADDRESS_POINT_ Table and
Index....................................................
11-1111.5.2 GC_AREA_ Table
............................................................................................
11-1211.5.3 GC_COUNTRY_PROFILE
Table..................................................................................
11-1311.5.4 GC_INTERSECTION_ Table
..........................................................................
11-1511.5.5 GC_PARSER_PROFILES Table
....................................................................................
11-1611.5.6 GC_PARSER_PROFILEAFS Table
...............................................................................
11-1911.5.6.1 ADDRESS_FORMAT_STRING Description
....................................................... 11-2011.5.7
GC_POI_
Table.................................................................................................
11-2211.5.8 GC_POSTAL_CODE_
Table...........................................................................
11-2311.5.9 GC_ROAD_
Table............................................................................................
11-2411.5.10 GC_ROAD_SEGMENT_ Table
......................................................................
11-2611.5.11 Indexes on Tables for Geocoding
.................................................................................
11-2811.6 Installing the Profile Tables
..................................................................................................
11-2911.7 Using the Geocoding Service (XML API)
...........................................................................
11-3011.7.1 Deploying and Configuring the J2EE Geocoder
........................................................
11-3111.7.1.1 Configuring the geocodercfg.xml File
..................................................................
11-3211.7.2 Geocoding Request XML Schema Definition and Example
..................................... 11-3311.7.3 Geocoding
Response XML Schema Definition and Example
.................................. 11-36
12 Business Directory (Yellow Pages) Support12.1 Business
Directory
Concepts..................................................................................................
12-112.2 Using the Business Directory Capabilities
...........................................................................
12-112.3 Data Structures for Business Directory Support
.................................................................
12-212.3.1 OPENLS_DIR_BUSINESSES Table
................................................................................
12-212.3.2 OPENLS_DIR_BUSINESS_CHAINS
Table...................................................................
12-312.3.3 OPENLS_DIR_CATEGORIES Table
..............................................................................
12-312.3.4 OPENLS_DIR_CATEGORIZATIONS Table
................................................................
12-412.3.5 OPENLS_DIR_CATEGORY_TYPES Table
...................................................................
12-412.3.6 OPENLS_DIR_SYNONYMS Table
................................................................................
12-5
-
x13 Routing Engine13.1 Multi-Address Routing
...........................................................................................................
13-213.2 Deploying and Configuring the Routing Engine
................................................................
13-313.2.1 Configuring the web.xml File
.........................................................................................
13-613.3 Routing Engine XML API
.......................................................................................................
13-813.3.1 Route Request and Response
Examples........................................................................
13-913.3.2 Route Request DTD
........................................................................................................
13-1413.3.2.1 route_request Element
............................................................................................
13-1513.3.2.2 route_request
Attributes.........................................................................................
13-1613.3.2.3 input_location
Element...........................................................................................
13-1813.3.2.4 pre_geocoded_location Element
...........................................................................
13-1813.3.3 Route Response DTD
.....................................................................................................
13-1813.3.4 Batch Route Request and Response Examples
...........................................................
13-1913.3.5 Batch Route Request DTD
.............................................................................................
13-2213.3.5.1 batch_route_request Element
................................................................................
13-2313.3.5.2 batch_route_request Attributes
.............................................................................
13-2313.3.6 Batch Route Response DTD
..........................................................................................
13-2313.4 Data Structures Used by the Routing Engine
....................................................................
13-2413.4.1 EDGE Table
.....................................................................................................................
13-2413.4.2 NODE
Table.....................................................................................................................
13-2513.4.3 PARTITION Table
..........................................................................................................
13-2513.4.4 SIGN_POST
Table...........................................................................................................
13-26
14 OpenLS Support14.1 Supported OpenLS Services
...................................................................................................
14-114.2 OpenLS Application Programming Interfaces
....................................................................
14-214.3 OpenLS Service Support and Examples
...............................................................................
14-214.3.1 OpenLS
Geocoding...........................................................................................................
14-214.3.2 OpenLS
Mapping..............................................................................................................
14-414.3.3 OpenLS
Routing................................................................................................................
14-614.3.4 OpenLS Directory Service
(YP).......................................................................................
14-8
15 Web Feature Service (WFS) Support15.1 WFS
Engine...............................................................................................................................
15-115.2 Managing Feature Types
........................................................................................................
15-215.2.1 Capabilities Documents
...................................................................................................
15-315.3 Request and Response XML
Examples.................................................................................
15-415.4 Java API for WFS Administration
.......................................................................................
15-1315.4.1 createXMLTableIndex method
.....................................................................................
15-1315.4.2 dropFeatureType
method..............................................................................................
15-1315.4.3 dropXMLTableIndex method
.......................................................................................
15-1415.4.4 getIsXMLTableIndexCreated method
.........................................................................
15-1415.4.5 grantFeatureTypeToUser
method................................................................................
15-1415.4.6 grantMDAccessToUser method
...................................................................................
15-1515.4.7 publishFeatureType
method.........................................................................................
15-1515.4.7.1 Related Classes for
publishFeatureType..............................................................
15-19
-
xi
15.4.8 revokeFeatureTypeFromUser method
........................................................................
15-2315.4.9 revokeMDAccessFromUser
method............................................................................
15-2315.4.10 setXMLTableIndexInfo
method....................................................................................
15-2315.5 Using WFS with Oracle Workspace Manager
...................................................................
15-24
16 Catalog Services for the Web (CSW) Support16.1 CSW Engine and
Architecture
...............................................................................................
16-116.2 CSW APIs and Configuration
................................................................................................
16-216.2.1 Capabilities Documents
...................................................................................................
16-316.2.2 Spatial Path Extractor Function (extractSDO)
..............................................................
16-316.2.2.1 Registering and Unregistering the extractSDO Function
.................................... 16-516.3 Request and Response
XML
Examples.................................................................................
16-516.4 Java API for CSW
Administration.......................................................................................
16-1516.4.1 createXMLTableIndex method
.....................................................................................
16-1516.4.2 deleteDomainInfo method
............................................................................................
16-1516.4.3 deleteRecordViewMap
method....................................................................................
16-1616.4.4 disableVersioning method
............................................................................................
16-1616.4.5 dropRecordType method
..............................................................................................
16-1616.4.6 dropXMLTableIndex method
.......................................................................................
16-1716.4.7 enableVersioning
method..............................................................................................
16-1716.4.8 getIsXMLTableIndexCreated method
.........................................................................
16-1716.4.9 getRecordTypeId
method..............................................................................................
16-1716.4.10 grantMDAccessToUser method
...................................................................................
16-1816.4.11 grantRecordTypeToUser
method.................................................................................
16-1816.4.12 publishRecordType
method..........................................................................................
16-1816.4.12.1 Related Classes for
publishRecordType...............................................................
16-2216.4.13 registerTypePluginMap method
..................................................................................
16-2616.4.14 revokeMDAccessFromUser
method............................................................................
16-2616.4.15 revokeRecordTypeFromUser method
.........................................................................
16-2616.4.16 setCapabilitiesInfo method
...........................................................................................
16-2716.4.17 setDomainInfo method
..................................................................................................
16-2716.4.18 setRecordViewMap
method..........................................................................................
16-2716.4.19 setXMLTableIndexInfo
method....................................................................................
16-28
17 Security Considerations for Spatial Web Services17.1 User
Management....................................................................................................................
17-117.1.1 Identity Propagation to the Database
............................................................................
17-217.1.2 Caching and User Administration
.................................................................................
17-217.2 Access Control and
Versioning..............................................................................................
17-317.2.1 Virtual Private Databases
................................................................................................
17-317.2.2 Workspace
Manager.........................................................................................................
17-317.3 Configuring Web Services for
Security.................................................................................
17-417.3.1 Adding Spatial Service Handlers
...................................................................................
17-517.4 Interfaces for Spatial Web
Services........................................................................................
17-617.4.1 SOAP/WSS Interface
.......................................................................................................
17-617.4.2 XML (Non-SOAP) Interface
............................................................................................
17-6
-
xii
17.4.3 PL/SQL Interface (OpenLS Only)
..................................................................................
17-717.4.4 Level of Security, by
Interface.........................................................................................
17-7
Part III Reference Information
18 SQL Statements for Indexing Spatial DataALTER INDEX
.........................................................................................................................
18-2ALTER INDEX
REBUILD.......................................................................................................
18-4ALTER INDEX RENAME TO
................................................................................................
18-7CREATE
INDEX.......................................................................................................................
18-8DROP INDEX
.........................................................................................................................
18-12
19 Spatial Operators SDO_ANYINTERACT
............................................................................................................
19-3SDO_CONTAINS
....................................................................................................................
19-5SDO_COVEREDBY
.................................................................................................................
19-7SDO_COVERS
..........................................................................................................................
19-9SDO_EQUAL..........................................................................................................................
19-11SDO_FILTER...........................................................................................................................
19-13SDO_INSIDE
..........................................................................................................................
19-16SDO_JOIN
...............................................................................................................................
19-18SDO_NN
.................................................................................................................................
19-23SDO_NN_DISTANCE...........................................................................................................
19-28SDO_ON..................................................................................................................................
19-30SDO_OVERLAPBDYDISJOINT...........................................................................................
19-32SDO_OVERLAPBDYINTERSECT.......................................................................................
19-34SDO_OVERLAPS...................................................................................................................
19-36SDO_RELATE.........................................................................................................................
19-38SDO_TOUCH
.........................................................................................................................
19-42SDO_WITHIN_DISTANCE..................................................................................................
19-44
20 Spatial Aggregate
FunctionsSDO_AGGR_CENTROID.......................................................................................................
20-2SDO_AGGR_CONCAT_LINES.............................................................................................
20-3SDO_AGGR_CONVEXHULL................................................................................................
20-5SDO_AGGR_LRS_CONCAT
.................................................................................................
20-6SDO_AGGR_MBR
...................................................................................................................
20-8SDO_AGGR_SET_UNION
.....................................................................................................
20-9SDO_AGGR_UNION
............................................................................................................
20-11
21 SDO_CS Package (Coordinate System Transformation)
SDO_CS.ADD_PREFERENCE_FOR_OP
.............................................................................
21-4
-
xiii
SDO_CS.CONVERT_NADCON_TO_XML
.........................................................................
21-6SDO_CS.CONVERT_NTV2_TO_XML
.................................................................................
21-8SDO_CS.CONVERT_XML_TO_NADCON
.......................................................................
21-10SDO_CS.CONVERT_XML_TO_NTV2
...............................................................................
21-12SDO_CS.CREATE_CONCATENATED_OP
......................................................................
21-14SDO_CS.CREATE_OBVIOUS_EPSG_RULES
...................................................................
21-15SDO_CS.CREATE_PREF_CONCATENATED_OP
..........................................................
21-16SDO_CS.DELETE_ALL_EPSG_RULES
..............................................................................
21-18SDO_CS.DELETE_OP
...........................................................................................................
21-19SDO_CS.DETERMINE_CHAIN
..........................................................................................
21-20SDO_CS.DETERMINE_DEFAULT_CHAIN
.....................................................................
21-22SDO_CS.FIND_GEOG_CRS.................................................................................................
21-23SDO_CS.FIND_PROJ_CRS
...................................................................................................
21-25SDO_CS.FIND_SRID.............................................................................................................
21-27SDO_CS.FROM_OGC_SIMPLEFEATURE_SRS
...............................................................
21-31SDO_CS.FROM_USNG.........................................................................................................
21-32SDO_CS.GET_EPSG_DATA_VERSION.............................................................................
21-33SDO_CS.MAKE_2D...............................................................................................................
21-34SDO_CS.MAKE_3D...............................................................................................................
21-35SDO_CS.MAP_EPSG_SRID_TO_ORACLE
.......................................................................
21-36SDO_CS.MAP_ORACLE_SRID_TO_EPSG
.......................................................................
21-37SDO_CS.REVOKE_PREFERENCE_FOR_OP
....................................................................
21-38SDO_CS.TO_OGC_SIMPLEFEATURE_SRS......................................................................
21-39SDO_CS.TO_USNG
...............................................................................................................
21-40SDO_CS.TRANSFORM.........................................................................................................
21-42SDO_CS.TRANSFORM_LAYER
.........................................................................................
21-44SDO_CS.UPDATE_WKTS_FOR_ALL_EPSG_CRS
..........................................................
21-46SDO_CS.UPDATE_WKTS_FOR_EPSG_CRS
....................................................................
21-47SDO_CS.UPDATE_WKTS_FOR_EPSG_DATUM
............................................................
21-48SDO_CS.UPDATE_WKTS_FOR_EPSG_ELLIPS...............................................................
21-49SDO_CS.UPDATE_WKTS_FOR_EPSG_OP
......................................................................
21-50SDO_CS.UPDATE_WKTS_FOR_EPSG_PARAM.............................................................
21-51SDO_CS.UPDATE_WKTS_FOR_EPSG_PM......................................................................
21-52SDO_CS.VALIDATE_WKT..................................................................................................
21-53
22 SDO_CSW_PROCESS Package (CSW Processing)
SDO_CSW_PROCESS.DeleteCapabilitiesInfo
.....................................................................
22-2SDO_CSW_PROCESS.DeleteDomainInfo............................................................................
22-3SDO_CSW_PROCESS.DeletePluginMap
.............................................................................
22-4SDO_CSW_PROCESS.DeleteRecordViewMap
...................................................................
22-5SDO_CSW_PROCESS.GetRecordTypeId.............................................................................
22-6
-
xiv
SDO_CSW_PROCESS.InsertCapabilitiesInfo
......................................................................
22-7SDO_CSW_PROCESS.InsertDomainInfo.............................................................................
22-8SDO_CSW_PROCESS.InsertPluginMap
..............................................................................
22-9SDO_CSW_PROCESS.InsertRecordViewMap
..................................................................
22-10SDO_CSW_PROCESS.InsertRtDataUpdated
....................................................................
22-12SDO_CSW_PROCESS.InsertRtMDUpdated......................................................................
22-13
23 SDO_GCDR Package (Geocoding)
SDO_GCDR.CREATE_PROFILE_TABLES..........................................................................
23-2SDO_GCDR.GEOCODE
.........................................................................................................
23-3SDO_GCDR.GEOCODE_ADDR
...........................................................................................
23-4SDO_GCDR.GEOCODE_ADDR_ALL
.................................................................................
23-6SDO_GCDR.GEOCODE_ALL
...............................................................................................
23-8SDO_GCDR.GEOCODE_AS_GEOMETRY
.......................................................................
23-10SDO_GCDR.REVERSE_GEOCODE....................................................................................
23-11
24 SDO_GEOM Package (Geometry)SDO_GEOM.RELATE
.............................................................................................................
24-4SDO_GEOM.SDO_ALPHA_SHAPE.....................................................................................
24-7SDO_GEOM.SDO_ARC_DENSIFY.......................................................................................
24-9SDO_GEOM.SDO_AREA
.....................................................................................................
24-11SDO_GEOM.SDO_BUFFER
.................................................................................................
24-13SDO_GEOM.SDO_CENTROID
...........................................................................................
24-16SDO_GEOM.SDO_CLOSEST_POINTS
..............................................................................
24-18SDO_GEOM.SDO_CONCAVEHULL
................................................................................
24-21SDO_GEOM.SDO_CONCAVEHULL_BOUNDARY.......................................................
24-23SDO_GEOM.SDO_CONVEXHULL....................................................................................
24-25SDO_GEOM.SDO_DIFFERENCE
.......................................................................................
24-27SDO_GEOM.SDO_DISTANCE............................................................................................
24-29SDO_GEOM.SDO_INTERSECTION
..................................................................................
24-31SDO_GEOM.SDO_LENGTH
...............................................................................................
24-33SDO_GEOM.SDO_MAX_MBR_ORDINATE
....................................................................
24-35SDO_GEOM.SDO_MBR
.......................................................................................................
24-37SDO_GEOM.SDO_MIN_MBR_ORDINATE
.....................................................................
24-39SDO_GEOM.SDO_POINTONSURFACE...........................................................................
24-41SDO_GEOM.SDO_TRIANGULATE...................................................................................
24-43SDO_GEOM.SDO_UNION
..................................................................................................
24-44SDO_GEOM.SDO_VOLUME...............................................................................................
24-46SDO_GEOM.SDO_XOR........................................................................................................
24-48SDO_GEOM.VALIDATE_GEOMETRY_WITH_CONTEXT...........................................
24-50SDO_GEOM.VALIDATE_LAYER_WITH_CONTEXT
....................................................
24-54SDO_GEOM.WITHIN_DISTANCE
....................................................................................
24-57
-
xv
25 SDO_LRS Package (Linear Referencing System)
SDO_LRS.CLIP_GEOM_SEGMENT.....................................................................................
25-5SDO_LRS.CONCATENATE_GEOM_SEGMENTS
............................................................
25-7SDO_LRS.CONNECTED_GEOM_SEGMENTS................................................................
25-10SDO_LRS.CONVERT_TO_LRS_DIM_ARRAY.................................................................
25-12SDO_LRS.CONVERT_TO_LRS_GEOM.............................................................................
25-14SDO_LRS.CONVERT_TO_LRS_LAYER
............................................................................
25-16SDO_LRS.CONVERT_TO_STD_DIM_ARRAY
................................................................
25-18SDO_LRS.CONVERT_TO_STD_GEOM
............................................................................
25-19SDO_LRS.CONVERT_TO_STD_LAYER............................................................................
25-20SDO_LRS.DEFINE_GEOM_SEGMENT
.............................................................................
25-22SDO_LRS.DYNAMIC_SEGMENT
......................................................................................
25-25SDO_LRS.FIND_LRS_DIM_POS.........................................................................................
25-27SDO_LRS.FIND_MEASURE
................................................................................................
25-28SDO_LRS.FIND_OFFSET
.....................................................................................................
25-30SDO_LRS.GEOM_SEGMENT_END_MEASURE
.............................................................
25-32SDO_LRS.GEOM_SEGMENT_END_PT
............................................................................
25-33SDO_LRS.GEOM_SEGMENT_LENGTH...........................................................................
25-34SDO_LRS.GEOM_SEGMENT_START_MEASURE
.........................................................
25-35SDO_LRS.GEOM_SEGMENT_START_PT
........................................................................
25-36SDO_LRS.GET_MEASURE
..................................................................................................
25-37SDO_LRS.GET_NEXT_SHAPE_PT.....................................................................................
25-38SDO_LRS.GET_NEXT_SHAPE_PT_MEASURE
...............................................................
25-40SDO_LRS.GET_PREV_SHAPE_PT
.....................................................................................
25-42SDO_LRS.GET_PREV_SHAPE_PT_MEASURE................................................................
25-44SDO_LRS.IS_GEOM_SEGMENT_DEFINED
....................................................................
25-46SDO_LRS.IS_MEASURE_DECREASING
..........................................................................
25-47SDO_LRS.IS_MEASURE_INCREASING
...........................................................................
25-48SDO_LRS.IS_SHAPE_PT_MEASURE.................................................................................
25-49SDO_LRS.LOCATE_PT.........................................................................................................
25-51SDO_LRS.LRS_INTERSECTION.........................................................................................
25-53SDO_LRS.MEASURE_RANGE............................................................................................
25-55SDO_LRS.MEASURE_TO_PERCENTAGE
.......................................................................
25-56SDO_LRS.OFFSET_GEOM_SEGMENT
.............................................................................
25-58SDO_LRS.PERCENTAGE_TO_MEASURE
.......................................................................
25-61SDO_LRS.PROJECT_PT........................................................................................................
25-63SDO_LRS.REDEFINE_GEOM_SEGMENT........................................................................
25-65SDO_LRS.RESET_MEASURE
..............................................................................................
25-67SDO_LRS.REVERSE_GEOMETRY......................................................................................
25-69SDO_LRS.REVERSE_MEASURE.........................................................................................
25-71SDO_LRS.SCALE_GEOM_SEGMENT...............................................................................
25-73
-
xvi
SDO_LRS.SET_PT_MEASURE
............................................................................................
25-75SDO_LRS.SPLIT_GEOM_SEGMENT
.................................................................................
25-77SDO_LRS.TRANSLATE_MEASURE
..................................................................................
25-79SDO_LRS.VALID_GEOM_SEGMENT
...............................................................................
25-81SDO_LRS.VALID_LRS_PT...................................................................................................
25-82SDO_LRS.VALID_MEASURE
.............................................................................................
25-83SDO_LRS.VALIDATE_LRS_GEOMETRY
.........................................................................
25-85
26 SDO_MIGRATE Package (Upgrading) SDO_MIGRATE.TO_CURRENT
...........................................................................................
26-2
27 SDO_OLS Package (OpenLS)
SDO_OLS.MakeOpenLSClobRequest...................................................................................
27-2SDO_OLS.MakeOpenLSRequest
...........................................................................................
27-4
28 SDO_PC_PKG Package (Point Clouds)SDO_PC_PKG.CLIP_PC
.........................................................................................................
28-2SDO_PC_PKG.CREATE_PC
..................................................................................................
28-4SDO_PC_PKG.DROP_DEPENDENCIES.............................................................................
28-6SDO_PC_PKG.GET_PT_IDS
..................................................................................................
28-7SDO_PC_PKG.INIT
.................................................................................................................
28-8SDO_PC_PKG.TO_GEOMETRY
.........................................................................................
28-11
29 SDO_SAM Package (Spatial Analysis and
Mining)SDO_SAM.AGGREGATES_FOR_GEOMETRY..................................................................
29-3SDO_SAM.AGGREGATES_FOR_LAYER
...........................................................................
29-5SDO_SAM.BIN_GEOMETRY
................................................................................................
29-7SDO_SAM.BIN_LAYER..........................................................................................................
29-9SDO_SAM.COLOCATED_REFERENCE_FEATURES.....................................................
29-11SDO_SAM.SIMPLIFY_GEOMETRY
...................................................................................
29-13SDO_SAM.SIMPLIFY_LAYER
............................................................................................
29-15SDO_SAM.SPATIAL_CLUSTERS
.......................................................................................
29-17SDO_SAM.TILED_AGGREGATES.....................................................................................
29-18SDO_SAM.TILED_BINS
.......................................................................................................
29-21
30 SDO_TIN_PKG Package (TINs)SDO_TIN_PKG.CLIP_TIN
.....................................................................................................
30-2SDO_TIN_PKG.CREATE_TIN...............................................................................................
30-4SDO_TIN_PKG.DROP_DEPENDENCIES
...........................................................................
30-6SDO_TIN_PKG.INIT
...............................................................................................................
30-7SDO_TIN_PKG.TO_GEOMETRY
.......................................................................................
30-10
-
xvii
31 SDO_TUNE Package (Tuning)SDO_TUNE.AVERAGE_MBR
...............................................................................................
31-2SDO_TUNE.ESTIMATE_RTREE_INDEX_SIZE..................................................................
31-4SDO_TUNE.EXTENT_OF.......................................................................................................
31-7SDO_TUNE.MIX_INFO..........................................................................................................
31-8SDO_TUNE.QUALITY_DEGRADATION.........................................................................
31-10
32 SDO_UTIL Package
(Utility)SDO_UTIL.AFFINETRANSFORMS......................................................................................
32-4SDO_UTIL.APPEND.............................................................................................................
32-10SDO_UTIL.BEARING_TILT_FOR_POINTS......................................................................
32-12SDO_UTIL.CIRCLE_POLYGON
.........................................................................................
32-14SDO_UTIL.CONCAT_LINES
..............................................................................................
32-16SDO_UTIL.CONVERT_UNIT..............................................................................................
32-18SDO_UTIL.DROP_WORK_TABLES...................................................................................
32-19SDO_UTIL.ELLIPSE_POLYGON........................................................................................
32-20SDO_UTIL.EXTRACT
...........................................................................................................
32-22SDO_UTIL.EXTRACT_ALL
.................................................................................................
32-25SDO_UTIL.EXTRACT3D
......................................................................................................
32-29SDO_UTIL.EXTRUDE...........................................................................................................
32-31SDO_UTIL.FROM_GML311GEOMETRY
..........................................................................
32-34SDO_UTIL.FROM_GMLGEOMETRY
................................................................................
32-36SDO_UTIL.FROM_KMLGEOMETRY
................................................................................
32-38SDO_UTIL.FROM_WKBGEOMETRY................................................................................
32-40SDO_UTIL.FROM_WKTGEOMETRY................................................................................
32-42SDO_UTIL.GETNUMELEM
................................................................................................
32-44SDO_UTIL.GETNUMVERTICES
........................................................................................
32-45SDO_UTIL.GETVERTICES...................................................................................................
32-46SDO_UTIL.INITIALIZE_INDEXES_FOR_TTS
.................................................................
32-48SDO_UTIL.INTERIOR_POINT............................................................................................
32-50SDO_UTIL.POINT_AT_BEARING
.....................................................................................
32-51SDO_UTIL.POLYGONTOLINE
..........................................................................................
32-53SDO_UTIL.PREPARE_FOR_TTS.........................................................................................
32-54SDO_UTIL.RECTIFY_GEOMETRY
....................................................................................
32-55SDO_UTIL.REMOVE_DUPLICATE_VERTICES..............................................................
32-57SDO_UTIL.REVERSE_LINESTRING..................................................................................
32-59SDO_UTIL.SIMPLIFY
...........................................................................................................
32-60SDO_UTIL.TO_GML311GEOMETRY
................................................................................
32-63SDO_UTIL.TO_GMLGEOMETRY
......................................................................................
32-68SDO_UTIL.TO_KMLGEOMETRY
......................................................................................
32-74SDO_UTIL.TO_WKBGEOMETRY
......................................................................................
32-76
-
xviii
SDO_UTIL.TO_WKTGEOMETRY
......................................................................................
32-78SDO_UTIL.VALIDATE_WKBGEOMETRY.......................................................................
32-80SDO_UTIL.VALIDATE_WKTGEOMETRY.......................................................................
32-82
33 SDO_WFS_LOCK Package (WFS) SDO_WFS_LOCK.EnableDBTxns
.........................................................................................
33-2SDO_WFS_LOCK.RegisterFeatureTable
..............................................................................
33-3SDO_WFS_LOCK.UnRegisterFeatureTable
........................................................................
33-4
34 SDO_WFS_PROCESS Package (WFS Processing)
SDO_WFS_PROCESS.DropFeatureType
.............................................................................
34-3SDO_WFS_PROCESS.DropFeatureTypes............................................................................
34-4SDO_WFS_PROCESS.GenCollectionProcs
..........................................................................
34-5SDO_WFS_PROCESS.GetFeatureTypeId.............................................................................
34-6SDO_WFS_PROCESS.GrantFeatureTypeToUser................................................................
34-7SDO_WFS_PROCESS.GrantMDAccessToUser
...................................................................
34-8SDO_WFS_PROCESS.InsertCapabilitiesInfo.......................................................................
34-9SDO_WFS_PROCESS.InsertFtDataUpdated
.....................................................................
34-10SDO_WFS_PROCESS.InsertFtMDUpdated.......................................................................
34-11SDO_WFS_PROCESS.PopulateFeatureTypeXMLInfo.....................................................
34-12SDO_WFS_PROCESS.PublishFeatureType
.......................................................................
34-13SDO_WFS_PROCESS.RegisterMTableView......................................................................
34-18SDO_WFS_PROCESS.RevokeFeatureTypeFromUser......................................................
34-21SDO_WFS_PROCESS.RevokeMDAccessFromUser
.........................................................
34-22SDO_WFS_PROCESS.UnRegisterMTableView
................................................................
34-23
Part IV Supplementary Information
A Installation, Migration, Compatibility, and UpgradeA.1
Migrating Spatial Data from One Database to
Another.......................................................
A-1A.2 Ensuring That GeoRaster Works Properly After an Installation
or Upgrade................... A-1A.3 Index Maintenance Before and
After an Upgrade (WFS and CSW) ..................................
A-2A.4 Increasing the Size of Ordinate Arrays to Support Very Large
Geometries..................... A-3
B Oracle LocatorB.1 Installing and Deinstalling Locator or
Spatial Manually
..................................................... B-4
C Complex Spatial Queries: ExamplesC.1 Tables Used in the
Examples....................................................................................................
C-1C.2 SDO_WITHIN_DISTANCE Examples
...................................................................................
C-2C.3 SDO_NN Examples
...................................................................................................................
C-3C.4 SDO_AGGR_UNION Example
...............................................................................................
C-5
-
xix
D Loading ESRI Shapefiles into SpatialD.1 Usage of the Shapefile
Converter
............................................................................................
D-1D.2 Examples of the Shapefile Converter
......................................................................................
D-2
Glossary
Index
-
xx
List of Examples11 Inserting Texture Coordinate Definitions
............................................................................
1-2212 Creating Tables for Texture Coordinates, Textures, and
Surfaces ................................... 1-2313 Spatially
Enabling a Table
......................................................................................................
1-2721 Simple Example: Inserting, Indexing, and Querying Spatial
Data...................................... 2-222 SDO_GEOMETRY
Methods...................................................................................................
2-1223 SDO_GEOMETRY Constructors to Create Geometries
..................................................... 2-1424
SDO_TIN Attribute in a
Query..............................................................................................
2-1825 SDO_PC Attribute in a
Query................................................................................................
2-2026 SQL Statement to Insert a Rectangle
.....................................................................................
2-2127 SQL Statement to Insert a Polygon with a Hole
..................................................................
2-2228 SQL Statement to Insert a Compound Line
String..............................................................
2-2429 SQL Statement to Insert a Compound Polygon
..................................................................
2-25210 SQL Statement to Insert a Point-Only Geometry
................................................................
2-26211 Query for Point-Only Geometry Based on a Coordinate Value
....................................... 2-26212 SQL Statement to
Insert an Oriented Point Geometry
....................................................... 2-28213 SQL
Statement to Insert an Oriented Multipoint Geometry
............................................. 2-29214 SQL Statement
to Insert a Geometry with a Type 0 Element
............................................ 2-30215 SQL Statements
to Insert Various Two-Dimensional
Geometries.................................... 2-31216 SQL
Statements to Insert Three-Dimensional Geometries
................................................ 2-35217 Updating
Metadata and Creating Indexes for 3-Dimensional
Geometries..................... 2-43218 Creating and Using a
User-Defined Unit of Measurement
............................................... 2-5131 Using the
ST_GEOMETRY Type for a Spatial
Column.........................................................
3-232 Creating, Indexing, Storing, and Querying ST_GEOMETRY Data
..................................... 3-233 Using the
ST_ANNOTATION_TEXT Constructor
................................................................
3-941 Control File for a Bulk Load of Cola Market Geometries
..................................................... 4-142 Control
File for a Bulk Load of Polygons
................................................................................
4-243 Control File for a Bulk Load of Point-Only
Data....................................................................
4-344 Procedure to Perform a Transactional Insert Operation
....................................................... 4-445
PL/SQL Block Invoking a Procedure to Insert a Geometry
................................................. 4-451 SDO_NN
Query with Partitioned Spatial Index
....................................................................
5-452 Primary Filter with a Temporary Query
Window.................................................................
5-953 Primary Filter with a Transient Instance of the Query Window
......................................... 5-954 Primary Filter with
a Stored Query Window
.........................................................................
5-955 Secondary Filter Using a Temporary Query Window
....................................................... 5-1056
Secondary Filter Using a Stored Query
Window................................................................
5-1061 Using a Geodetic MBR
...............................................................................................................
6-562 Three-Dimensional Datum Transformation
........................................................................
6-1163 Transformation Between Geoidal And Ellipsoidal
Height................................................ 6-1364
Cross-Dimensionality Transformation
.................................................................................
6-1665 Creating a User-Defined Geodetic Coordinate Reference System
................................... 6-5266 Inserting a Row into the
SDO_COORD_SYS Table
............................................................ 6-5367
Creating a User-Defined Projected Coordinate Reference
System................................... 6-5468 Inserting a Row
into the SDO_COORD_OPS Table
........................................................... 6-5569
Inserting a Row into the SDO_COORD_OP_PARAM_VALS
Table................................ 6-55610 Creating a
User-Defined Projected CRS: Extended
Example............................................ 6-57611
Creating a Vertical Coordinate Reference System
..............................................................
6-62612 Creating a Compound Coordinate Reference
System........................................................
6-63613 Creating a Geographic 3D Coordinate Reference System
................................................. 6-64614 Creating
a Transformation Operation
..................................................................................
6-65615 Loading Offset Matrixes
.........................................................................................................
6-66616 Using British Grid Transformation OSTN02/OSGM02 (EPSG
Method 9633) ............... 6-68617 Simplified Example of
Coordinate System
Transformation..............................................
6-72618 Output of SELECT Statements in Coordinate System
Transformation Example .......... 6-7571 Including LRS Measure
Dimension in Spatial Metadata
...................................................... 7-6
-
xxi
72 Simplified Example:
Highway...............................................................................................
7-1773 Simplified Example: Output of SELECT Statements
.......................................................... 7-20101
WSConfig.xml File
.................................................................................................................