1、进入将arcgis安装目录:
C:\Program Files (x86)\ArcGIS\Desktop10.1\DatabaseSupport\Oracle\Windows64\st_shapelib.dll
2、将上述dll 复制到oracle home与bin中:
我的路径:
D:\app\Administrator\product\11.2.0\dbhome_1
D:\app\Administrator\product\11.2.0\dbhome_1\BIN
3、进入sql执行工具,使用sde用户:
使用sql语句,来检查st_shapelib.dll的位置配置
select * from user_libraries;
4、如果步骤3中查询没有记录或记录位置不正确,使用sql语句添加或修改:
eg:create or replace library ST_SHAPELIB as ''
实际语句:create or replace library ST_SHAPELIB as 'D:\app\Administrator\product\11.2.0\dbhome_1\BIN\st_shapelib.dll'
5、使用sql验证是否配置成功:
select sde.st_astext(sde.st_point(103.806709, 30.660408,4326)) from dual