没有合适的资源?快使用搜索试试~ 我知道了~
Oracle Spatial Topology and Network Data Models Developer's Guid
需积分: 5 0 下载量 174 浏览量
2023-06-18
13:12:00
上传
评论
收藏 2.59MB PDF 举报
温馨提示
试读
514页
Oracle Spatial Topology and Network Data Models Developer's Guide 11g Release 2 (11.2)-514
资源推荐
资源详情
资源评论
Oracle® Spatial
Topology and Network Data Models Developer's Guide
11g Release 2 (11.2)
E11831-07
July 2014
Provides usage and reference information about the
Topology Data Model and Network Data Model Graph
features of Oracle Spatial and Graph.
Oracle Spatial Topology and Network Data Models Developer's Guide, 11g Release 2 (11.2)
E11831-07
Copyright © 2003, 2014, Oracle and/or its affiliates. All rights reserved.
Primary Author: Chuck Murray
Contributors: Ning An, Betsy George, Huiling Gong, Siva Ravada, Jack Wang
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 .............................................................................................................................................................. xvii
Audience.................................................................................................................................................... xvii
Documentation Accessibility.................................................................................................................. xvii
Related Documents .................................................................................................................................. xvii
Conventions .............................................................................................................................................. xvii
What's New in the Topology and Network Data Models?.................................................. xix
Release 11.2 Changes ................................................................................................................................ xix
Release 11.1 Changes ................................................................................................................................ xx
Part I Topology Data Model
1 Topology Data Model Overview
1.1 Main Steps in Using Topology Data ........................................................................................ 1-2
1.1.1 Using a Topology Built from Topology Data .................................................................. 1-2
1.1.2 Using a Topology Built from Spatial Geometries ........................................................... 1-3
1.2 Topology Data Model Concepts............................................................................................... 1-3
1.2.1 Tolerance in the Topology Data Model............................................................................ 1-6
1.3 Topology Geometries and Layers............................................................................................. 1-7
1.3.1 Features ................................................................................................................................. 1-7
1.3.2 Collection Layers ................................................................................................................. 1-8
1.4 Topology Geometry Layer Hierarchy................................................................................... 1-10
1.5 Topology Data Model Tables................................................................................................. 1-13
1.5.1 Edge Information Table ................................................................................................... 1-14
1.5.2 Node Information Table .................................................................................................. 1-15
1.5.3 Face Information Table .................................................................................................... 1-16
1.5.4 Relationship Information Table...................................................................................... 1-16
1.5.5 History Information Table............................................................................................... 1-17
1.6 Topology Data Types .............................................................................................................. 1-19
1.6.1 SDO_TOPO_GEOMETRY Type..................................................................................... 1-19
1.6.2 SDO_TOPO_GEOMETRY Constructors ....................................................................... 1-20
1.6.2.1 Constructors for Insert Operations: Specifying Topological Elements ............. 1-21
1.6.2.2 Constructors for Insert Operations: Specifying Lower-Level Features............. 1-22
1.6.2.3 Constructors for Update Operations: Specifying Topological Elements .......... 1-22
1.6.2.4 Constructors for Update Operations: Specifying Lower-Level Features.......... 1-23
iv
1.6.3 GET_GEOMETRY Member Function............................................................................ 1-24
1.6.4 GET_TGL_OBJECTS Member Function........................................................................ 1-25
1.6.5 GET_TOPO_ELEMENTS Member Function................................................................ 1-25
1.6.6 SDO_LIST_TYPE Type..................................................................................................... 1-26
1.6.7 SDO_EDGE_ARRAY and SDO_NUMBER_ARRAY Types....................................... 1-26
1.7 Topology Metadata Views...................................................................................................... 1-26
1.7.1 xxx_SDO_TOPO_INFO Views........................................................................................ 1-26
1.7.2 xxx_SDO_TOPO_METADATA Views.......................................................................... 1-27
1.8 Topology Application Programming Interface ................................................................... 1-28
1.8.1 Topology Operators ......................................................................................................... 1-29
1.8.2 Topology Data Model Java Interface ............................................................................. 1-31
1.9 Exporting and Importing Topology Data............................................................................. 1-32
1.10 Cross-Schema Topology Usage and Editing........................................................................ 1-33
1.10.1 Cross-Schema Topology Usage ...................................................................................... 1-33
1.10.2 Cross-Schema Topology Editing .................................................................................... 1-34
1.11 Function-Based Indexes Not Supported............................................................................... 1-34
1.12 Topology Examples (PL/SQL)............................................................................................... 1-34
1.12.1 Topology Built from Topology Data.............................................................................. 1-35
1.12.2 Topology Built from Spatial Geometries....................................................................... 1-44
1.13 README File for Spatial and Related Features.................................................................. 1-50
2 Editing Topologies
2.1 Approaches for Editing Topology Data .................................................................................. 2-1
2.1.1 TopoMap Objects................................................................................................................. 2-2
2.1.2 Specifying the Editing Approach with the Topology Parameter ................................. 2-2
2.1.3 Using GET_xxx Topology Functions ................................................................................ 2-3
2.1.4 Process for Editing Using Cache Explicitly (PL/SQL API)........................................... 2-3
2.1.5 Process for Editing Using the Java API ............................................................................ 2-5
2.1.6 Error Handling for Topology Editing............................................................................... 2-7
2.1.6.1 Input Parameter Errors................................................................................................ 2-7
2.1.6.2 All Exceptions ............................................................................................................... 2-8
2.2 Performing Operations on Nodes ............................................................................................ 2-8
2.2.1 Adding a Node..................................................................................................................... 2-8
2.2.2 Moving a Node ................................................................................................................. 2-10
2.2.2.1 Additional Examples of Allowed and Disallowed Node Moves....................... 2-12
2.2.3 Removing a Node ............................................................................................................. 2-13
2.2.4 Removing Obsolete Nodes.............................................................................................. 2-14
2.3 Performing Operations on Edges .......................................................................................... 2-15
2.3.1 Adding an Edge ................................................................................................................ 2-15
2.3.2 Moving an Edge................................................................................................................ 2-16
2.3.3 Removing an Edge............................................................................................................ 2-17
2.3.4 Updating an Edge............................................................................................................. 2-18
3 SDO_TOPO Package Subprograms
SDO_TOPO.ADD_TOPO_GEOMETRY_LAYER................................................................... 3-2
SDO_TOPO.CREATE_TOPOLOGY......................................................................................... 3-4
v
SDO_TOPO.DELETE_TOPO_GEOMETRY_LAYER ............................................................ 3-6
SDO_TOPO.DROP_TOPOLOGY ............................................................................................. 3-7
SDO_TOPO.GET_FACE_BOUNDARY................................................................................... 3-8
SDO_TOPO.GET_TOPO_OBJECTS ......................................................................................... 3-9
SDO_TOPO.INITIALIZE_AFTER_IMPORT ....................................................................... 3-11
SDO_TOPO.INITIALIZE_METADATA............................................................................... 3-12
SDO_TOPO.PREPARE_FOR_EXPORT................................................................................ 3-13
SDO_TOPO.RELATE .............................................................................................................. 3-14
4 SDO_TOPO_MAP Package Subprograms
SDO_TOPO_MAP.ADD_EDGE ............................................................................................... 4-2
SDO_TOPO_MAP.ADD_ISOLATED_NODE ........................................................................ 4-4
SDO_TOPO_MAP.ADD_LINEAR_GEOMETRY .................................................................. 4-6
SDO_TOPO_MAP.ADD_LOOP ............................................................................................... 4-8
SDO_TOPO_MAP.ADD_NODE ........................................................................................... 4-10
SDO_TOPO_MAP.ADD_POINT_GEOMETRY.................................................................. 4-12
SDO_TOPO_MAP.ADD_POLYGON_GEOMETRY........................................................... 4-14
SDO_TOPO_MAP.CHANGE_EDGE_COORDS................................................................. 4-16
SDO_TOPO_MAP.CLEAR_TOPO_MAP............................................................................. 4-18
SDO_TOPO_MAP.COMMIT_TOPO_MAP......................................................................... 4-19
SDO_TOPO_MAP.CREATE_EDGE_INDEX....................................................................... 4-20
SDO_TOPO_MAP.CREATE_FACE_INDEX ....................................................................... 4-21
SDO_TOPO_MAP.CREATE_FEATURE .............................................................................. 4-22
SDO_TOPO_MAP.CREATE_TOPO_MAP .......................................................................... 4-26
SDO_TOPO_MAP.DROP_TOPO_MAP............................................................................... 4-28
SDO_TOPO_MAP.GET_CONTAINING_FACE................................................................. 4-29
SDO_TOPO_MAP.GET_EDGE_ADDITIONS..................................................................... 4-31
SDO_TOPO_MAP.GET_EDGE_CHANGES ....................................................................... 4-32
SDO_TOPO_MAP.GET_EDGE_COORDS........................................................................... 4-33
SDO_TOPO_MAP.GET_EDGE_DELETIONS..................................................................... 4-34
SDO_TOPO_MAP.GET_EDGE_NODES.............................................................................. 4-35
SDO_TOPO_MAP.GET_FACE_ADDITIONS..................................................................... 4-36
SDO_TOPO_MAP.GET_FACE_CHANGES........................................................................ 4-37
SDO_TOPO_MAP.GET_FACE_BOUNDARY..................................................................... 4-38
SDO_TOPO_MAP.GET_FACE_DELETIONS ..................................................................... 4-39
SDO_TOPO_MAP.GET_NEAREST_EDGE ......................................................................... 4-40
SDO_TOPO_MAP.GET_NEAREST_EDGE_IN_CACHE.................................................. 4-42
SDO_TOPO_MAP.GET_NEAREST_NODE ........................................................................ 4-44
SDO_TOPO_MAP.GET_NEAREST_NODE_IN_CACHE................................................. 4-46
SDO_TOPO_MAP.GET_NODE_ADDITIONS.................................................................... 4-48
SDO_TOPO_MAP.GET_NODE_CHANGES....................................................................... 4-49
剩余513页未读,继续阅读
资源评论
weixin_40191861_zj
- 粉丝: 62
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功