arcsde93安装好了之后,配置连接sde库失败, 提示st_domain_methods报错

然后发现还原的sde库st_domain_methods编译失败

重新执行st_domain_methods,提示缺少某函数,于是找到这个函数,执行函数(下面是包体,包含了该函数,直接执行包体)

 附上全包:

CREATE OR REPLACE Package st_relation_operators Authid current_user
/***********************************************************************
*
*n  {st_Relation_Operators.sps}  --  st_Geometry relation functions.  
*
*:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
*
*p  purpose:
*     this pl/sql package specification defines relation operators 
*    to support the st_Geometry type.
*e
*:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
*
*x  legalese:
*
*   copyright 1992-2004 esri
*
*   trade secrets: esri proprietary and confidential
*   unpublished material - all rights reserved under the
*   copyright laws of the united states.
*
*   for additional information, contact:
*   environmental systems research institute, inc.
*   attn: contracts dept
*   380 new york street
*   redlands, california, usa 92373
*
*   email: contracts@esri.com
*   
*e
*:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

*
*h  history:
*
*    kevin watt          12/02/04               original coding.
*e
***********************************************************************/
IS
  c_package_release              Constant pls_integer := 1011;

  no_filter                      Constant pls_integer := 0;
  equality_filter                Constant pls_integer := 1;
  disjoint_filter                Constant pls_integer := 2;
  inside_filter                  Constant pls_integer := 3;

  -- st_Spatial_Relations must match isocomn.h st_Spatial_Operators enum. 
    
  st_intersects                  Constant pls_integer := 1;
  st_within                      Constant pls_integer := 2;
  st_overlaps                    Constant pls_integer := 3;
  st_touches                     Constant pls_integer := 4;
  st_contains                    Constant pls_integer := 5;
  st_crosses                     Constant pls_integer := 6;
  st_orderingequals              Constant pls_integer := 7;
  st_equals                      Constant pls_integer := 8;
  st_disjoint                    Constant pls_integer := 9;
  st_distance                    Constant pls_integer := 10;
  st_relate                      Constant pls_integer := 11;
  
  Function st_contains_f(shape1 SDE.st_geometry,shape2 SDE.st_geometry)
    Return number deterministic;
    
  Function st_within_f(shape1 SDE.st_geometry,shape2 SDE.st_geometry)
    Return number deterministic;
    
  Function st_intersects_f(shape1 SDE.st_geometry,shape2 SDE.st_geometry)
    Return number deterministic;
    
  Function st_overlaps_f(shape1 SDE.st_geometry,shape2 SDE.st_geometry)
    Return number deterministic;

  Function st_touches_f(shape1 SDE.st_geometry,shape2 SDE.st_geometry)
    Return number deterministic;
    
  Function st_crosses_f(shape1 SDE.st_geometry,shape2 SDE.st_geometry)
    Return number deterministic;

  Function st_orderingequals_f(shape1 SDE.st_geometry,shape2 SDE.st_geometry)
    Return number deterministic;
    
  Function st_equals_f(shape1 SDE.st_geometry,shape2 SDE.st_geometry)
    Return number deterministic;
    
  Function st_disjoint_f(shape1 SDE.st_geometry,shape2 SDE.st_geometry)
    Return number deterministic;

  Function st_relate_f(shape1 SDE.st_geometry,shape2 SDE.st_geometry,matrix varchar2)
    Return number deterministic;
    
   Pragma Restrict_References (st_relation_operators,wnds,wnps);

End st_relation_operators;
/

## 再编译这个st_domain_methods成功,然后就可以继续配置arcsde了

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值