Configuration may be used so sde sde sql (ST_Geometry) manipulating spatial data

Use: After this configuration, you can perform spatial queries, additions and deletions to the layer elements with sde spatial database using sql language, etc.

 

PS: also solve invalid ORA-28595Extproc proxy DLL path method

ORA-06512: 在 "SDE.ST_GEOMETRY_SHAPELIB_PKG", line 70

 ORA-06512: 在 "SDE.ST_GEOMETRY_OPERATORS", line 68

 

Note: When arcgis version 10.4 (or more of them may be, Tell me what network specific document), you need to install the vc ++ 2013 64-bit runtime environment, according to official documents esri

 

 

 

SDE find the following files in the installation directory: C: \ Program Files \ ArcGIS \ ArcSDE \ ora11gexe \ bin \ st_shapelib.dll

PS: arcgis 10.3 or later, no sde product installation package (also no sde installation directory), then st_shapelib.dll can be found in the installation directory arcgis desktop or arcgis server (the location of specific files are located on their own search)

 

Copied to the oracle directory

D:\app\Administrator\product\11.2.0\dbhome_1\BIN

 

Login with sde user plsql

 

Sql execution

create or replace library ST_SHAPELIB  as 'D:\app\Administrator\product\11.2.0\dbhome_1\BIN\st_shapelib.dll';

Dll file path where you want to change it, change the file path after the previous step Copy

 

Then perform

alter package sde.st_geometry_shapelib_pkg compile reuse settings; 

 

Login with plsql SDE user can see the following two objects it indicates success

 

 

  

PS: Sometimes After performing the above two sql, the icon has a red X

 

  

Then just recompile on the line

 

 

 


The following supplemental start configuration of linux server:

Case of a particular project, sde (oracle version) server is a linux system, other environment: arcgis 10.7, oracle12c R2

 

Different Linux and win is to beat st_shapelib files in different locations, or other reference version of the method win

 

st_shapelib file location (only 64, do not consider the question of the number of bits) arcmap 10.7 of

libst_shapelib.so equivalent to win st_shapelib.dll version of the file, and then other operations are the same

 

 

 

 

PS: We can still plsql used to configure the server to call a client (with the server not a machine), but still is a local file path libst_shapelib.so service side of the path, because the call libst_shapelib.so, so do not consider why the client with the server in the local path problem

 

Guess you like

Origin www.cnblogs.com/cannel/p/11799734.html