建立SDE企業級資料庫——在 Oracle 中配置 extproc 以訪問 ST_Geometry
阿新 • • 發佈:2018-12-11
ST_Geometry 形狀庫路徑可能無效,或者未在 Oracle 例項中正確配置 EXTPROC。 [ (Unable to determine current version of ST_SHAPELIB. Please check the ST_Geometry shape library path on the Oracle server, which is set to "c:\progra~2\arcgis\desktop10.5\DatabaseSupport\Oracle\Windows64\st_shapelib.dll". Refer to the ArcGIS help topics for more details. )]
如何設定ST_Geometry,參考官網檔案
下面記錄操作記錄:
1.在arcgis sever安裝伺服器中,在C:\Program Files (x86)\ArcGIS\Desktop10.5\DatabaseSupport\Oracle\Windows64這個目錄下,找到st_shapelib.dll,拷貝出來。
2.st_shapelib.dll檔案拷貝到資料庫服務端(152伺服器) E:\app\aganliang\product\12.1.0\dbhome_1\BIN 目錄下
3.找到EXTPROC.ora檔案:E:\app\aganliang\product\12.1.0\dbhome_1\hs\admin 在這個路徑下。開啟這個檔案,在最後一行修改為:SET EXTPROC_DLLS=ANY
4.SDE使用者通過PLSQL登入oracle,
6.測試是否成功:用SDE使用者登入,執行查詢SQL語句:select st_astext(shape) from CS_CMT_PT t
如果返回:代表配置成功
如果上面的SQL語句出現這個錯誤:
代表配置不成功