空间数据库课件第六章OracleSpatial幻灯片.ppt

空间数据库课件第六章OracleSpatial幻灯片.ppt

  1. 1、本文档共107页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
SELECT a.gid, b.gid FROM TABLE(SDO_JOIN(PARKS, SHAPE, HIGHWAYS, SHAPE,mask=ANYINTERACT)) c, parks a, highways bWHERE c.rowid1 = a.rowid AND c.rowid2 = b.rowid; 3)Cross-Schema Operator Invocation user A has a spatial table T1 (with index table IDX_TAB1) user B has a spatial table T2 (with index table IDX_TAB2) user C wants to invoke operators on tables in one or both of the other schemas. If user C wants to invoke an operator only on T1, user C must perform the following steps: ① Connect as user A and execute the following statements: GRANT select on T1 to C; GRANT select on idx_tab1 to C; ② Connect as user C and execute a statement such as the following: SELECT a.gid FROM T1 a WHERE sdo_filter(a.geometry, :theGeometry)=TRUE; If user C wants to invoke an operator on both T1 and T2, user C must perform the following steps: ① Connect as user A and execute the following statements: GRANT select on T1 to C; GRANT select on idx_tab1 to C; ② Connect as user B and execute the following statements: GRANT select on T2 to C; GRANT select on idx_tab2 to C; ③ Connect as user C and execute a statement such as the following: SELECT a.gid FROM T1 a, T2 b WHERE b.gid = 5 AND sdo_filter(a.geometry, b.geometry) = TRUE; 2.6 Oracle Spatial空间功能 2.6.1 Spatial Operators Table 6-2-10 Main Spatial Operators Table 6-2-11 Convenience Operators for SDO_RELATE Operations 2.6.2 Spatial Aggregate Functions Many spatial aggregate functions accept an input parameter of type SDOAGGRTYPE. Oracle Spatial defines the object type SDOAGGRTYPE as: spatial aggregate functions are listed at page of 313 CREATE TYPE sdoaggrtype AS OBJECT (geometry SDO_GEOMETRY,tolerance NUMBER); 2.6.3 SDO_GEOM Package (Geometry) Oracle Spatial SDO_GEOM字程序包可以分为以下几类: Relationship (True/False) between two objects: RELATE, WITHIN_DISTANCE Validation:VALIDATE_GEOMETRY_WITH_CONTEXT, VALIDATE_LAYER_WITH_CONTEXT Single-object operations: SDO_ARC_DENSIFY,

文档评论(0)

带头大哥 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档